WildFly Performance Tuning

Develop high-performing server applications using the widely successful WildFly platform

WildFly Performance Tuning

Progressing
Arnold Johansson, Anders Welén

Develop high-performing server applications using the widely successful WildFly platform
$29.99
$49.99
RRP $29.99
RRP $49.99
eBook
Print + eBook
$12.99 p/month

Want this title & more? Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.
Code Files
+ Collection
Free Sample

Book Details

ISBN 139781783980567
Paperback330 pages

About This Book

  • Enable performance tuning with the use of free and quality software
  • Tune the leading open source application server WildFly and its related components
  • Filled with clear step-by-step instructions to get to know the ins-and-outs of the platform, its components, and surrounding infrastructure to get the most and best out of it in any situation

Who This Book Is For

Anyone with an interest in learning more and improving the performance of Java-based technology in general, all the way to WildFly in particular, will find this book useful.

Table of Contents

Chapter 1: The Science of Performance Tuning
Performance
Scalability
Performance tuning anti-patterns
Software development and quality assurance
Software development with performance focus
The iterative performance-tuning process
The environment of performance tests
The software life cycle
Tuning an enterprise stack
Summary
Chapter 2: Tools of the Tuning Trade
The key features of performance tuning
Profiling
Profiling and sampling
VisualVM
Monitoring
OS tools
WildFly tools
Generating load
Apache JMeter
Summary
Chapter 3: Tuning the Java Virtual Machine
JVM
JVM memory areas
GC
JVM memory management with the GC
Configuring the JVM
Large objects
Large memory pages
The java.lang.OutOfMemoryError error
Memory leaks
Types of GC strategies
Which collector to use
Setting VM parameters in WildFly
Having the relevant information available
VM parameters in production
Using tools
VM and GC stability
Summary
Chapter 4: Tuning WildFly
WildFly's history
WildFly's architecture
Various subsystem configurations
Logging
Summary
Chapter 5: EJB Tuning in WildFly
The history of EJBs
The different types of EJBs
Performance tuning EJBs in WildFly
Summary
Chapter 6: Tuning the Persistence Layer
Designing a good database
Tuning the Java Database Connectivity API
Tuning JPA and Hibernate
Summary
Chapter 7: Tuning the Web Container in WildFly
Enter Undertow
Using XNIO
Tuning Undertow
Tuning the servlet container and JSP compilation
Using Apache as a frontend
Summary
Chapter 8: Tuning Web Applications and Services
Web applications
Services
Summary
Chapter 9: JMS and HornetQ
Introducing JMS
The message and its optimizations
Tuning the session
Tuning MessageProducer
Optimizing HornetQ
Summary
Chapter 10: WildFly Clustering
Cluster
Load balancing
Replication
Failover, failback, and session state
High Availability
The real need of clustering
A single point of failure
WildFly clustering basics
Clustering in Java EE and WildFly
Summary

What You Will Learn

  • Tune and monitor an OS, a JVM, and WildFly with components and applications
  • Make various tuning tools work with WildFly
  • Configure and tune the JVM by analyzing its behavior
  • Understand numerous best practices and how-tos
  • Monitor and tune various JEE technologies within WildFly, such as EJBs, WebServices, and JSF-based applications
  • Know the ins-and-outs for getting the most out of the platform, its components, and surrounding infrastructure
  • Discover how to tune a clustered WildFly environment

In Detail

The hugely successful JBoss Application Server has been updated and is now called WildFly. This cutting edge technology provides a free JEE-certified platform for the software of today and tomorrow. Learning to tune such a platform for optimal performance is vital for a healthy business organization, efficient development, and the smooth running of operations.

This practical book explores how to tune one of the leading open source application servers in its latest reincarnation. In this book, you will learn what performance tuning is and how it can be performed on WildFly and the JVM using solely free and open source tools and utilities.

Learn about various free tools for performance monitoring and tuning, all focused on making them work with WildFly. The tuning journey ventures through the landscape of the major JEE technologies, EJB, Servlets, JPA, JSF, and JMS. Discover best practices for the internal high-performing web container Undertow, WebServices, and REST services so that you end your journey feeling confident in tuning WildFly for optimal performance.

Authors

Table of Contents

Chapter 1: The Science of Performance Tuning
Performance
Scalability
Performance tuning anti-patterns
Software development and quality assurance
Software development with performance focus
The iterative performance-tuning process
The environment of performance tests
The software life cycle
Tuning an enterprise stack
Summary
Chapter 2: Tools of the Tuning Trade
The key features of performance tuning
Profiling
Profiling and sampling
VisualVM
Monitoring
OS tools
WildFly tools
Generating load
Apache JMeter
Summary
Chapter 3: Tuning the Java Virtual Machine
JVM
JVM memory areas
GC
JVM memory management with the GC
Configuring the JVM
Large objects
Large memory pages
The java.lang.OutOfMemoryError error
Memory leaks
Types of GC strategies
Which collector to use
Setting VM parameters in WildFly
Having the relevant information available
VM parameters in production
Using tools
VM and GC stability
Summary
Chapter 4: Tuning WildFly
WildFly's history
WildFly's architecture
Various subsystem configurations
Logging
Summary
Chapter 5: EJB Tuning in WildFly
The history of EJBs
The different types of EJBs
Performance tuning EJBs in WildFly
Summary
Chapter 6: Tuning the Persistence Layer
Designing a good database
Tuning the Java Database Connectivity API
Tuning JPA and Hibernate
Summary
Chapter 7: Tuning the Web Container in WildFly
Enter Undertow
Using XNIO
Tuning Undertow
Tuning the servlet container and JSP compilation
Using Apache as a frontend
Summary
Chapter 8: Tuning Web Applications and Services
Web applications
Services
Summary
Chapter 9: JMS and HornetQ
Introducing JMS
The message and its optimizations
Tuning the session
Tuning MessageProducer
Optimizing HornetQ
Summary
Chapter 10: WildFly Clustering
Cluster
Load balancing
Replication
Failover, failback, and session state
High Availability
The real need of clustering
A single point of failure
WildFly clustering basics
Clustering in Java EE and WildFly
Summary

Book Details

ISBN 139781783980567
Paperback330 pages
Read More