Skip to content

Stress testing

Carlos Quiroz edited this page Jun 21, 2017 · 2 revisions

Web Sockets

Testing of WebSockets under stress was done using the artillery tool. Artillery lets you define scenarios to test the system under stress. A file used to test is included on the module edu.gemini.seqexec.web.server named wsstress.yml

It can be executed with the command

artillery run wsstress.yml

On the scenario above 100 simultaneous WebSocket clients are raised while at the same time a client is setup to run an observation. No issues were found on the code and CPU usage remained relatively low

An exception was found on the http4s code and it was reported upstream to http4s at https://github.com/http4s/blaze/issues/80

Clone this wiki locally