Bird
0
0

You want to maximize throughput in RabbitMQ for a workload with many small messages and slow consumers. Which tuning approach is best?

hard📝 Workflow Q8 of 15
RabbitMQ - Performance Tuning
You want to maximize throughput in RabbitMQ for a workload with many small messages and slow consumers. Which tuning approach is best?
AIncrease prefetch count and enable publisher confirms
BSet prefetch count to 1 and disable publisher confirms
CDisable prefetch and use non-durable queues
DUse durable queues with prefetch count 0
Step-by-Step Solution
Solution:
  1. Step 1: Analyze workload characteristics

    Many small messages and slow consumers require careful flow control and reliability.
  2. Step 2: Choose tuning for throughput and reliability

    Increasing prefetch count allows more messages in flight; publisher confirms ensure message delivery.
  3. Final Answer:

    Increase prefetch count and enable publisher confirms -> Option A
  4. Quick Check:

    Prefetch up + confirms = D [OK]
Quick Trick: High prefetch + confirms balance throughput and reliability [OK]
Common Mistakes:
MISTAKES
  • Setting prefetch too low for slow consumers
  • Disabling confirms risking message loss
  • Using prefetch 0 causing overload

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More RabbitMQ Quizzes