## Monolith vs Microservices Microservices decompose a large system into independently deployable domain services communicating over HTTP REST, gRPC, or event queues like Kafka. ## The Saga Pattern for Distributed Transactions Instead of two-phase commit locks across multiple microservice databases, use the Saga pattern with local transactions and compensating rollbacks.