0 Replies Latest reply: Jan 12, 2012 8:55 AM by 804288 RSS

    STOMP - balance incoming/outgoing message rate?

    804288
      Hello,

      I have set up a STOMP client test application for OpenMQ (4.6 on Windows Vista) which runs two threads, one is continuously sending messages to a topic, and the other consumes them, using client-side ack.

      The results show that the broker accepts new messages at a high rate (up to 1,000 messages per second) but sends them to the client at a much lower rate (200 to 400 messages per second):

      2006 sent/received/tp: 992/377/187 msgs/s (5347 microsecs/roundtrip)
      4006 sent/received/tp: 2328/1547/386 msgs/s (2590 microsecs/roundtrip)
      6006 sent/received/tp: 3344/2337/389 msgs/s (2570 microsecs/roundtrip)
      8007 sent/received/tp: 4817/3341/417 msgs/s (2398 microsecs/roundtrip)
      10007 sent/received/tp: 6195/4030/402 msgs/s (2487 microsecs/roundtrip)
      12007 sent/received/tp: 7851/4605/383 msgs/s (2610 microsecs/roundtrip)
      14007 sent/received/tp: 9843/5034/359 msgs/s (2785 microsecs/roundtrip)
      16007 sent/received/tp: 10989/5405/337 msgs/s (2967 microsecs/roundtrip)
      18007 sent/received/tp: 13540/5822/323 msgs/s (3095 microsecs/roundtrip)
      20007 sent/received/tp: 15874/6084/304 msgs/s (3289 microsecs/roundtrip)
      22007 sent/received/tp: 18588/6419/291 msgs/s (3436 microsecs/roundtrip)
      24007 sent/received/tp: 20862/6637/276 msgs/s (3623 microsecs/roundtrip)
      26008 sent/received/tp: 22966/6843/263 msgs/s (3802 microsecs/roundtrip)
      28008 sent/received/tp: 25743/7028/250 msgs/s (4000 microsecs/roundtrip)
      30008 sent/received/tp: 27792/7209/240 msgs/s (4166 microsecs/roundtrip)
      32008 sent/received/tp: 30543/7402/231 msgs/s (4329 microsecs/roundtrip)
      34008 sent/received/tp: 34283/7411/217 msgs/s (4608 microsecs/roundtrip)
      36008 sent/received/tp: 35899/7474/207 msgs/s (4830 microsecs/roundtrip)
      38009 sent/received/tp: 37250/7646/201 msgs/s (4975 microsecs/roundtrip)
      40009 sent/received/tp: 39631/7897/197 msgs/s (5076 microsecs/roundtrip)
      42009 sent/received/tp: 42418/7897/187 msgs/s (5347 microsecs/roundtrip)
      44010 sent/received/tp: 44653/8019/182 msgs/s (5494 microsecs/roundtrip)
      46010 sent/received/tp: 46648/8082/175 msgs/s (5714 microsecs/roundtrip)

      (The first number is elapsed time in milliseconds.)

      Is there a way to configure the STOMP plugin so that the input / output speed is more balanced?

      Many thanks in advance
      --
      Michael Justin
      habarisoft - Enterprise Messaging Software for Delphi
      http://www.habarisoft.com/