Tuning Undertow
As mentioned earlier, WildFly handles traffic on different protocols through listeners. The only one that is enabled out of the box is the HTTP listener. If support is needed for AJP and HTTPS, the corresponding listeners will need to be configured and enabled. In earlier versions of the application server, there were quite a few settings that had to do with performance tuning on these protocol configurations (mainly thread pools settings). This is not the case in Undertow as thread handling is handled earlier in the stack by the I/O subsystem and using XNIO.
Two key components are configured by the Undertow subsystem. First, there is a XNIO worker pointed out by the worker
attribute and named default
by default. Secondly, there ...
Get WildFly Performance Tuning now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.