Posts Tagged ‘EHCache’

Using ehcache monitor

December 22nd, 2009 by Jettro Coenradie
(http://blog.jteam.nl/2009/12/22/using-ehcache-monitor/)

Screen shot 2009-12-22 at 10.25.31 AM.png

In my previous blog post serving a heavy load rss feed with spring 3 and ehcache I showed a solution for rss and caching using ehcache. After posting, Alex Miller commented about using a new product from ehcache called ehcache monitor. As curious as I am I decided to have a look.

In this blog post I give you a short introduction into the new monitor tool. I’ll use the sample from the previous post. I’ll explain the steps to take to do the test yourself, including installation. I will also show the screens to show you the actual monitoring.

Read the rest of this entry »

Serving a heavy load rss feed with Spring 3 and EHCache

December 17th, 2009 by Jettro Coenradie
(http://blog.jteam.nl/2009/12/17/serving-a-heavy-load-rss-feed-with-spring-3-and-ehcache/)

For a project I am doing there was a feature request to come up with an rss component for their new website. This seems pretty easy but the amount of possible feeds (100.000) and the potential for very high load made us think about a custom made solution based on ehcache, spring 3 and rome.

Some of the requirements for the solution have already been mentioned. The following list gives an overview of the things to consider.

  • Over 100.000 of possible feeds.
  • Every search on the page can be used as a feed
  • Certain feeds will be under very high load
  • Content can easily be cached

Within this post I will discuss the different technical requirements for caching in these kind of solutions. I will also step through the creating of a feed using spring 3 and finally I present the demo application that can actually be used as a web application that exposes news content using a feed as well as a website.

Read the rest of this entry »