How tomcat handle multiple concurrent request at the same time?

Viewed 6418

How tomcat handle multiple concurrent request at the same time ?

Does it queues up the requests or processes some of the requests in parallel ?

If it processes requests in parallel , how does it returns the asynchronous response ? Does it keeps the connection open with client until response comes ?


If the tomcat uses a multi threaded environment ? Does the code needs to completely thread safe ? Or tomcat handles it on its own.

1 Answers
Related