---
title: "Comment by OneLifeVibe on \"System Design Drill Day 15: Real-Time Chat and Live Order Tracking\" | Hashnode"
description: "The 'save first, broadcast second' rule is the clearest takeaway for me — it reframes the socket as a best-effort notification layer rather than the system of r"
url: "https://hashnode.com/posts/system-design-drill-day-15-real-time-chat-and-live-order-tracking/6af182ac97c64d348b044f28/comment/6af314306762d56f5b80a4f4"
---

[Discussion](https://hashnode.com/posts/system-design-drill-day-15-real-time-chat-and-live-order-tracking/6af182ac97c64d348b044f28)

Comment [System Design Drill Day 15: Real-Time Chat and Live Order Tracking](https://hashnode.com/posts/system-design-drill-day-15-real-time-chat-and-live-order-tracking/6af182ac97c64d348b044f28)

[OneLifeVibe](https://hashnode.com/@onelifevibe)

[Nov 10](https://hashnode.com/posts/system-design-drill-day-15-real-time-chat-and-live-order-tracking/6af182ac97c64d348b044f28/comment/6af314306762d56f5b80a4f4)

The 'save first, broadcast second' rule is the clearest takeaway for me — it reframes the socket as a best-effort notification layer rather than the system of record, which is exactly why a message to an offline user still exists. I also liked the unconditional resync on reconnect: fetching everything after the last seq without waiting to detect a gap removes a whole class of 'did I miss something' bugs. Parsa's point about a small Redis cache of recent messages per conversation pairs well with that, since it would keep the reconnect spike off MySQL when many clients come back at once.

[Anish Ansari](https://hashnode.com/@anish78)

[Nov 11](https://hashnode.com/posts/system-design-drill-day-15-real-time-chat-and-live-order-tracking/6af182ac97c64d348b044f28/comment/6af314306762d56f5b80a4f4#reply-6af3ec4b39b3a6f4cab2b81e)

Glad the save first, broadcast second rule clicked for you. Once the socket is just a notification layer, offline delivery stays simple, and pairing the unconditional resync with Parsa's recent messages cache is a nice way to soften that reconnect spike.
