[Java EE] Hibernate OGM

Source: Internet
Author: User

Hibernate Object/grid Mapper (OGM) This project can provide Java Persistence (JPA) support for NoSQL databases. It reused the hibernate core engine to persist entities into a NoSQL data store, rather than in a relational database. It also reused the Java Persistence Query Language (JP-QL) to search for data. The project is still in its infancy, but its functionality will gradually increase over time.
Short-term goals are:
1. Support Infinispan (implemented)
2. Support Hibernate search full text (implemented)
3, support simple JP-QL query
The medium-term objectives are:
1. Support Other Key/value storage
2. Support other NoSQL databases
3. Support Complex Association and aggregation <

In?nispan is an open source data grid platform. It exposes a simple data structure (a cache) to store objects. While In?nspan can be run in local mode, its true value is distributed, in which the In?nispan can cache the cluster and expose the bulk of the heap memory. This is much more powerful than simple replication because it allocates a fixed number of replicas per node-a means of recovery for server failures-while also improving scalability, because the amount of work required to store each node is tied to the size of the cluster.

In?nispan provides a simple mechanism to take advantage of large-capacity heap memory. If you maintain a copy of each node, if there are 100 nodes in the cluster, each node allocates 2GB of heap memory, then any instance in the grid can use up to 100GB of space, which can be memory, obviously very fast. The In?nispan is also compatible with JTA so that it can handle transactions well. We also have a super-powerful asynchronous API that guarantees synchronous network calls and the parallelism and scalability of asynchronous calls. For example: the future F = Cache.putasync (k, v) can block threads, and then call F.get () to allow network calls to continue or ignore F. More importantly, the thread can do something else, which is very useful. And then come back by calling F.get () to check whether the network call can continue. It can be thought of as the relationship between NiO and the traditional blocking IO.

In?nispan exposes a Cachestore interface and several high-performance implementations, including JDBC Cachestores, file system-based Cachestores, and Amazon S3 Cachestores, among others. The cachestores can be used as a "warm start (warm starts)" or to ensure that the data in the grid is still available after a reboot, while also writing data to disk when memory is exhausted.

Main Features:

    • A large number of heap bodies
    • Very High scalability
    • Fast Lightweight core
    • Not only support Java (Php,python,ruby,c ...)
    • Support Compute Grids
    • Management is key: When you run hundreds of services on a grid, implementing management is a must

[Java EE] Hibernate OGM

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.