Tuesday Aug 18, 2009

Ehcache now part of TerraCotta


Earlier today (well, yesterday down under) ehCAChe maintainer and GlassFish good friend Greg Luck announced the "acquisition" of Ehcache by TerraCotta, another friendly GlassFish partner. This is giving Ehcache a business strategy, which it never had despite its popularity, in distributed caching. You can read more on TerraCotta's blog entries by Ari (founder, CTO) and Alex (aka Pure Danger). InfoQ also has a nice summary of the technical implications.

Congratulations to both parties, they seem to share a lot of common values. If you're interested in the integration between GlassFish and those two sets of technologies, please visit :
Ehcache - GlassFish HowTo & FAQ
Previous coverage of Ehcache on TheAquarium, including the GlassFishTV episode (slides), and Ehcache server using GlassFish embedded, jersey and metro.
Configuring GlassFish to Work with Terracotta and platform support.

Finally, make sure you read how to pronounce Ehcache properly and realize ehCAChe is actually a palindrome.

Wednesday May 06, 2009

This Week's Webinar - Ehcache, Architecture, Features and Usage Patterns


This week's webinar is on Ehcache, the popular java-based cache - #1 among GlassFish users, according to a recent informal survey. This presentation, by Greg Luck, its lead maintainer and the Chief Architect of Wotif.com, covers the theory of caching, the architecture of Ehcache, Features of the product, Usage Patterns and includes some code samples.

The presentation on Thursday, May 7th, 11am US Pacific, at TheAquarium Channel. Full details (and recordings) at the Show Page.

Monday Jul 28, 2008

First use of GlassFish embedded - EHCache Server

EHCache logo

Greg Luck, EHCache maintainer and GlassFish community member has been busy in the recent weeks. First, he released EHCache 1.5.0 and soon after came EHCache debugger, but also EHCache Server with a SOAP interface built using Metro (as the WSDL shows).

Greg discusses the rationale behind the SOAP choice on his blog and explains that the server is available as a war archive that can be either deployed in a Java Application Server or simply started using its embedded GlassFish v3 engine. In addition to the SOAP interface, Greg is also working on a RESTful implementation of the EHCache server, this time with Jersey (JAX-RS's reference implementation in the works) under the hood.

EHCache is a popular distributed cache used by many frameworks and applications. Previous EHCache entries on this blog are here.

If you are using or planning to use GlassFish v3 (with or without the embedded mode), feel free to comment here or send us email, we'll happily mention it here.

Thursday Mar 13, 2008

ehCache - POM at SourceForge and New Book


ehCache is SourceForge Project Of The Month for Feb 08. ehCache is the distributed cache system from Greg Luck and is used at Wotif.COM (see GF Day@Sydney) together with GlassFish.

Greg has published a ehCache Guide and Reference at Lulu.com - I noticed he mentioned Tomcat but not GF and he explained:

There is an FAQ on Tomcat because so many problems have come up. There are none I am aware of with Glassfish.

We have talked a few times about pushing ehCache to the UC@TA; maybe we will get to it before JavaOne. Also see ehCache@TA

Monday Feb 11, 2008

Shoal Articles - Learning About GlassFish's Clustering Framerwork

Photo of Shoal of French Frgate Fish

InfoQ has a Nice Article on the Shoal Clustering Framework (see TA entries). The article is based on interviews with Shreedhar and Mohamed and covers a fair amount of material including comparisons with Terracotta, JGroups, JBossCache, ehCache and SailFin.

Shoal is making good progress; I had missed that it is also used by JoNAS. Also see a short note at OpenLandscape.

Sunday Aug 12, 2007

Tutorials on how to use GlassFish with ehCache and JPA, Hibernate and TopLink Essentials

Hong Kong from Victoria's Peak

Max has been doing an interesting series of tutorials using GlassFish, NetBeans and JPA, the Java Persistence API (@Sun, @JCP, FAQ).

The original tutorial covered how to Use Hibernate as JPA Provider and the next showed how to use Additional Hibernate Features. The new series explores JSF and ehCache and revisits Hibernate and TopLinkEssentials: [1], [2], [3] and [4].

Saturday May 19, 2007

Memcached or ehCache? Performance Benefits of In-Memory Caching

Graph comparing memcached and ehcache

Memcached is a distributed, in-memory, cache that was popularized by LiveJournal. Memcached has good performance but it runs as a deamon (diagram) and an interesting question is whether local, cooperating, in-memory caches might do better.

Greg implemented this approach in ehCache (diagram, Wotif.COM) and recently ran some comparisons that suggest ehCache is much faster.

Greg gave a full report on this topic in TS-6039 at JavaOne but the slides are not yet online. Fortunately he just published a short summary in his blog site (see comparison graph). There was also a micro-session at CommunityDay and I'll let you know when we push the slides to the Virtual GlassFish Day page.

Thursday Feb 08, 2007

How to Run a Top eCommerce Site on GlassFish - the Wotif.COM Story

Wotif Logo

Wotif.com provides cheap last-minute hotel reservations in over 35 countries and it is specially popular in Australia, New Zeland and nearby locales (see this article). The site has been using OpenSource products for a while but they just switched to GlassFish - see Jamey's Adoption Story.

Wotif is a particularly interesting site: their production servers support around 10,000 concurrent sessions and the site averages almost one million users, who make over 110,000 bookings each month; I'd say that means GlassFish is ready for production! Wotif uses ehCache for caching over horizontally scaled hardware, is using Sun's v40z boxes and complements the community support for GlassFish with Sun's commercial support offering.

More details are available at Jamey's Story and at the detailed Adoption Questionnaire. And, if you are interested in the past history of the site, check the Netcraft Report.

Thursday Dec 07, 2006

ehCache Distributed Caching Upgraded for GlassFish and Tomcat

ehCache Downloads

Greg reports the release of ehCache 1.2.4, now including support for Caching and GZip filters on GlassFish and Tomcat. ehCache is a java distributed cache for general purpose caching, J2EE and light-weight containers. The most recent release includes support for large ehcache deployments; Greg reports an instance of a multi-subnet cluster of 20 nodes.

Greg also reports that ehCache is considering being a full implementation of JCache - JSR 107, which I think would be a very good idea. More details at Greg's blog

Tuesday Oct 31, 2006

An Outsider's view of Sun's Open Source Strategy

Greg Luck's logo

It seems that, little by little, we are getting our message out; check Greg reflections on Simon's keynote at Enterprise Java Australia (and Kudos to Simon for a good keynote). I'm very much looking forward to the beta of GlassFish V2; I expect substantial increased adoption from then up through the FCS around April.

BTW, I see that Greg is a maintainer of ehcache and I've asked him for references of uses of ehcache with GlassFish.