Q5 · How do you choose between synchronous and asynchronous communication?

Back to 24 Architecture Questions.

The question is not “which is faster”. The axis it turns on: what the caller can do while it waits, and who owns the failure when nobody is waiting. Sync couples the outcome to a present owner. Async frees the caller and simultaneously creates a failure that arrives when its owner has already left.

Who owns the failure In synchronous communication the caller blocks and the failure returns to a waiting caller. In asynchronous communication the caller returns immediately, work sits in a queue, and failures land in retry policy and a dead-letter queue (DLQ) because no one is waiting. FIGURE 5 WHO OWNS THE FAILURE SYNC Caller blocked, waiting Dependency must answer now failure returns to the caller the failure is delivered to someone who is still there to receive it ASYNC Caller returns immediately Queue holds the work Consumer processes later Retry / DLQ dead-letter queue no one is waiting: retry, backoff, and the DLQ own the failure, by policy

What the answer should contain

The caller’s time is the first question. If the caller can do nothing useful until the answer arrives (an authorization check, the stock level at checkout), the wait is inherent: sync. If the caller can proceed without it (receipt generation, analytics events, email), the wait is artificial: async. Choosing per interaction, not per system, is the core skill; most services legitimately use both.

Sync couples failure to a present owner. The caller is standing there when the error arrives, so handling is immediate and explicit: retry, compensate, show the user. The price is paid in blocked capacity, in timeouts, and in load coupling: the dependency’s slowness becomes your slowness, because your workers wait on it.

Async decouples time and failure at once. The queue absorbs both load and waiting. The price is that when the work fails, nobody is waiting: ownership must be assigned in advance by policy. Retries with a cap, backoff, a dead-letter queue, an alarm on queue depth. “Fire and forget” is not async design; it is failure denial.

Consistency shifts with the choice. Sync preserves a shared view of this moment (“yes, reserved”). Async accepts staleness and convergence. This is a business call: whether “reserved, probably” is something the product can sell.

Async moves the hard problems to the consumer. At-least-once delivery brings duplicates and ordering: consumers become idempotent, ordering becomes a design statement (a FIFO per key, a partitioned stream), not an accident.

Ideas worth mentioning out loud

Follow-ups to expect

Red flags in an answer

Sources