Master System Design and AI Engineering. Watch systems work, then break them.
Apps are built from parts such as servers, databases and caches. Many now call an AI model as well. Learn how each part works and how they fit together. The simulations run in your browser, with nothing to install.
Free · 24 live simulations · no sign-up to start
Why SystemDesignOS?
System design is planning how the parts of a big app fit together. An operating system runs programs. SystemDesignOS runs systems, from caches to AI features, as small working models you can watch and break.
Why the name →- Users — 6 requests a second — healthy
- Load balancer — spreads the load — healthy
- App servers — 3 copies — healthy
- Cache — on — healthy
- Database — healthy — healthy
- AI gateway — no limit — healthy
- Vector database — search by meaning — healthy
- Model provider — healthy — healthy — 3 of 8 calls
Web requests use the cache and the database. AI requests use the gateway, a vector search and the model. Break either side and watch the other.
- Web p95
- 66 ms
- AI p95
- 1.2 s
- Errors
- 0
- Throttled
- 0
Counts are in the last 8 seconds of simulated time. p95 is the time that 95 of every 100 requests beat. It counts the work at each part, not the travel between them.
- 47 concepts
- 37 hands-on labs
- 23 case studies
- 25 interview problems
Two engineering skills. One place to learn them.
An AI feature is a distributed system with one slow, costly part in the middle: the model. That part is sometimes wrong, too. You need both skills to build one well, so they are taught side by side.
System Design
AI systems design
- RAG at scaleFind the right text among millions of documents, then answer from it.
- Semantic searchSearch by meaning across a whole company, with fresh results.
- Model servingGPUs, batches and queues are a capacity problem.
- Caching AI answersExact, prefix and meaning-based caches that cut cost and delay.
- Limits on model callsToken budgets, spending caps and what to do past them.
- Reliable AI featuresTimeouts and fallbacks for a part that can be slow, down or wrong.
One roadmap. Two lanes. Every stage connects them.
Tell us where you are starting, and we number your first six steps. You need no background.
Pick a starting point above.Not sure? Choose "New to system design". You can change it at any time.
The full learning path, concept by conceptThe AI engineering track, module by module
Preparing for an interview? Choose your interview level to see which concepts matter most at it.
New to system design? for a short guide and narration in the labs.
Watching is not learning. So every lesson checks.
Each concept comes in three layers: the idea first, then how it works, then where it breaks. After that, you show what you know before you see the answer.
AI Engineering · Embeddings · Intuition
An embedding turns text into a list of numbers. Texts with a similar meaning get numbers that sit close together. So you can search by meaning, not only by matching words.
On the page, this layer is the part called “In plain words”. Open Embeddings
Labs for both, and for where they meet
- 37Labs in all. Every one is hands-on, and runs in your browser.
- 24Live simulations. A working model of a real system. Change a setting, break it, and watch the numbers move.
- 13Guided and interactive labs. Step through how something works, or move the numbers yourself.
- Where they meetServing a language modelLive simulationRequests fill a GPU batch and its memory; watch batching, long prompts and batch size decide how fast each user gets an answer.Break it: Fill the memory with long prompts
- Where they meetSemantic cacheTool in a lessonReuse an answer for a question that means the same. Move the similarity threshold and count the wrong answers it serves.Try: Lower the similarity threshold
- Where they meetFallback chainTool in a lessonWhen the large model fails, the request moves to a small model, then to a cached answer. See which one answers, and how long it took.Try: Take the large model down
- System DesignLoad balancerLive simulationRound robin, weighted, least connections and IP hash — plus slow servers, crashes and health checks.Break it: Crash a server while traffic flows
- System DesignCachingLive simulationCache-aside, write-through and write-behind; LRU/LFU/FIFO; TTLs, stale reads, stampedes and cold starts.Break it: Cause a stampede on a hot key
- System DesignKafka: partitions, replication & deliveryLive simulationKeys and ordering, consumer groups and lag, leader failover and acks, producer and consumer duplicates, batching, retention and replay.Break it: Crash the leader with acks=1
- System DesignCircuit breakerLive simulationBreak a dependency and watch the breaker move through closed, open and half-open while protecting both services.Break it: Make service B fail
- System DesignRate limitingLive simulationFive algorithms under one policy: token bucket, leaky bucket, fixed window and two sliding windows.Break it: Send a burst at the edge of a fixed window
- AI EngineeringToken splitterTool in a lessonType any sentence and see the pieces a model reads, how many it counts and what they cost.Try: Type a long, rare word
- AI EngineeringMeaning mapTool in a lessonSupport tickets placed on a map by meaning. Move a question across it and see the three closest tickets.Try: Move the question pin
- AI EngineeringHybrid searchTool in a lessonOne question, three lists: word search, meaning search and the two merged. See which one finds the right ticket.Try: Pick a question and compare the lists
Rehearse the interview. Review yourself on what is graded.
25 problems across classic and AI system design. A timed 45-minute mock interview. Then a review of your own answer beside a strong one and a weak one. In the Architecture Studio, the platform runs your own design and checks it against measured goals.
- Requirements and scope
- EstimatesMissing: no token count or cost for one request
- Core design
- Deep diveMissing: did not size the embedding work for a bulk load
- Failures and trade-offsMissing: no fallback for when the model provider is down
The biggest gap here is failures and trade-offs. A good next lesson is Fallbacks, timeouts and guardrails. You rate each part yourself: the platform does not grade you.
Reference
- Component catalogueReal tools such as Kafka and Redis, and how each fails
- Trade-offsSQL vs NoSQL, Kafka vs queues, REST vs gRPC…
- Concept mapHow the topics connect
- WhiteboardSketch and export your own designs
- Case studiesSmall demos modelled on well-known kinds of systems
- GlossaryEvery term in one or two short sentences