Add 10 question walkthroughs and 6 patterns - #9
Merged
Conversation
Questions (the gaps on nearly every interview list): - Design Ticketmaster: seat holds, waiting room, no double-sell - Design a real-time gaming leaderboard: sorted sets, rank at scale - Design a proximity service (Yelp): geohash/quadtree, two-step reads - Design Google Maps: tiles, hierarchical routing, stream-fed ETAs - Design a food delivery app (DoorDash): order state machine, dispatch - Design a hotel reservation system: counted inventory by date - Design Zoom: UDP media, SFU topology, cascaded regional servers - Design a distributed message queue: build the partitioned log itself AI questions (extending the repo's differentiator): - Design an AI code assistant (Copilot): FIM, prefix caching, repo retrieval, the completions/chat workload split - Design an LLM gateway: routing, token-budget quotas, pre-first-token failover, metering off the hot path Patterns (24 -> 30): - Distributed transactions: 2PC vs sagas - Event sourcing and CQRS - Outbox pattern - Backpressure - Gossip protocol - Logical clocks: Lamport and vector clocks Wiring: all files listed in the root README (counts updated), the question and pattern catalogs, and 8 new glossary terms. New content cross-links existing patterns, questions, deep dives, and cheat sheets; deliberate pairings include Ticketmaster vs hotel reservation (identified vs counted inventory) and message queue vs backpressure. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fills the question-catalog gaps and the missing patterns. 16 new files, plus catalog and glossary wiring.
8 classic questions that appear on nearly every interview list but were missing here: Ticketmaster, real-time gaming leaderboard, proximity service (Yelp), Google Maps, food delivery (DoorDash), hotel reservation, Zoom, and a distributed message queue (the build-it-yourself version). Deliberate pairing: Ticketmaster (identified seats) and hotel reservation (counted inventory by date) cross-reference each other as the two halves of the inventory-modeling decision.
2 AI questions extending the repo's strongest differentiator: an AI code assistant (the completions/chat workload split, fill-in-the-middle, prefix caching economics, repo retrieval) and an LLM gateway (token-budget quotas with estimate/reserve/settle, pre-first-token failover, metering off the hot path). AI section grows from 6 to 8 questions.
6 patterns interviewers probe constantly, taking patterns/ from 24 to 30 with no filler: distributed transactions (2PC vs sagas), event sourcing + CQRS, the outbox pattern, backpressure, gossip protocol, and logical clocks (Lamport and vector). Each ends with the interview framing the repo's pattern pages are known for.
Wiring: root README difficulty lists and counts, both catalog tables, and 8 new glossary terms (backpressure, CQRS, event sourcing, gossip, logical clock, outbox, saga, 2PC). Every file carries one Mermaid diagram and 3 to 8 internal links; new patterns are linked from the new questions that use them (food delivery uses the outbox, the message queue uses backpressure).
Checks: repo link checker passes across all 16 files and 4 catalog edits. No em dashes, per CONTRIBUTING. One diagram per file, all GitHub-renderable.