GigaSpaces Hibernate Cache Plug-in Raises Performance and Augments Scalability


GigaSpaces Technologies, developer of the first grid server for real-time business applications, today announced the availability of its Hibernate Cache Plug-in.

Hibernate is the leading database ORM open source project. The GigaSpaces Hibernate Cache Plug-in combines the value of the GigaSpaces grid-based cache and Hibernate's O/R mapping.

With the GigaSpaces Hibernate Cache Plug-in, Hibernate users achieve better performance and scalability without changing a single line of code. GigaSpaces users gain the rich database integration and O/R mapping functionality provided by Hibernate.

The GigaSpaces Hibernate Cache Plug-in is best suited for applications requiring access to databases with complex SQL queries, using object interface. These applications benefit from caching the results in object format - reducing access to the database, and SQL row data object conversion. Applications can use the GigaSpaces API for parallel processing, real-time data collaboration, and Sync/Async messaging tasks - all simultaneously.

GigaSpaces' grid-based distributed caching lets applications reduce access time information residing in a database by bringing information to local application memory. Information is loaded to the cache from the database on an "on-demand" basis, and the cache manages both local memory utilization and information consistency.

Primary Features

Hibernate and JavaSpaces API
Allows applications to use Hibernate Object SQL API for database access.

Local and remote cache
GigaSpaces provides full database caching using via distributed caching mode which, in turn, provides a local embedded cache together with master cache. These caches can be clustered across different machines to deliver unlimited cache size. Local embedded cache is limited in size and evicts old data automatically, while the master cache synchronizes or updates the local cache as necessary.

Optimistic locking
Updates are propagated to other clients, which hold local cache using optimistic locking protocol, ensuring data coherency.

High availability
The GigaSpaces master cache can be configured for both scalability and availability using the GigaSpaces cluster HAU (High-Availability-Unit) option.

Grid-based architecture enables unlimited cache size through memory virtualization
The GigaSpaces distributed cache differs from other caches in that cache size is not limited by physical memory capacity. The cache size instead virtualizes a set of physical memory instances, as if they where the same physical memory.

Optimized for real time analytic scenarios
Real-time analytics applications must process vast amounts of data in real-time. This real-time processing involves both accessing the data in real-time and processing it in real-time. Most caching techniques focus on solving the data access issue, yet leave the processing burden to the application developer.

Parallel processing engine
GigaSpaces leverages its grid-based architecture to offer a solution to both data access and data processing. Combining distributed caching with a parallel processing engine, GigaSpaces enables real time analytics applications to achieve better performance, scalability, simplicity, and consistency throughout all application elements. Further, GigaSpaces saves the cost, complexity, and support effort normally involved when combining two technologies from two different products.

Shared cache architecture reduces the hit rate on the underlying database
With GigaSpaces, all caches share the same instance of a master cache. A data element loaded from one cache can be accessed by other caches attempting to load that same instance. Thus, the hit rate on the database is reduced dramatically, while the response time to the application remains consistent.

Optimized for smart client (rich clients) application
Smart client applications are applications that run business logic on the client side. Such applications must often maintain a local representation of application data, which can both reduce network overhead as well as enable work in offline mode.
Example
A simple example demonstrating the GigaSpaces cache for Hibernate is located in the GigaSpaces examples directory. To run this example:
1. Go to \examples\databaseache directory
2. Follow the instructions in the readme file.

The above example with the HSQL database, increases the performance fifty times faster(!) than when reading data without GigaSpaces Cache.
For more information about the GigaSpaces Hibernate Cache Plug-in see: http://www.hibernate.org/201.html

back to top