Coherence
Oracle Coherence is an in-memory data grid platform designed for data management and grid computing, primarily targeting enterprises that need to scale mission-critical applications by offloading backend systems.
Publisher review
Oracle Coherence is an in-memory data grid platform designed for data management and grid computing, primarily targeting enterprises that need to scale mission-critical applications by offloading backend systems. It serves as a fast, key-value store with optional persistence, enabling quick data access while supporting parallel distributed computing algorithms and event-driven architectures. The platform is particularly suited for organizations running Oracle ecosystems, as it integrates with popular frameworks and can store data in microservices and AI applications. Coherence is positioned as the world's first and leading in-memory data grid, with a reputation for proven robustness and the richest feature set in the market, making it a choice for large-scale, high-availability deployments where performance and reliability are non-negotiable.
Coherence operates through fault-tolerant automatic sharding, distributing data across cluster nodes to ensure high availability and low-latency access. It offers polyglot and REST interfaces, allowing diverse clients to interact with the grid, and supports querying, transactions, eventing, and in-place processing—meaning computation can be pushed to where data resides rather than moving data to compute nodes. Additional capabilities include change data capture for real-time synchronization, multi-site federation for geographically distributed clusters, and messaging for asynchronous communication. The platform is cloud-ready and can be deployed on-premises or in cloud environments, with features like automatic sharding and replication ensuring resilience against node failures. Coherence also provides a fast, key-value store with optional persistence to disk, balancing speed with durability.
In the in-memory data grid market, Coherence competes directly with Hazelcast, Apache Ignite, Pivotal Gemfire, and Software AG Terracotta. While Hazelcast markets itself as an easier-to-scale alternative with simpler licensing, Coherence differentiates through its depth of features—such as multi-site federation and change data capture—that are critical for complex enterprise architectures. Apache Ignite offers similar distributed computing capabilities but lacks the same level of integration with Oracle products. Pivotal Gemfire, now part of VMware Tanzu, targets similar use cases but with a different operational model. Coherence's market position is strengthened by its long history and proven track record in mission-critical environments, but its licensing complexity often gives competitors an edge in cost-sensitive evaluations.
The honest trade-offs with Coherence revolve around its licensing model and cost structure. Licensed per processor on every node in the cluster, the total cost depends heavily on core factor math and cluster sizing, which can make the bill reasonable or brutal. Support costs add an additional 22% of the net license annually, and non-production nodes—such as those for disaster recovery and test environments—often require licenses, inflating expenses. While the feature set is extensive, the complexity of configuration and the need for Oracle expertise can increase operational overhead. For teams that do not require the full breadth of features, lighter alternatives like Hazelcast may offer faster time-to-value with lower upfront costs.
How it works
-
In-memory data grid
World's first in-memory data grid, providing fast key-value storage with optional persistence for low-latency data access.
-
Fault-tolerant automatic sharding
Automatically distributes data across cluster nodes, ensuring high availability and resilience against node failures.
-
Polyglot and REST interfaces
Supports multiple programming languages and REST APIs, enabling diverse clients to interact with the data grid.
-
In-place processing
Allows computation to be executed where data resides, reducing data movement and improving performance for distributed algorithms.
-
Change data capture
Captures real-time data changes for synchronization, supporting event-driven architectures and data consistency.
-
Multi-site federation
Enables data replication across geographically distributed clusters for disaster recovery and global deployments.
-
Messaging and eventing
Provides asynchronous messaging and event-driven capabilities for building responsive, decoupled applications.
Strengths and trade-offs
Strengths
- Proven robustness with the richest feature set in the in-memory data grid market, including multi-site federation and change data capture.
- Designed for scaling mission-critical applications by offloading backend systems, supporting parallel distributed computing algorithms.
- Fast key-value store with optional persistence, delivering low-latency data access while maintaining durability.
- Integrates with popular frameworks and supports polyglot and REST interfaces, fitting into diverse enterprise architectures.
Trade-offs
- Licensing is complex, based on processor count per node, with core factor math and cluster sizing making costs unpredictable.
- Support costs add 22% of the net license annually, significantly increasing total cost of ownership over time.
- Non-production nodes, including disaster recovery and test environments, often require licenses, inflating expenses for development setups.
- Grid Edition unlocks advanced features but comes at a higher price point, making it less accessible for smaller deployments.
Pricing context
Licensed per processor on every cluster node; core factor math and cluster sizing determine cost. Support is 22% of net license annually. Grid Edition adds advanced features at a higher price.
Getting started with Coherence
-
Download and install Coherence
Download the Oracle Coherence distribution from the Oracle Technology Network. Extract the archive to a directory on each cluster node, then set the COHERENCE_HOME environment variable to point to that directory.
-
Start a cache server
Open a terminal and navigate to COHERENCE_HOME/bin. Run the cache-server script to start a default cache server instance. This launches a node that joins the cluster and begins accepting data.
-
Configure a cache definition
Create an XML configuration file (e.g., my-cache-config.xml) that defines a named cache with desired settings like backing map scheme, eviction policy, and serialization format. Place it in the classpath.
-
Store and retrieve data
Write a Java client that uses the NamedCache API to put a key-value pair into the cache and then get it back. Run the client, specifying the cache configuration file via the tangosol.coherence.cacheconfig system property.
-
Enable persistence to disk
Modify the cache configuration to add a persistence-manager element pointing to a file-based store. Restart the cache server. Data written to the cache will now be persisted to disk, surviving node restarts.
Frequently Asked Questions
What is Oracle Coherence used for?
Oracle Coherence is an in-memory data grid platform used for scaling mission-critical applications by offloading backend systems. It provides fast key-value storage, supports distributed computing, and enables event-driven architectures, making it ideal for enterprises needing high availability and low-latency data access.
How does Oracle Coherence ensure high availability?
Coherence uses fault-tolerant automatic sharding to distribute data across cluster nodes. This replication ensures resilience against node failures, maintaining high availability and low-latency access. It also supports multi-site federation for geographically distributed clusters, enabling disaster recovery and global deployments.
What are the main features of Oracle Coherence?
Key features include an in-memory data grid with optional persistence, fault-tolerant automatic sharding, polyglot and REST interfaces, in-place processing, change data capture, multi-site federation, and messaging with eventing. These support fast data access, distributed computing, and real-time synchronization for complex enterprise architectures.
How does Oracle Coherence compare to Hazelcast?
Coherence offers a richer feature set including multi-site federation and change data capture, which are critical for complex enterprise architectures. Hazelcast markets itself as easier to scale with simpler licensing, making it a lighter alternative. Coherence's licensing complexity often gives Hazelcast an edge in cost-sensitive evaluations.
What is the Oracle Coherence licensing cost?
Coherence is licensed per processor on every cluster node, with core factor math and cluster sizing determining cost. Support adds 22% of the net license annually. Non-production nodes for disaster recovery and testing often require licenses, inflating expenses. Grid Edition costs more for advanced features.
What are the trade-offs of using Oracle Coherence?
The main trade-offs are its complex licensing and high cost, driven by per-processor pricing and 22% annual support fees. Non-production nodes require licenses, increasing expenses. While feature-rich, configuration complexity and need for Oracle expertise can raise operational overhead, making lighter alternatives like Hazelcast more cost-effective for some teams.
Alternatives
How Coherence compares
Direct head-to-head against 3 competitors. Picked by 7wData.
Coherence
- Pricing
- Licensed per processor on every cluster node; core factor math and cluster sizing determine cost. Support is 22% of net license annually. Grid Edition adds advanced features at a higher price.
- Target
- Oracle Coherence is an in-memory data grid platform designed for data management and grid computing, primarily targeting enterprises that need to scale mission-critical applications by
- Strength
- Proven robustness with the richest feature set in the in-memory data grid market, including multi-site federation and change data capture.
- Watch for
- Licensing is complex, based on processor count per node, with core factor math and cluster sizing making costs unpredictable.
Text Correlation API
- Pricing
- Custom/Contact sales
- Target
- Content analysis, recommendation systems
- Deployment
- Cloud API
- Strength
- Nuanced similarity assessments between texts
- Watch for
- Higher computational resource requirements
Text Similarity Calculator API
- Pricing
- Custom/Contact sales
- Target
- Plagiarism detection, legal docs
- Deployment
- Cloud API
- Strength
- Simple percentage-based similarity scoring
- Watch for
- Limited depth in text analysis
Redis
- Pricing
- Free tier, Pro $29/month
- Target
- Real-time data platforms
- Deployment
- Cloud/on-prem
- Strength
- Built-in automation, modern data models
- Watch for
- Requires data migration from legacy systems
User reviews
No user reviews yet. Be the first to write one.
Sources
Reporting on this tool draws on these publicly available sources.