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

Using Apache as a frontend

A quite common setup for Java EE application servers, where clients are use HTTP, is to have a native web server, such as Apache HTTPD, acting as a frontend server. This setup has the following potential benefits:

  • HTTPS termination: Handling the computations of HTTPS encryption and decryption takes a lot of CPU usage. A native stack (as in Apache HTTPD) or even designated hardware, is normally more optimized and faster than handling these computations in Java.

    Tip

    In this book, we use Apache HTTPD as an example, as it is very versatile and is the most common web server in the world. Several options, such as nginx and lighttpd, are however available and should be evaluated before deciding on which to use.

    In most scenarios, ...

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