Hibernate
Hibernate is a simple, powerful solution for O/R mapping. While using Hibernate to access system-of-record data is easy and powerful, tuning and scaling such applications can be hard.
Terracotta helps to reduce database overload caused by O/R-mapped applications deployed in a clustered environment. Use it to cluster your Hibernate second level cache, or get even more performance by clustering disconnected Hibernate objects.
With EHCache as a second level cache, plug in Terracotta with just a few lines of configuration. The benefits are simplicity and manageability.
Looking for more performance? Get 10x or more scale with Terracotta and Hibernate in disconnected mode. With Terracotta, disconnected POJOs are durable while outside Hibernate's control. This means you won't lose any changes while disconnected from Hibernate, and you can easily reconnect your Session in the same node, or a different node, to flush the disconnected objects back to the database when you no longer need them.
Simple
Plugs in – works with existing Hibernate applications
- Native support for EHCache as a 2nd level cache
- Terracotta can cluster 1st level Hibernate objects, then re-attach them in a new Session if needed
Fast
Distributed Query Cache, 2nd level cache
- Avoids redundant HQL operations, cluster-wide
- 2nd level cache avoids reading from the database multiple times
- A cluster with 5 nodes will experience an 80% reduction in database load as a result of cache clustering
Pure POJO option – disconnect your Hibernate objects to go faster
- Cluster POJOs from Hibernate (instead of clustering 2nd level caches)
- Cluster-wide consistency
- Read object data at native-memory speeds
- Reconnect to Hibernate when you need to flush objects to the DB
- A cluster with 5 nodes could experience as much as 95% reduction in database load as a result of POJO clustering
- Total node throughput can increase 10x-100x because of POJO clustering
Reliable
Non-stop 2nd level caching
- 2nd level caches survive application restarts
Non-stop POJO caching
- POJOs in disconnected mode will not be lost
|