Skip to content

Instantly share code, notes, and snippets.

@yamanyar
Created September 24, 2013 06:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yamanyar/6681088 to your computer and use it in GitHub Desktop.
Save yamanyar/6681088 to your computer and use it in GitHub Desktop.
nio connector with executor for async servlets
<Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
maxThreads="10" minSpareThreads="4"/>
<Connector port="8080" protocol="org.apache.coyote.http11.Http11NioProtocol"
connectionTimeout="20000"
redirectPort="8443" selectorTimeout="500" executor="tomcatThreadPool" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment