« FUD of the Week: Spill to Disk cannot work fast enough | Main | FUD of the Week: Terracotta has no API »
August 14, 2007
Extreme Hibernate Performance with Terracotta
posted by ari
I reviewed our webinar content for tomorrow's online training session. I was honestly astounded at the performance improvement our POJO Cache in front of Hibernate can provide versus traditional 2nd level caching.
Taylor Gautier--our vaunted Product Manager--did an excellent job illustrating the differences between Hibernate, Hibernate with a 2nd level cache, with a clustered 2nd level cache, and then in disconnected mode with TC managing the consistency and reliability of POJOs while outside Hibernate's control.
The performance of Hibernate with TC as a 2nd level cache was such that our little performance harness could persist 25K object updates down to the DB in 11.5 seconds. But, with TC as a POJO cache, those same 25K updates took 4ms.
This should be HUGELY helpful for folks who went to O/R-mapping and "stateless" route and now need to deflect load off of an overloaded Oracle or MySQL database. Definitely worth a look before you commit to clustering the DB.
You should check it out:
Worth noting that since Taylor and I changed our Webinar format, there is FAR LESS powerpoint and FAR MORE Eclipse / code.
Trackback Pings
TrackBack URL for this entry:
http://blog.terracottatech.com/cgi-bin/mt/mt-tb.cgi/17
Comments
Just to be clear - the 4ms was from reads, not writes, which as expected take longer than 4ms, but are still significantly higher than using a traditional solution such as Hibernate with 2nd Level Cache. I invite you to come to the Webinar to see the actual results.
Thanks Ari!
Posted by: Taylor Gautier at August 14, 2007 9:33 AM