Architecturesync communicationtemporal coupling

Synchronous communication

Definition

In synchronous communication, the caller blocks (or holds a worker or connection) until the callee responds, coupling both in time: the callee must be up and fast at that moment.

In practice

It is the simplest model to reason about: REST and gRPC calls return an answer or an error immediately. It fits reads and operations where the user needs the result now, such as checking a password or showing a price.

Latencies add up along a chain and availabilities multiply: five services at 99.9% give about 99.5%. A slow callee holds its callers' workers until their pools exhaust, spreading a cascading failure upward. Timeouts, circuit breakers and keeping chains short are the defences; work that can finish later belongs behind a queue.

Example

Checkout calls pricing, inventory and payment in sequence at 40, 60 and 300 ms; checkout's own latency is over 400 ms, and if payment stalls for 30 seconds, checkout's 200 threads fill in seconds.