codenjoyme/codenjoy

[chat] If request send over a web socket and do not close it, then a load is created in the server

Opened this issue · 0 comments

If JMeter use and send request for chat:
wss://SERVER/codenjoy-contest/chat-ws?user=IDUSER&code=CODEUSER
{'command':'getAllRoom', 'data':{"afterId":null,"beforeId":null,"inclusive":false,"count":20,"room":"rNUMBERROOM"}}
and
{"command":"postRoom", "data":{"text":"test","room":"rNUMBERROOM"}}
Request create with 50 users every 5 seconds during 1200 seconds

  1. Requests are not processed after a while
    MicrosoftTeams-image (19)
  2. The server may stop responding
    MicrosoftTeams-image (18)
  3. Errors on the server
    image
  4. Due to the high flow of the message, ticks are processed late
    https://user-images.githubusercontent.com/86113110/191677553-68df006a-0fe2-4bda-9340-2db3bf0dfb06.mp4
javaw_NVew1sl392.mp4