Search
Lessons (40)
- What Are Design Patterns?
Design patterns are named, reusable solutions to problems that keep coming up in software design. Meet the three …
- Which Pattern Do I Need?
A problem-first guide for picking the right design pattern, telling look-alike patterns apart, and spotting when …
- Domain-Driven Design: Tactical Patterns
… small, immutable, self-validating ⭐ Value objects are the easiest tactical pattern to adopt, and remove a huge class …
- Preparing for Technical Interview Rounds
… learn/linux-devops) - [OOP](/learn/oop), [Design Patterns](/learn/design-patterns), [Clean Code & SOLID](/learn/clean-code) Know …
- Product-Scale Frontend Patterns
Design optimistic workflows, feature flags, offline behavior, multi-tenant presentation and role-aware UI without treating the browser …
- Event-Driven Patterns, Step Functions and Reliable Lambdas
… can all deliver a message more than once . Design for it: make handlers idempotent , so running twice gives …
- DynamoDB Modeling, RDS Scaling and Data Resilience
Design DynamoDB tables around access patterns, then scale and protect relational databases with replicas, proxies and Multi-AZ …
- Event-Driven Architecture
… Broker vs mediator topologies, the four kinds of event patterns, event design, and the real trade-offs. The …
- AWS Databases: Choose the Right One
… You design from the access pattern first: “get order by order ID” or “list a customer’s orders …
- Data in Microservices: Sagas & the Outbox Pattern
… So microservices accept eventual consistency and use sagas. The saga pattern A saga is a series of local …
- Resilience Patterns
… The patterns below stop that.  1. Timeouts: never wait forever …
- Architecture Patterns at Scale
… central services, independently deployed services, event functions and decentralized peers](/img/system-design-l6/architecture-patterns.svg) The …
- AWS Messaging: Queues, Topics and Events
… These patterns solve different needs. Broadcasting to two consumers is not the same as adding two workers to …
- What Is Software Architecture?
… the business logic lives 🔴 High Design How is one part organised? Classes, patterns (Strategy, Repository), module APIs 🟡 …
- Domain-Driven Design: Strategic Design
… DDD has two halves: Strategic design (this lesson) Tactical design (next lesson) --- --- --- Zoom level The whole business and …
- Containers at Scale: ECS Deep Dive and EKS
Deploy ECS safely, scale it properly, compare it with EKS, and apply the production patterns for each. ECS …
- Concurrency, Resilience & Distributed Workflows
… pending and design reads to tolerate replication lag. CQRS and event sourcing are useful specialized patterns, not defaults …
- Kafka for Backend Services
… when to reach for it, designing events, topics and keys, publishing safely with the transactional outbox, idempotent consumers …
- OOP Mistakes and Interview Questions
… principles that turn OOP basics into maintainable designs. - Design Patterns: proven OOP solutions such as Strategy, Observer, Factory …
- Real-Time, Pub/Sub, Webhooks and CDC
… capture](/img/system-design-l6/realtime-events.svg) The five patterns side by side Pattern Best for Key …
- Secrets, Ephemeral Values, and Least Privilege
… Check the exact resource schema and provider release before using this pattern. Terraform cannot compare old and new …
- Finding Service Boundaries with DDD
… For the full picture, see [DDD strategic design](/learn/software-architecture/ddd-strategic-design) and [DDD tactical patterns …
- Backend Design Scenarios
Ten production-style backend questions about caching, data growth, scaling, reliability and system design, with structured answers and …
- Indexes, EXPLAIN & Query Plans
Design indexes from real filter, join and sort patterns, then prove improvements with query plans and production-like …
- Microkernel (Plugin) Architecture
… How VS Code, browsers, Webpack and ESLint are built, how to design a plug-in contract, and the …
- Interfaces vs Abstract Classes
… child-specific gaps" layout is the Template Method design pattern. Side-by-side comparison Interface Abstract class --- --- --- Contains …
- Design a Logging and Monitoring Platform
… A few out of every hundred is enough to spot patterns. Must be kept durably and completely: security …
- React vs Vue vs Angular
… Huge community. - Vue 🪑 = a well-designed starter kit : friendly, gentle learning curve, official router and state library …
- SQL vs NoSQL Databases
… scale UP"] V1[Server] -- V2["Bigger server 💪<br/ more CPU/RAM"] end subgraph Horizontal["NoSQL by design: scale …
- AI Architect Reference: Decisions, Glossary, Resources and Career
… Chip Huyen End-to-end AI system design Throughout Book: Designing Machine Learning Systems , Chip Huyen Production ML …
- Serverless Architecture
… Functions as a Service, event triggers, cold starts, pay-per-use pricing, managed backends, and the patterns and …
- 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 …
- Scaling, Load Balancing & Rate Limiting
… Design for it: Pattern Purpose --- --- Timeouts Never wait forever on a dependency Retries with exponential backoff + jitter Survive …
- Choosing an Architecture
… Requirements, scale and teams change, so design for change : mermaid flowchart LR S1["🚀 Stage 1<br/ simple monolith …
- Composition over Inheritance
… composition over class inheritance." This line from the Design Patterns book (1994) is still one of the most …
- CloudFront: Faster Websites and Safer File Delivery
… For the private-origin pattern here, keep the regular S3 origin. Understand the permission An illustrative bucket-policy …
- AWS Interview Questions: Clear Answers
… Add monitoring before a sale, and design duplicate-safe writes before adding automatic retries. If email is asynchronous …
- Kafka vs RabbitMQ & the Kafka Ecosystem
… the easiest way to implement the outbox pattern or to stream database changes to search indexes and warehouses …
- TypeScript in Practice
… This lesson focuses on the patterns you need to design safe code. Structural typing: shapes, not names TypeScript …
- Caching & Redis
… is fast only when its failure behaviour is designed too. These are the five mistakes to recognize before …