|
Page Created :
qpid :
Broker job queue limits
Broker job queue limits has been created by Aidan Skinner (Oct 03, 2008). Content:Broker memory usageIt is possible for the broker to recieve frames at a rate faster than it can process. When this occurs a large number of Jobs and Events are produced. This can further slow down the system by increasing memory usage, causing the GC to to run frequently and generally compound the issue. This is undesireable. High level solutionUltimately, the broker needs to decide to cease creating new jobs until those that already exist have been processed. The broker will stop reading frames from the network layer. The servers network buffer will fill, and for OS will cease to read the socket as TCP flow control kicks in. The corresponding client side buffer to fill, and then writes to it will block. When memory usage falls as the events are processed, the broker will start to process frames again, and normal operation will resume. However, if the broker does not recover sufficently quickly it is possible that the socket will time out and the connection will be closed. Required changes
|
Unsubscribe or edit your notifications preferences
