Improve flow control
--------------------
Key: JBMESSAGING-1199
URL:
http://jira.jboss.com/jira/browse/JBMESSAGING-1199
Project: JBoss Messaging
Issue Type: Task
Reporter: Tim Fox
Assigned To: Tim Fox
Fix For: Stable branch
The current consumer flow control algorithm can result in many more messages than the
buffer size arriving at a client consumer, since the server does not stop sending until it
receives a stop message.
For fast messaging this should even out. But when consumers are slower this can cause
problems.
The algorithm should instead automatically stop sending when buffer size messages are
sent, and wait for a change rate +.
This should make distribution between many consumers much smoother.
Workaround for now is to set slowConsumes = true. But this effectively turns off buffering
altogether.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira