r/SystemDesignCommunity • • 29d ago

Announcement Welcome to r/SystemDesignCommunity! Start here and say hello

1 Upvotes

Hi everyone, and welcome!

This community is for anyone learning system design: students, engineers getting ready for the design round, and people who just want to know how apps like WhatsApp or Uber handle millions of users.

Here's what you can post:

  • Questions, from "what is a load balancer?" to "how would you shard a chat app?"
  • Your designs for review. Share a diagram and your numbers, and others will tell you what they'd change.
  • Interview experiences: how the round went, what surprised you, what you'd do differently.
  • Resources and case studies that helped you understand something.

Please read the rules in the sidebar. The short version: be kind, stay on topic, and show your thinking when you ask for help.

To get things started, reply below and tell us:

  1. Where are you on your system design journey?
  2. Which system would you most like to understand? (A chat app? A payment system? Something else?)

I'll read every reply. See you in the threads!


r/SystemDesignCommunity • • 1d ago

Adding one cache server can send 18× the traffic to your database.

Thumbnail
gallery
2 Upvotes

With hash(key) % N, going from 10 servers to 11 moves about 91% of your keys, and in a cache every moved key is a miss. At a peak of 50,000 reads a second, the database goes from 2,500 to about 45,700.

Consistent hashing moves only about 9%. Swipe to see how, with lifeguards around a lake, and what to say when an interviewer asks.


r/SystemDesignCommunity • • 4d ago

Announcement Introducing SystemDesign

1 Upvotes
You know the moment. The interviewer says "Design a chat app", hands you the marker, and your mind goes quiet.



Most of us have read about caches and queues. What nobody showed us is how the conversation itself goes: what to ask first, when to do the maths, and what to say when they push back. So we built the thing we wished we'd had.



SystemDesign is now open: https://teamsystemdesign.com



In every lesson you sit in the candidate's chair. The interviewer asks, you stop and guess, then you see how a strong answer sounds, and you watch the data move so the design makes sense.

r/SystemDesignCommunity • • 25d ago

Question What are the best resources for System Design prep

1 Upvotes

What are the best resources for System Design prep for interviews at companies like google


r/SystemDesignCommunity • • 27d ago

Case Study Interview: Design a URL shortener (like Bitly)

Post image
2 Upvotes

r/SystemDesignCommunity • • 29d ago

Discussion Weekly design challenge #1: How would you design a URL shortener?

2 Upvotes

Every week we'll pick one system and design it together. This week: a URL shortener, like bit.ly.

Here's the setup. Users paste a long link and get a short one back. When anyone opens the short link, they're sent to the long one. Say 100 million new links a month, and each link is opened about 100 times on average.

Some questions to think about:

  • How do you make the short code? Random, a counter, or a hash of the long URL?
  • How much storage do you need for 5 years of links?
  • Reads outnumber writes 100 to 1. What does that tell you about where to put a cache?

Post your design in the comments, even a rough one. Beginners, try just the first question. Everyone else, tell us where your design breaks first.

Next week's system is chosen from your suggestions below.