All articles
In-depth articles on backend, data, system architecture and software development.
All articles
In-depth articles on backend, data, system architecture and software development.
Topic
How services are split, how they talk and how their data stays consistent, with the trade-offs behind each choice.
6 articles
A timed-out request may have succeeded, failed or never arrived. How a receipt that commits with the order, plus If-Match versions, makes every retry safe, and why you need both.
A URL ending in /orders/1042 tells strangers more than you meant. Why every addressable row gets a bigint for joins and a UUIDv7 for the outside, and what that second id really costs.
Thirteen services share one Postgres cluster, yet none can read another's tables. What that isolation buys, what a shared cluster quietly takes back, and how a saga with planned compensations replaces the JOIN.
The gateway gave up after a minute; the gRPC call underneath had no deadline and kept working for a client that was gone. Three ordered questions pick REST, gRPC or Kafka, and each transport's failure mode tells you what to guard.
One commit can change a gRPC contract and every caller, but the deploys still land one at a time. Here is how thirteen NestJS services share one Nx workspace and still boot, ship and evolve alone.
The outbox table is the easy part. Lost and duplicated events come from the relay and the consumer: who claims a row, what happens when a sender stalls, and how an inbox spots the same event twice.
You have seen all 6 articles.