WildFly Performance Tuning

Develop high-performing server applications using the widely successful WildFly platform
Preview in Mapt
Code Files

WildFly Performance Tuning

Arnold Johansson, Anders Welén

1 customer reviews
Develop high-performing server applications using the widely successful WildFly platform
Mapt Subscription
FREE
$29.99/m after trial
eBook
$21.00
RRP $29.99
Save 29%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$21.00
$49.99
$29.99p/m after trial
RRP $29.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


WildFly Performance Tuning Book Cover
WildFly Performance Tuning
$ 29.99
$ 21.00
Advanced Java® EE Development with WildFly® Book Cover
Advanced Java® EE Development with WildFly®
$ 39.99
$ 28.00
Buy 2 for $35.00
Save $34.98
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781783980567
Paperback330 pages

Book Description

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.

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

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
From 1 reviews

Read More Reviews

Recommended for You

Java EE 7 Developer Handbook Book Cover
Java EE 7 Developer Handbook
$ 35.99
$ 25.20
JBoss AS 7 Configuration, Deployment and Administration Book Cover
JBoss AS 7 Configuration, Deployment and Administration
$ 29.99
$ 21.00
Java EE 7 Development with WildFly Book Cover
Java EE 7 Development with WildFly
$ 29.99
$ 21.00
WildFly Configuration, Deployment, and Administration - Second Edition Book Cover
WildFly Configuration, Deployment, and Administration - Second Edition
$ 29.99
$ 21.00
JBoss AS 7 Development Book Cover
JBoss AS 7 Development
$ 29.99
$ 21.00
Arquillian Testing Guide Book Cover
Arquillian Testing Guide
$ 23.99
$ 16.80