Compare system designs
See how different systems solve similar problems. Read a written comparison, or pick any two designs and explore their diagrams side by side.
Written comparisons
- DiscordSlack
Discord vs Slack: Two Ways to Build Real-Time Chat
Discord and Slack solve the same core problem, delivering a message to everyone in a channel in real time and storing it forever, and both have written in detail about how. Both hold WebSockets open to clients, both use consistent hashing to give each conversation an owner, and both fan messages out from that owner to connected users.
- NetflixUber
Netflix vs Uber: Streaming Bytes vs Real-time State
Netflix and Uber are both global, always-on platforms with hundreds of millions of users, but the data they move could hardly be more different. Netflix moves enormous, predictable files: a catalogue it knows in advance. Uber moves tiny, constantly changing facts: where every driver is right now.
- News FeedNotification Service
News Feed vs Notification Service: Two Kinds of Fan-out
A news feed and a notification service both take one event and deliver it to many people, so interview answers for them often blur together. The difference is where the result ends up: a feed writes into timelines that users pull when they open the app, while a notification service pushes out through Apple, Google, email and SMS providers that you don't control.
- Google SpannerAmazon DynamoDB
Spanner vs DynamoDB: Global SQL or Predictable Key-Value
Google Spanner and Amazon DynamoDB are both sharded databases in which every shard is a replicated consensus group, and both are described in detail by their builders: Spanner in its 2012 OSDI paper and DynamoDB in a 2022 USENIX ATC paper.
- StripeAdyen
Stripe vs Adyen: Two Ways to Never Lose a Payment
Stripe and Adyen both move enormous amounts of money for businesses around the world, and both have written about the engineering behind it. They agree on the fundamentals: every request must be safe to retry, and every movement of money must land in a double-entry ledger that sums to zero.
- WhatsAppChat System
WhatsApp vs Slack/Discord-style Chat: Architecture Compared
Both deliver messages to people in real time over persistent connections, yet they are built on opposite assumptions. WhatsApp treats its servers as a relay for end-to-end encrypted messages that disappear once delivered. Slack- and Discord-style chat treats the server as the permanent home of every conversation.
- YouTubeTwitch
YouTube vs Twitch: On-Demand Video vs Live Streaming
YouTube and Twitch both turn a creator's video into many renditions and stream them to viewers who switch quality as their bandwidth changes. Both have published how the heavy part works: YouTube in a 2021 paper on its custom transcoding chip, Twitch in posts on its ingest network, transcoder and low-latency delivery.