Search
Lessons (11)
- Domain-Driven Design: Tactical Patterns
… No more re-validating strings all over the code. Aggregates: the consistency boundary ⭐ An aggregate is a group …
- Finding Service Boundaries with DDD
… references by ID only Aggregate rules of thumb: - Keep aggregates small . - Reference other aggregates by ID , not by …
- SQL Interview Query Drills
… define grouping, compute an aggregate, then filter with a clear tie policy](/img/database-interviews/sql-drills.svg …
- Replication, Partitioning & Sharding
… Prefer colocating related data, asynchronous aggregates and explicit workflows. Do not shard because it sounds scalable; exhaust indexing …
- Kafka vs RabbitMQ & the Kafka Ecosystem
… filtering, mapping, joining streams, windowed aggregations, with exactly-once support. No separate cluster needed; it runs inside your …
- API Gateway, BFF & Service Discovery
… routing, auth, rate limiting, TLS, aggregation. Keep business logic out. - A BFF tailors an API to one client …
- What Is Apache Kafka?
… tracking clicks, page views, searches Log and metrics aggregation logs from 1,000 servers Stream processing real-time …
- CQRS & Event Sourcing
… for queries. mermaid flowchart LR C[Command] -- A["Aggregate<br/ (rebuilt from events)"] -- new events ES[(Event store …
- Choosing an Architecture
… business?"] -- A3["DDD strategic (boundaries)<br/ DDD tactical (aggregates…)"] You pick an answer to each question. For example …
- Data in Microservices: Sagas & the Outbox Pattern
… cus 7', 8997, 'PENDING'); INSERT INTO outbox (id, aggregate id, type, payload, created at) VALUES (gen random uuid …
- Domain-Driven Design: Strategic Design
… language, bounded contexts, context maps Entities, value objects, aggregates, repositories, domain events Answers Where do we draw boundaries …