Search
Lessons (40)
- Caching, Consistent Hashing and Sharding
… Spread keys across cache machines with consistent hashing Consistent hashing decides which cache machine holds which key, and …
- Time, Consistency and Distributed Transactions
… so your insert moves to position 8"). Choose consistency per fact Fact Can it be stale or merged …
- Atomic Design & Component Libraries
Build consistent, reusable interfaces by composing small UI primitives into components, layouts and real pages—without forcing every …
- Event-Driven Architecture
… Easy to follow in code ❌ Spread across services Consistency Immediate Eventual Anatomy Part Role Examples --- --- --- Event producer Detects …
- DynamoDB Modeling, RDS Scaling and Data Resilience
… a different PK/SK, eventually consistent, its own throughput. Use for "orders by status". - LSI : same PK, different …
- Transactions, Indexes & Concurrency
… Atomicity is all-or-nothing; consistency preserves constraints; isolation defines concurrent visibility; durability survives failure. Never wait for …
- SQL vs NoSQL Databases
… Very organised, very consistent. - NoSQL is like a filing cabinet of folders : each folder (document) holds everything about …
- Finding Service Boundaries with DDD
… consistency boundaries An aggregate is a group of objects that must stay consistent together , changed in one transaction …
- CQRS & Event Sourcing
… eventual consistency The read model updates a moment after the write. A user might save a change and …
- Resilience, Disaster Recovery and Multi-Region Design
… DynamoDB supports eventual and strong multi-Region consistency modes with different characteristics; see [global-table consistency](https://docs …
- Domain-Driven Design: Tactical Patterns
… the consistency boundary ⭐ An aggregate is a group of entities and value objects that must stay consistent together …
- ACID, Transactions & Locks
… Keep transactions short, access tables in a consistent order, avoid network calls inside them, and monitor lock-wait …
- Capacity, Availability, Latency and CAP
… a design chooses latency targets, availability targets and a partition-time consistency policy](/img/system-design-l6/capacity …
- Scalable Frontend Architecture
… makes authentication, tracing, error handling and schema changes consistent. Keep browser secrets out of this layer; use server …
- Choosing an Architecture
… reactions to the same facts, integration, buffering Eventual consistency, debugging Microkernel Small core + plug-ins Extensible products, per …
- Concurrency, Resilience & Distributed Workflows
… Keep transactions short, never call an external service inside one, and lock tables/rows in a consistent order …
- Cross-Service Data: How to Join Without a Database JOIN
… This is eventual consistency : a profile update commits in User Service first, and the Order Service projection catches …
- Data in Microservices: Sagas & the Outbox Pattern
Each service owns its database, so how do you keep data consistent across services without a shared transaction …
- Meaningful Names
… Just be consistent, and write it down for the team. Rule 5: Make names searchable and pronounceable js …
- AWS Databases: Choose the Right One
… Explain which operations need immediate consistency and which tolerate lag. Then define how a backup will be restored …
- Service Communication: Sync vs Async
… can be added without touching the publisher. ❌ Eventual consistency (data is not updated everywhere instantly), harder debugging, and …
- Replication, Partitioning & Sharding
Scale reads with replicas, split data safely with partitions and shards, and plan for consistency, hot keys and …
- What Is Software Architecture?
… consistency, operating cost Performance (caching) Freshness of data, complexity Flexibility (many abstraction layers) Readability, speed of development Consistency …
- REST API Design
… User not found } Checklist - [ ] Plural nouns, no verbs in paths - [ ] Correct methods and status codes - [ ] One consistent error …
- Prompting and Structured Outputs
… It can improve consistency, but it cannot guarantee correctness or replace application-side validation. A dependable prompt shape …
- Your First Terraform Project
… backend. fmt formats the source. validate checks configuration consistency; it does not prove credentials work or that an …
- Testing, Preconditions, and Policy Checks
… questions Check Question --- --- terraform fmt -check Is formatting consistent? terraform validate Is the configuration internally valid? Variable validation …
- Data Preparation and Model Training
… Useful feature work often means making values consistent and meaningful: normalize units, encode categories, handle missingness explicitly, or …
- Domain-Driven Design: Strategic Design
… Bounded contexts ⭐ A bounded context is an explicit boundary inside which one model and one language apply consistently …
- Machine Learning Fundamentals
… input fields are available at prediction time, measured consistently, and representative of future deliveries. Key takeaways - A model …
- Scaling, Load Balancing & Rate Limiting
… active requests Requests vary in duration IP hash / consistent hashing Same client → same server Need stickiness or cache …
- The L6 System-Design Thinking Loop
… playing" is much stronger than "eventual consistency is fine". ( Eventual consistency means copies of data may disagree for …
- YAGNI: You Aren't Gonna Need It
… build it (simply). - DRY keeps what you built consistent (one source of truth). When looking ahead IS fine …
- Python and Math Foundations with Runnable Examples
… names, units, and an order that must remain consistent. - Fit preprocessing on training examples and reuse it at …
- Getting Interview Calls from LinkedIn
… like a team member. 💡 Follow these eight points consistently for a few weeks and LinkedIn becomes a steady …
- What Is Object-Oriented Programming?
… use classes when you have data plus rules that must stay consistent . Use plain functions when you're …
- Brokers, Replication & Durability
… better than silently risking data loss)"] 💡 Kafka chooses consistency over availability here: with too few in-sync copies …
- Monolith vs Microservices
… calls Transactions ✅ One ACID database transaction ❌ Sagas, eventual consistency Testing end to end ✅ Easy ❌ Hard Ops cost ✅ Low …
- Month 6: Reliability, Security, Fine-Tuning and Production (Weeks 21-24)
… Structured outputs Use APIs and systems Tool calling Consistent style or tone Prompting, possibly fine-tuning Classify 1 …
- TypeScript Essentials
… public APIs, type for unions and everything else. Consistency matters more than the choice. Union types and narrowing …