Hi, I'm testing a stateless REST-services where I use RestHelper (with stateless dispatch) and I'm using curl like this to fire 10k requests:
$ for i in $(seq 10000); do curl -v -X POST -H "Accept: application/json" -H "Content-Type: application/json" --data-binary '{"userName": "andreak"}' "http://localhost:9090/internal/user/verify" & done* Mark bundle as not supporting multiuse
I have a Thread.sleep(1000) in my REST-service just to simulate expensiveOperation()
.
Without RestContinuation.async
this takes 52s, but with RestContinuation.async
it takes more than 10 minutes.
Are others experiencing this?