Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying WildFly Performance Tuning
  • Table Of Contents Toc
WildFly Performance Tuning

WildFly Performance Tuning - Third Edition

3.8 (6)
close
close
WildFly Performance Tuning

WildFly Performance Tuning

3.8 (6)

Overview of this book

Packed with practical examples, this book looks at a different aspect of performance tuning in each chapter and shows you how to apply them to their existing Java applications. 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 (12 chapters)
close
close
8
8. Tuning Web Applications and Services
11
Index

Profiling and sampling


In the Java universe, profiling technically involves instrumenting the Java bytecode in order to make accurate calculations of execution down to the method level. Instrumenting the Java bytecode is a time-consuming operation that is performed for all code in the JVM when profiling starts. The amount of instrumented bytecode can, however, be limited by defining what should be included or excluded, thereby speeding up the instrumentation time in profiling. Depending on tool support, theses definitions can be done on package, class, or method level. As the profiling terminates, the bytecode is normally restored.

Sampling is a kind of lightweight profiling. Instead of physically instrumenting the Java bytecode as done in profiling, sampling relies on analyzing the stack traces and thread dumps that are taken at regular time intervals. These intervals can be defined, for example to 10 per second.

So, what approach should you use? As always, the answer is that it depends on...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
WildFly Performance Tuning
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon