All Questions
Managing Long Running Tasks medium

Queues like SQS are 'Pull-based' (Workers poll for messages). What is a disadvantage of this vs 'Push-based' (e.g., RabbitMQ, WebSockets)?

  1. A Pulling introduces latency (wait time between polls) and wastes empty cycles when the queue is dry.
  2. B Push is slower.
  3. C Pulling is too fast.
  4. D Push handles backpressure better.

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

Get the app

Related questions