jackyfkc.github.io

教土豆学计算机

Consumer

You have a queue in Rabbit. You have some clients consuming from that queue. If you don’t set a QoS setting at all (basic.qos), then Rabbit will push all the queue’s messages to the clients as fast as the network and the clients will allow. The consumers will balloon in memory as they buffer all the messages in their own RAM.

RabbitMQ prefetch count

what should you set the QoS prefetch buffer size to?

The goal is to