Hi guys,
I have a question about how
tomcat handle requests.
I read that tomcat run a new
thread for each new request, but after some tests I'm a bit confused.
Here is what I have tried.
Then When I do two calls at the same time I can see that the second call wait for the first one to finish before start.
So it doesn't seem to match with the "one thread per request".
Does someone can tell me what's happening here ?
If it can help:
java version "1.8.0_161"
apache-tomcat-9.0.4
Thanks