O'Reilly logo

Instant Effective Caching with Ehcache by Daniel Wind

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Ehcache monitoring and logging (Intermediate)

In this recipe, we will cover the following topics:

  • Monitoring an Ehcache-enabled web application
  • Configuring logging correctly with standard libraries
  • Integrating Ehcache with third-party monitoring solutions

We will examine how to monitor and log an Ehcache-based application. We will use third-party open source Java Melody for viewing Ehcache activities as well as other important factors. We will also look at how to configure SLF4J (Ehcache logging interface) with Log4j, as this is the standard Java logging library used in many projects worldwide.

Getting ready

Caching is all about memory fluctuations, disk writing/reading, and performance statistics; so it rapidly becomes a production issue if it is not ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required