Quick Answer
Database consistency across services: each service owns its data. Use events to propagate changes (transactional outbox ensures event is published atomically with DB write). Accept eventual consistency - services catch up asynchronously. For operations requiring strong consistency across services, use the Saga pattern with compensating transactions instead of distributed transactions.
Answer
Distributed systems rely on eventual consistency. Patterns: Saga, compensating transactions, CDC. Eliminates the need for global locks.
S
SugharaIQ Editorial Team
Verified Answer
This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.