-
-
Notifications
You must be signed in to change notification settings - Fork 237
/count endpoint barfs under load #49
Comments
out of curiosity I tested this too with similar results
Then decided to run it under two shells while hitting /count via my browser. first...
second...
The browser requests returned the updated counts caused by the ab commands and continued to work after the ab commands barfed. Surprising the ab commands failed but heartening that concurrent access with Chrome worked fine. |
True, good thing the browser still gets data. I just found it strange that the concurrency causes some sort of deadlock (I would assume ... even with your two ab scripts running you get until around 16k), I thought this whole actor thing was to avoid exactly this.... |
Could you please test with wrk? |
Please see the performance test framework results at https://playframework.github.io/prune/ -- this is far more likely to be a consequence of doing a load test on MacOs Sierra, with the load testing framework on the machine itself, using apache bench. Try on a standalone Linux machine and use gatling or wrk: see https://developer.lightbend.com/guides/play-rest-api/appendix.html#load-testing for details. |
I am doing some load testing with the starter example. So for example
It appears I can throw the /count endpoint off by setting a higher concurrency
This always happens at around 16k requests, even at a concurrency of only 2
Os is MacOs Sierra, Scala 2.12.2 (installed via brew), 2.6.x branch of this repo
Nothing too dramatic but still a bit of a surprise how quickly threading can barf, even with Scala :)
The text was updated successfully, but these errors were encountered: