Dear Undertow devs,
I'm running some test on the new undertow subsystem: in particular I'm trying to
control the maximum threads available for serving http requests (old Tomcat maxThread
parameter).
Is it correct to define the max threads allowed via the io-threads attribute of the worker
element as follows ?
<subsystem xmlns="urn:jboss:domain:undertow:1.0">
<http-listener name="default" socket-binding="http"
worker="custom" />
. . .
</subsystem>
<subsystem xmlns="urn:jboss:domain:io:1.0">
<worker name="custom" io-threads="100" />
<buffer-pool name="default" buffer-size="16384"
buffers-per-slice="128"/>
</subsystem>
Or should rather use the task-max-threads attribute instead ?
Thanks!
Francesco