Microservice Service Boundaries: How to Draw Them Around Operations
Learn to draw microservice service boundaries by grouping subdomains around system operations, keeping aggregates whole and weighing coupling costs.
13 min read
Archive
317 published
Learn to draw microservice service boundaries by grouping subdomains around system operations, keeping aggregates whole and weighing coupling costs.
13 min read
Learn what microservices are, how independent deployment and data ownership work, what they cost to operate, and when a modular monolith is the better choice.
12 min read
Monorepo vs polyrepo compared by coordination cost: code sharing, tooling cost, ownership, deploys, a scoring framework, and how to migrate safely.
12 min read
Learn how monolith vs microservices cost breaks down across infrastructure, operational overhead and team time, and how to find your break-even point.
13 min read
Learn how nx affected and a correctly configured remote cache make CI faster, how to set inputs and outputs, and when caching gives stale or wrong results.
14 min read
Size database connection pools from real database capacity and a global connection budget, tune HikariCP, use PgBouncer, and diagnose connection exhaustion.
14 min read
Learn PostgreSQL range partitioning for time-series tables: pick granularity, verify partition pruning, automate partitions, and drop old data cheaply.
13 min read
Learn how dead tuples cause table bloat, how autovacuum triggers, and how to set per-table thresholds and cost limits for high-churn PostgreSQL tables.
13 min read
Learn how sagas replace distributed transactions, how orchestration and choreography differ, how to design compensating actions, and when to use each.
14 min read
Build a Postgres job queue with FOR UPDATE SKIP LOCKED step by step: schema, dequeue query, worker models, retries, idempotency, vacuum and trade-offs.
14 min read
Learn how to design a modular monolith: drawing module boundaries, enforcing data ownership and dependency rules in CI, testing, and when to extract services.
13 min read
Use env vars as the delivery contract and a versioned source of truth to manage shared configuration, validate at startup, and detect config drift.
18 min read