Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
WildFly Performance Tuning

You're reading from   WildFly Performance Tuning Develop high-performing server applications using the widely successful WildFly platform

Arrow left icon
Product type Paperback
Published in Jun 2014
Publisher
ISBN-13 9781783980567
Length 330 pages
Edition 3rd Edition
Languages
Tools
Arrow right icon
Toc

Table of Contents (12) Chapters Close

Preface 1. The Science of Performance Tuning FREE CHAPTER 2. Tools of the Tuning Trade 3. Tuning the Java Virtual Machine 4. Tuning WildFly 5. EJB Tuning in WildFly 6. Tuning the Persistence Layer 7. Tuning the Web Container in WildFly 8. Tuning Web Applications and Services 9. JMS and HornetQ 10. WildFly Clustering Index

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, it is allowed to terminate HTTPS in the frontend (that can execute on it's own hardware that is separate from the application server) and use unencrypted traffic within the infrastructure of the application server. Your IT security policies and business...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image