Search
Lessons (40)
- System Design Interview Framework
… clarify requirements, estimate scale, draw the core path, then deep dive into risks and recovery](/img/system-design …
- Design System Operations
… Operating a design system means keeping that composition reliable as more teams use it: clear APIs, accessible behavior …
- The L6 System-Design Thinking Loop
… invariant first, then scale, failure, recovery and blast radius](/img/system-design-l6/design-loop.svg) Five questions …
- Design a Reliable Notification System
… preferences feed priority queues, channel providers and idempotent delivery tracking](/img/system-design-l6/notifications.svg) Create an …
- What Is Software Architecture?
… Whatever that is." (Ralph Johnson) 📘 "Architecture represents the significant design decisions that shape a system, where significant is …
- Design an E-Commerce Checkout
… catalog/search are read paths while inventory, payment and order transitions are owned and idempotent](/img/system-design …
- Domain-Driven Design: Strategic Design
… halves: Strategic design (this lesson) Tactical design (next lesson) --- --- --- Zoom level The whole business and system Code inside …
- Atomic Design & Component Libraries
… the same button behavior, spacing, accessibility, and visual language appear wherever users meet a button. 💡 A design system …
- Design a Social Media Feed
… on read behind a cached timeline API](/img/system-design-l6/social-feed.svg) Posts are durable objects …
- Design a URL Shortener
… durable mappings, cache-backed redirects and asynchronous analytics](/img/system-design-l6/url-shortener.svg) Generate a Base62 …
- Design a Logging and Monitoring Platform
… agents batch into an ingestion layer, durable streams feed hot search, metrics and cold archival](/img/system-design …
- Design a File Storage Service
… multipart uploads go to object storage; the API owns metadata, sharing and versioned changes](/img/system-design-l6 …
- Design a Polite Web Crawler
… a URL frontier schedules polite fetches while deduplication and storage process discovered links](/img/system-design-l6/web …
- Putting AI Systems into Production
Design dependable model integrations with fallbacks, observability, versioning, cost controls, and human review. The big idea A production …
- DBMS Foundations, Keys & Normalization
Detailed interview answers for DBMS advantages, normalization, keys, abstraction and conceptual design. Covers PDF questions 1-5, 12 …
- Design a Ride-Sharing Service
… a driver, and live updates flow separately](/img/system-design-l6/ride-sharing.svg) A driver must not …
- Design a Chat Application
… fan-out, presence and offline push paths](/img/system-design-l6/chat.svg) Persist a message before acknowledging …
- Capacity, Availability, Latency and CAP
… a design chooses latency targets, availability targets and a partition-time consistency policy](/img/system-design-l6/capacity …
- 500 Users Upload Documents at Once: Design the Background Job Pipeline
… Load beyond capacity must wait or be refused in a controlled way instead of taking the whole system …
- The Hot SKU Alert Problem
… That is the difference between naming familiar infrastructure and designing a system that still behaves correctly when one …
- Resilience, Disaster Recovery and Multi-Region Design
Define RTO and RPO, choose a DR strategy, and design for failure across AZs and regions. Start with …
- Microkernel (Plugin) Architecture
… How VS Code, browsers, Webpack and ESLint are built, how to design a plug-in contract, and the …
- Event-Driven Architecture
Build systems where components react to events instead of calling each other. Broker vs mediator topologies, the four …
- Backend Design Scenarios
Ten production-style backend questions about caching, data growth, scaling, reliability and system design, with structured answers and …
- Which Pattern Do I Need?
… have. Patterns at system scale The same ideas reappear when you design whole systems, which you'll meet …
- Caching, Consistent Hashing and Sharding
… stable placement, and shards for database scale](/img/system-design-l6/data-distribution.svg) Tool Solves Risk --- --- --- Cache …
- Monolith vs Microservices
… service makes everything slow". Conway's Law 📘 "Organisations design systems that mirror their own communication structure." (Melvin Conway …
- Choosing an Architecture
… route traffic piece by piece to the new system Replace legacy systems without a big-bang rewrite mermaid …
- Releases, Observability and Production Safety
… and a rollback path limits blast radius](/img/system-design-l6/release-operations.svg) Tool Purpose --- --- Rolling rollout …
- Database Internals, Replication and Scaling
… writes become durable log records, replicas serve compatible reads, and pools protect scarce connections](/img/system-design-l6 …
- CI/CD and Reviewed Production Changes
… A saved plan also is not a guarantee that external systems have stayed unchanged during a long approval …
- Timeouts, Retries & Backpressure
… deadline budgets, limited concurrency, a queue and explicit overload shedding](/img/system-design-l6/backpressure.svg) One deadline …
- Architecture Patterns at Scale
… central services, independently deployed services, event functions and decentralized peers](/img/system-design-l6/architecture-patterns.svg) Style …
- Data Structures for Scale
… spatial indexes locate nearby items; probabilistic sketches answer large-set questions cheaply](/img/system-design-l6/scale-data …
- AWS Messaging: Queues, Topics and Events
… Still design safe retries. An EventBridge event json { "source": "academy.shop", "detail-type": "OrderPlaced", "detail": { "order id": "1001 …
- Cost Optimization and the Well-Architected Framework
… Do it at design time and again before major launches. Trade-offs to articulate in interviews - Cost versus …
- Batch vs Stream and Data Modeling
… data modeling controls read and write cost](/img/system-design-l6/batch-stream.svg) Choice Use when Cost …
- Big Data: ETL, Warehouses and Streaming
… raw events land durably, ETL/stream processing creates curated lake and warehouse datasets](/img/system-design-l6/big …
- C4 Architecture Diagrams: Context, Container, Component and Code
… C4 system-context diagram What to include Include only: 1. People who use the system. 2. One box …
- Time, Consistency and Distributed Transactions
… clocks order observations, fencing protects ownership, and sagas compensate cross-service work](/img/system-design-l6/time-transactions …