How distributed parts talk shapes coupling and resilience: sync vs async in time, orchestration vs choreography for coordination, sagas for cross-service transactions, all governed by contracts.
Use synchronous calls only when you truly need the answer now; prefer async to decouple availability, accepting eventual consistency. Reach for a saga when a business transaction spans services and ACID is impossible, and decide orchestration vs choreography by weighing visibility against coupling. Version contracts and test them so producer and consumer can evolve safely.
How distributed parts talk shapes coupling and resilience: sync vs async in time, orchestration vs choreography for coordination, sagas for cross-service transactions, all governed by contracts.
Use synchronous calls only when you truly need the answer now; prefer async to decouple availability, accepting eventual consistency. Reach for a saga when a business transaction spans services and ACID is impossible, and decide orchestration vs choreography by weighing visibility against coupling. Version contracts and test them so producer and consumer can evolve safely.