On Wed, 2012-07-25 at 08:08 -0700, ParkiratBagga wrote: > Hi > > A peculiar thing that I noticed, is the consumer is fast when the queue is > less than 50% full, but when its more that 50% full or the build up happens, > the consumer becomes slow.(around x/8 - x/10 slow). > > Why is this behavior of the consumer happening? Is the same reason the rule > of thumb is 2x the size inside the queue.
Flow-to-disk is the most likely cause. When the messages in your queue reach the threshold to trigger flow-to-disk, a noticeable slow-down occurs. I don't recommend flow-to-disk for any performance-sensitive application. In fact, I don't recommend it for any but a few special cases where it can be of benefit; for most normal use-cases, flow-to-disk is of little to no benefit for saving memory, and you have a huge performance bottleneck. > > I am using flow-to-disk and using persistent messages. > > Regards, > Parkirat. > > > > -- > View this message in context: > http://qpid.2158936.n2.nabble.com/Qpid-Consumer-becomes-slow-on-queue-being-50-full-tp7580150.html > Sent from the Apache Qpid users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
