Whenever you're ready, walk me through how you'd approach this.
Walk me through the process of designing a real-time messaging platform like Slack. How do you handle message persistence and low-latency delivery?
Clarify the messaging model, delivery guarantees, ordering expectations, client connection strategy, and offline behavior. Explain the APIs, data model, persistence path, real-time fanout, scaling approach, and recovery behavior for disconnected clients or failed components.