System Design AI

System design library

217 worked designs. 204 are answered at junior, senior and staff level. 38 are free to open.

Create your own

Start here

New to system design interviews? Work through these 8 free problems in order. Each one opens without an account.

  1. 1Design a URL ShortenerThe classic first question: IDs, redirects and a cache in front of a database.Easy
  2. 2Design a Text Sharing Service like PastebinThe same shape with blobs: what goes in object storage, what goes in the database.Easy
  3. 3Cache-Aside (Lazy Loading)The cache nearly every design leans on, and how it goes stale.Medium
  4. 4Design a Distributed Rate LimiterCounting under contention, and where the counter lives.Medium
  5. 5Design a Chat SystemLong-lived connections, fan-out and delivery guarantees.Medium
  6. 6Design a News FeedFan-out on write versus on read, and the hybrid in between.Medium
  7. 7Design a Ticket Booking System like TicketmasterHolding scarce inventory without double-booking.Medium
  8. 8Distributed Systems Foundations: from Consistent Hashing to B-TreesThe theory under all of them: hashing, replication, consensus, storage engines.Medium

All designs 235

Worked designs first, by number

Company tags are community-reported. Counts on cards show how many people reported that design.