As you can see the last frame is very large and it takes approx. 23 seconds to download it. During this time the application is stuck while waiting for WS to get and "split out" the messages in order to process it, which is not very efficient.
Is the problem source within the Web-Stomp plugin that buffers the messages (if there are many) and sends one huge frame to the consumer if it accumulate "enough" messages? Or is it somewhere else?
I've been trying to set the "max-length-bytes" queue policy to smaller number, but that didn't change anything and also I was not able to find any related issues online.
I will appreciate any hints or suggestions on what to do.
Regards, Jakub
Throughput is not a common thing Web STOMP users complain about, so we didn't
really benchmark the new implementation. A lot of apps would be fine with a few hundreds of
messages per second (in a Web client).
That said, if you provide us with some test scripts, we can take a look at what can be improved.
Are you comparing raw WebSockets in 3.6 to 3.5.6, though? Because that's not really
apples to oranges, although we'd still be happy to see if we can improve things.
--
MK
Staff Software Engineer, Pivotal/RabbitMQ