Checkpoint: capacity sizing

Checkpoint: capacity sizing

animation
amqp
protocols
messaging
TipBroker Bex, Messaging and broker domain expertCheckpoint: capacity sizing

You now know:

  • A 10-second backlog at 500 msg/sec creates 5,000 queued messages before metadata overhead.
  • A 10 ms processing time gives one consumer about 100 msg/sec, so consumer count follows the target publish rate.
  • Prefetch of about 100–300 typically gives the best throughput (it hides delivery latency), but a large prefetch reserves work on slow consumers and delays redistribution after failure.

Back to the chapter