tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bart Wood <bartw...@gmail.com>
Subject NIO Thread Behavior With Http Connections
Date Thu, 11 Feb 2016 21:54:57 GMT
Will the NIO connector reuse a thread for multiple http connections in
flight?

For example, an nio thread begins processing a request for an http
connection. The thread begins blocking on a slow database socket read. Will
Tomcat let the thread be reused in flight for other http connections? If
code was storing data in thread local storage I'd imagine there could be
problems.

Thanks,
-Bart Wood

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message