All Questions
Managing Long Running Tasks medium

What is the primary benefit of 'Decoupling' the Producer from the Consumer using a Message Queue like SQS or RabbitMQ?

  1. A It makes the code simpler.
  2. B It ensures FIFO ordering.
  3. C It reduces latency.
  4. D Independent Scaling and Fault Tolerance. If the Worker service crashes or is overwhelmed (Consumer), the Producer can keep accepting user requests and queuing them up without failure.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions