-
1. Re: Throttling consumer traffic in clustered JMS queue
ataylor Aug 16, 2013 9:33 AM (in response to theone4ever)ive just tried this and it worked fine, altho with a single node, what is your topology and where are the MDB's deployed?
-
2. Re: Throttling consumer traffic in clustered JMS queue
theone4ever Aug 16, 2013 10:41 AM (in response to ataylor)Hi Andy,
Thank you for quick reply. Our MDB and together with message producer are packaged in the same ear, then deployed on jboss running with standalone-ha.xml some some minor modification. Then two machine running such jboss in the same subnet. Also when when MDB consumes the msg, it ends up a HTTP request towards an external server node. Then we use wireshark IO graphs to monitor # of HTTP requests every sec, and find that depends on number of max session we configed, the totally # of request is different, also result of maxSession x consumerMaxRate is always 10.
Thank you.
-
3. Re: Throttling consumer traffic in clustered JMS queue
ataylor Aug 16, 2013 10:45 AM (in response to theone4ever)ok, so thats 4 consumers then, 2 per node so I would expect 20 msgs per sec, which is what you are getting
-
4. Re: Throttling consumer traffic in clustered JMS queue
theone4ever Aug 16, 2013 10:52 AM (in response to ataylor)Ok, i see. 2 (servers) x 2 (maxSession) x 5 (consumerMaxRate), then i get 20. But what strange is when i config max session as 1, i only get 10 req/sec, it should be 2 (servers) x 1 (max session) x 10 (consumerMaxRate), then i should get 20 too, right?
-
5. Re: Throttling consumer traffic in clustered JMS queue
ataylor Aug 16, 2013 11:03 AM (in response to theone4ever)yes you should, however with such a low number of consumers maybe its just the speed messages are being distributed between the nodes, tbh its hard to say, remember its a throttle rate not a throughput rate, as you ramp up the consumers it should balance out.