
You are designing services for a large-scale social platform with hundreds of millions of users. Systems must be horizontally scalable, low-latency, and highly available.
Design a leaderboard that supports:
Include APIs, data modeling, read/write paths, handling ties, and scaling across shards.
Design a full-featured messenger application that supports real-time chat, message storage, presence, and scalability. Cover end-to-end flow: client connections, message send/receive, ordering, delivery guarantees, storage, presence, and scale-out.
Login required