Red Hat Bugzilla – Bug 452128
Feature: message throttling
Last modified: 2009-04-21 12:16:09 EDT
message broker should allow for throttling maximum incoming message rate for
accepted messages per AMQP session level
to also control an AMQP client connection to the maximum rate for messages sent over specific AMQP session to a broker (i.e. limit all the taffic from one client, no matter how many sessions).
Client session throttling has now been implemented in qpid C++ broker and client:
It is configured by setting a configuration parameter in qpidd.
The new command line argument is "--max-session-rate"
This imposes a limit on the number of messages transferred per second from the client to the broker on every session.
This functionality can be tested by (for example) running the broker with a specified session rate:
qpidd --auth no --max-session-rate 200
Then by running perftest against this broker and seeing that the send rate from client to broker is just less than this rate.
The feature has been implemented, tested using qpidd and perftest with and without --max-session-rate qpidd option.
Done on RHEL 4.7 / 5.3 i386 / x86_64 on packages:
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.