-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Description
Marcus Held opened SPR-16950 and commented
While performance testing my application I figured out that I can only handle a handful of users when using Spring Websocket with RabbitMQ as a message broker. As soon as I replace the the message broker with the simple message broker I don't have anymore issues.
I was able to reproduce the behavior in a sample project, which you can find on github: https://github.com/mld-ger/spring-websocket-performance-issue/tree/master. In the repository is a second branch called simple-broker
where the issue does not occur ( see the diff here ). All instructions how to setup the project should be in the readme of the linked project.
Also, this issue is connected to this stackoverflow question which I opened last week: https://stackoverflow.com/questions/50833472/performance-issue-with-spring-websocket-rabbitmq-and-stomp/
Affects: 5.0.7
Attachments:
- flight_recording_websocket_bug.jfr (5.18 MB)
- recoring_with_broadcast.jfr (4.68 MB)
- response_times_with_broadcast.png (30.62 kB)
- Screen Shot 2018-06-25 at 10.33.39.png (41.19 kB)
- Screen Shot 2018-06-25 at 10.33.47.png (37.50 kB)
- threads_with_broadcast.png (33.77 kB)
Referenced from: commits 9b3d80c, 2fdb8c9
0 votes, 5 watchers