A synchronous API must survive a slow downstream service without waiting indefinitely or consuming every worker. Which approach best fits?

Published
  1. Use a durable event identifier and idempotent consumer logic.
  2. Decouple producers and consumers using Pub/Sub.
  3. Apply bounded timeouts and a circuit breaker where appropriate.
  4. Use an idempotency key and persist the operation result atomically.

Comments — 0