Binay payload uses lots of resource ?

Issue #119 closed
Nicolas Casaux created an issue

Hello,

I’m facing an issue with the following setup. I have 100s of client from JMeter, all of them are connected via Stomp over Websocket to an Middleware. (ActiveMQ or ActiveMQ Artemis)

  • Case 1:

    • all my clients are connected to ActiveMQ (via Stomp over Websocket) and subscribed to the same topic.
    • I send 10 messages to the topic of 20Kb payload size
    • Each client gets its message which is seen as Text message because of how ActiveMQ handles websocket
    • Everything is fine, not much CPU or heap usage by JMeter
  • Case 2:

    • all my clients are connected to ActiveMQ Artemis (via Stomp over Websocket) and subscribed to the same topic.
    • I send 10 messages to the topic of 20Kb payload size
    • Each client gets its message which is seen as Binary message because of how ActiveMQ Artemis handles websocket
    • The CPU and heap usage of JMeter is huge, like 5 sec of 100% CPU, it almost freezes, sometime I get an out of memory error

My question is the following: does the plugin handles differently binary message and text message ? It seems that handling binary (and not that big) messages uses lots of resource compared to text message.

Thanks in advance for your response!

Regards,

Nicolas

Comments (10)

  1. Peter Doornbosch repo owner

    Hi Nicolas,

    Not that i was aware of 😢. I think i found the cause (creating debug log messages even when debug logging is not enabled). The fix is trivial, but i need a little time for testing and creating a release.

    Thanks for your feedback.

    Regards,

    Peter

  2. Nicolas Casaux reporter

    Hello Peter,

    The issue seems to be solved. Thanks a lot for your reactivity and this new version!

    Regads, Nicolas

  3. Peter Doornbosch repo owner

    Whatever you like. Most people are referred with their real name (see readme), but it’s up to you…

  4. Log in to comment