Hibernate Performance Tuning

WORKSHOP DESCRIPTION

Persisting data with JPA and Hibernate as its most popular implementation is so easy that you can learn it within a few hours. But the troubles begin, as soon as the application needs to support a huge amount of data or you have to guarantee very short response times.

You can fulfill these requirements with advanced JPA features and on top of that, Hibernate offers several proprietary features to support further optimizations. Some examples are selecting the right fetch strategy, using different caches and performing bulk operations. But using them efficiently requires far more knowledge.

We will use lots of practical examples to learn about these and other features you can use to avoid performance issues and fulfill challenging performance requirements.

 

WORKSHOP OUTLINE

At the beginning of the workshop we will have a look at typical causes of performance problems and how to identify them at early stages of the project.

Afterwards we will work with practical examples to develop different concepts to solve JPA and Hibernate performance issues, like:

  • optimizing queries,
  • selecting the optimal fetching strategy for a use case,
  • using different caches to avoid redundant database queries and
  • using bulk operations to tweak write operations.

Goals:

The participants learn to identify persistence related performance issues and their most common causes. They furthermore learn how to use JPA and Hibernate specific features to solve these issues and implement efficient and performant database access.

 

What you’ll need:

  • A Linux, OSX Or Windows laptop

Prior Knowledge

  • Good Hibernate and JPA knowledge

Target audience

  • Java developer and architects with JPA and Hibernate experience

ABOUT THORBEN JANSSEN

Thorben Janssen is an independent trainer and consultant and the author of Amazon’s bestselling book Hibernate Tips – More than 70 solutions to common Hibernate problems. He has been working with Java and Java EE for more than 15 years and is a member of the CDI 2.0 expert group (JSR 365). He writes about Java EE related topics on his blog www.thoughts-on-java.org.

back to top