A collection of system design documents for interview preparation. Each topic is organized in its own directory with comprehensive documentation, diagrams, and quick revision notes.
| Topic | Difficulty | Key Concepts | Quick Revision |
|---|---|---|---|
| Payment System | Hard | Idempotency, Event Sourcing, CDC, Financial Integrity | β‘ Cheatsheet |
| Rate Limiter | Medium-Hard | Token Bucket, Redis Sharding, Lua Scripts, Fail-Closed | β‘ Cheatsheet |
| Ad Click Aggregator | Hard | Stream Processing, Kafka, Flink, Reconciliation, Hot Shards | β‘ Cheatsheet |
| Web Crawler | Hard | Multi-stage Pipeline, robots.txt, DNS Caching, Crawler Traps | β‘ Cheatsheet |
| Stock Broker | Hard | Redis Pub/Sub, SSE, Order Consistency, Cleanup Jobs | β‘ Cheatsheet |
hld/
βββ README.md # This index file
βββ payment-system/
β βββ README.md # Full detailed design
β βββ CHEATSHEET.md # 5-min quick revision
βββ rate-limiter/
β βββ README.md
β βββ CHEATSHEET.md
βββ ad-click-aggregator/
β βββ README.md
β βββ CHEATSHEET.md
βββ web-crawler/
β βββ README.md
β βββ CHEATSHEET.md
βββ stock-broker/
β βββ README.md
β βββ CHEATSHEET.md
βββ [future-topic]/
βββ README.md
βββ CHEATSHEET.md
- Full Study: Read the comprehensive
README.mdfor each topic - Quick Revision: Use
CHEATSHEET.mdfor 5-minute pre-interview refresh - Diagrams: Embedded as Mermaid (viewable on GitHub)
- Good vs Bad: Each cheatsheet shows recommended vs anti-patterns
Each document includes expectations for:
- Mid-level: Core functionality, basic security awareness
- Senior: Drive conversation, identify edge cases, propose robust solutions
- Staff+: Deep expertise, product thinking, handle complex trade-offs