Skip Headers
Oracle® Coherence Getting Started Guide
Release 3.5
Part Number E14510-01
Home
Book List
Contact Us
Next
View PDF
Contents
List of Examples
List of Figures
List of Tables
Title and Copyright Information
Preface
Audience
Documentation Accessibility
Related Documents
Conventions
Part I Coherence Concepts
1
Defining a Data Grid
2
Provide a Data Grid
Targeted Execution
Parallel Execution
Query-Based Execution
Data-Grid-Wide Execution
Agents for Targeted, Parallel and Query-Based Execution
Data Grid Aggregation
Node-Based Execution
Work Manager
Oracle Coherence Work Manager: Feedback from a Major Financial Institution
Summary
3
Provide a Queryable Data Fabric
Data Fabric
EIS and Database Integration
Queryable
Continuous Query
Summary
4
Cluster Your Objects and Data
Coherence and Clustered Data
Availability
Supporting Redundancy in Java Applications
Enabling Dynamic Cluster Membership
Exposing Knowledge of Server Failure
Eliminating Other Single Points Of Failure (SPOFs)
Providing Support for Disaster Recovery (DR) and Contingency Planning
Reliability
Scalability
Distributed Caching
Partitioning
Session Management
Performance
Replication
Near Caching
Write-Behind, Write-Coalescing and Write-Batching
Serviceability
Manageability
Summary
5
Deliver Events for Changes as they Occur
Listener Interface and Event Object
Caches and Classes that Support Events
Signing Up for All Events
Using an Inner Class as a MapListener
Configuring a MapListener for a Cache
Signing up for Events on specific identities
Filtering Events
"Lite" Events
Advanced: Listening to Queries
Filtering Events Versus Filtering Cached Data
Advanced: Synthetic Events
Advanced: Backing Map Events
Producing Readable Backing MapListener Events from Distributed Caches
Advanced: Synchronous Event Listeners
Summary
6
Automatically Manage Dynamic Cluster Membership
Cluster and Service Objects
Member object
Listener interface and Event object
7
Managing an Object Model
Cache Usage Paradigms
Techniques to Manage the Object Model
Domain Model
Best Practices for Data Access Objects in Coherence
Service Layer
Automatic Transaction Management
Explicit Transaction Management
Optimized Transaction Processing
Managing Collections of Child Objects
Shared Child Objects
Owned Child Objects
Bottom-Up Management of Child Objects
Bi-Directional Management of Child Objects
Colocating Owned Objects
Denormalization
Affinity
Managing Shared Objects
Refactoring Existing DAOs
8
Overview for Implementors
Basic Concepts
Clustered Data Management
A single API for the logical layer, XML configuration for the physical layer
Caching Strategies
Data Storage Options
Serialization Options
Configurability and Extensibility
Namespace Hierarchy
Read/Write Caching
NamedCache
Requirements for Cached Objects
NamedCache Usage Patterns
Querying the Cache
Transactions
HTTP Session Management
Invocation Service
Events
Object-Relational Mapping Integration
C++/.NET Integration
Management and Monitoring
9
Read-Through, Write-Through, Write-Behind, and Refresh-Ahead Caching
Pluggable Cache Store
Read-Through Caching
Write-Through Caching
Write-Behind Caching
Write-Behind Requirements
Refresh-Ahead Caching
Selecting a Cache Strategy
Read-Through/Write-Through versus Cache-Aside
Refresh-Ahead versus Read-Through
Write-Behind versus Write-Through
Idempotency
Write-Through Limitations
Cache Queries
Creating a CacheStore Implementation
Plugging in a CacheStore Implementation
Implementation Considerations
Re-entrant Calls
Cache Server Classpath
CacheStore Collection Operations
Connection Pools
10
Coherence*Extend
Types of Clients
Proxy Service Overview
11
Real Time Client—RTC
Uses
Cache Access
Local Caches
Event Notification
Agent Invocation
Connection Failover
12
Clustering
13
Cluster Services Overview
14
Replicated Cache Service
15
Partitioned Cache Service
16
Near Cache
Near Cache Invalidation Strategies
Configuring the Near Cache
Obtaining a Near Cache Reference
Cleaning Up Resources Associated with a Near Cache
Sample Near Cache Configuration
17
Storage and Backing Map
Cache Layers
Operations
Capacity Planning
Partitioned Backing Maps
18
Local Storage
19
Local Cache
Configuring the Local Cache
20
Best Practices
Coherence and Cache Topologies
Data Access Patterns
Data Access Distribution (hot spots)
Cluster-node Affinity
Read/Write Ratio and Data Sizes
Interleaving Cache Reads and Writes
Heap Size Considerations
Using Several Small Heaps
Moving the Cache Out of the Application Heap
21
Network Protocols
Coherence and the TCMP Protocol
Protocol Reliability
Protocol Resource Utilization
Protocol Tunability
Multicast Scope
Disabling Multicast
22
The Coherence Ecosystem
Breakdown of Coherence editions
Coherence Client and Server Connections
Coherence Modules Involved in Connecting Client and Server Editions
How a Single Coherence Client Process Connects to a Single Coherence Server
Considering Multiple Clients and Servers
23
Session Management for Clustered Applications
Basic Terminology
Sharing Data in a Clustered Environment
Reliability and Availability
Scalability and Performance
Conclusion
24
The Portable Object Format
Overview
Why Should I Use POF
Working with POF
Implementing the PortableObject interface
Implementing the PofSerializer interface:
Assigning POF indexes
The ConfigurablePofContext
Configuring Coherence to use the ConfigurablePofContext
Summary
25
PofExtractors and PofUpdaters
Overview
Navigating a POF object
Using PofExtractors
Using PofUpdaters
Part II Installing Coherence
26
Installing Oracle Coherence
Downloading and Extracting Coherence
Installing Coherence
Verifying that Multiple Nodes and Servers are Able to Form a Cluster
A
Coherence Features by Edition
Coherence Server Editions
Coherence Client Editions
B
AbstractMultiplexingBackingMapListener Class Listing
Glossary