Search
Lessons (31)
- Caching, Consistent Hashing and Sharding
Move reads close to users, distribute data safely, and understand cache and database consistency costs. Three different tools …
- Time, Consistency and Distributed Transactions
Reason about clocks, ordering, split brain, locks, CRDTs and transactions without promising impossible global certainty. , harder debugging, 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 …
- Scaling, Load Balancing & Rate Limiting
… active requests Requests vary in duration IP hash / consistent hashing Same client → same server Need stickiness or cache …
- Domain-Driven Design: Strategic Design
… Bounded contexts ⭐ A bounded context is an explicit boundary inside which one model and one language apply consistently …
- 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 …
- 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 …
- TypeScript Essentials
… public APIs, type for unions and everything else. Consistency matters more than the choice. Union types and narrowing …
- Topics, Partitions & Offsets
… bootstrap-server localhost:9092 Naming tips: use a consistent scheme such as <domain .<entity .<event : shop.orders.placed …
- Database Indexing & Transactions
… do this for you). - Lock rows in a consistent order to avoid deadlocks. - Transactions don't span services …