Reputation: 9519
I'm debugging a web-app, I saw that when I send multiple requests from the same browser (same session) Tomcat serialize these requests and serve them syncronously. If I try with many different browsers, I got real concurrent execution.
How to configure Tomcat to avoid synchronous processing for the same session?
Upvotes: 0
Views: 114
Reputation: 48087
Are you sure that it's tomcat doing this? It might be your browser using the same connections. It might also be your browser requesting the "page" first (which you then debug) and only starting to receive additional resources (css, images, etc) later. Once the page is there, referencing all the other resources, the other resources might be loaded concurrently through many different requests.
You might want to do some packet-sniffing, e.g. check with wireshark how many connection the browser opens while you're debugging your application.
Upvotes: 2