Posts tagged “microservices”

  1. How do you keep two systems consistent without distributed transactions?

    An order in one database, its payment in another, and a process that can die between them. Dual writes, two-phase commit, sagas and the outbox, each run 1,000 times with crashes injected: what goes wrong, what recovers, and what two-phase commit's in-doubt transactions block.

    · 9 min read · Databases

  2. Monolith vs microservices vs cell-based architecture: which one, when?

    Start with a modular monolith, split out only the parts that scale or fail differently, and reach for cells when one customer's bad day must not become everyone's. What each architecture fixes, what it costs, and the signals that say it's time to change.

    · 8 min read · System Design