All Questions
Managing Long Running Tasks hard

If your worker pool is overwhelmed and the queue is growing by 10k messages/second, what is the best 'Backpressure' strategy?

  1. A Crash the producer.
  2. B Reject new tasks at the Producer level (HTTP 429 Too Many Requests) until the specific queue size drops below a threshold.
  3. C Increase the timeout.
  4. D Use a bigger database.

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

Get the app

Related questions