O'Reilly logo

WildFly Performance Tuning by Anders Welén, Arnold Johansson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Tuning the servlet container and JSP compilation

A feature in the servlet container in Undertow that relates to performance is the option to ignore flushes on a servlet output stream. Ignoring flushes can provide better performance in most cases. The current setting can be investigated using the following CLI command:

/subsystem=undertow/servlet-container=default:read-attribute(name=ignore-flush)

The default value of the ignore-flush attribute is false and can be easily changed to true using the following command in the CLI:

/subsystem=undertow/servlet-container=default:write-attribute(name=ignore-flush, value=true)

An MBean named jboss.as:subsystem=undertow,servlet-container=default is also available. The following screenshot shows you the JConsole ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required