Oracle Coherence

Session Management


One common use case for Oracle Coherence clustering is to manage user sessions (conversational state) in the cluster. This capability is provided by the Coherence*Web module, which is a built-in feature of Oracle Coherence. Coherence*Web provides linear scalability for HTTP Session Management in clusters of hundreds of production servers. It can achieve this linear scalability because at its core it is built on Oracle Coherence dynamic partitioning.

Session management highlights the scalability problem that typifies shared data sources: If an application could not share data across the servers, it would have to delegate that data management entirely to the shared store, which is typically the application's database. If the HTTP session were stored in the database, each HTTP request (in the absence of sticky load-balancing) would require a read from the database, causing the desired reads-per-second from the database to increase linearly with the size of the server cluster. Further, each HTTP request causes an update of its corresponding HTTP session, so regardless of sticky load balancing, to ensure that HTTP session data is not lost when a server fails the desired writes-per-second to the database will also increase linearly with the size of the server cluster. In both cases, the actual reads and writes per second that a database is capable of does not scale in relation to the number of servers requesting those reads and writes, and the database quickly becomes a bottleneck, forcing availability, reliability (e.g. asynchronous writes) and performance compromises. Additionally, related to performance, each read from a database has an associated latency, and that latency increases dramatically as the database experiences increasing load.

Coherence*Web, on the other hand, has the same latency in a 2-server cluster as it has in a 200-server cluster, since all HTTP session read operations that cannot be handled locally (e.g. locality as the result of to sticky load balancing) are spread out evenly across the rest of the cluster, and all update operations (which must be handled remotely to ensure survival of the HTTP sessions) are likewise spread out evenly across the rest of the cluster. The result is linear scalability with constant latency, regardless of the size of the cluster.

Lastly, partitioning supports linear scalability of both data capacity and throughput. It accomplishes the scalability of data capacity by evenly balancing the data across all servers, so four servers can naturally manage two times as much data as two servers. Scalability of throughput is also a direct result of load-balancing the data across all servers, since as servers are added, each server is able to utilize its full processing power to manage a smaller and smaller percentage of the overall data set. For example, in a ten-server cluster each server has to manage 10% of the data operations, and – since Oracle Coherence uses a peer-to-peer architecture – 10% of those operations are coming from each server. With ten times that many servers (i.e. 100 servers), each server is managing only 1% of the data operations, and only 1% of those operations are coming from each server – but there are ten times as many servers, so the cluster is accomplishing ten times the total number of operations! In the 10-server example, if each of the ten servers was issuing 100 operations per second, they would each be sending 10 of those operations to each of the other servers, and the result would be that each server was receiving 100 operations (10x10) that it was responsible for processing. In the 100-server example, each would still be issuing 100 operations per second, but each would be sending only one operation to each of the other servers, so the result would be that each server was receiving 100 operations (100x1) that it was responsible for processing. This linear scalability is made possible by modern switched network architectures that provide backplanes that scale linearly to the number of ports on the switch, providing each port with dedicated fully-duplexed (upstream and downstream) bandwidth. Since each server is only sending and receiving 100 operations (in both the 10-server and 100-server examples), the network bandwidth utilization is roughly constant per port regardless of the number of servers in the cluster.
 
NEW! - Oracle Coherence 3.5.2
New version of the next major release of Coherence available for download.

Downloads
bullet Coherence 3.5.2 for Java
bullet Coherence 3.5.2 for the .NET Framework
bullet Coherence 3.5.2 for C++
The Coherence Incubator
bullet Coherence Common bullet Functor Pattern
bullet Processing Pattern bullet Messaging Pattern
bullet Command Common bullet Push Replication Pattern

Technical Information
bullet
bullet Coherence Knowledge Base: Coherence 3.5.2 User Guide  WIKI
Online Documentation, Release Notes, and Coherence User Guides.
bullet Oracle Coherence Discussion Forums
bullet Defining a Data Grid
bullet NEW!  The Coherence Examples
bullet Oracle by Example Series: Oracle Coherence
User Guide and Documentation
bullet
bullet Coherence 3.5.2 Release Notes
bullet Oracle Coherence User Guide
bullet Installing Oracle Coherence
bullet JavaDoc API: Coherence 3.5.2 JavaDoc
bullet Coherence 3.5.2 for the .NET Framework API
bullet Doxygen: Coherence 3.5.2 for C++ Doxygen
Customer Case Studies
NEW!  Oracle announces 2009 Oracle Innovation Awards
Global Award Recognizes Customers for Innovative Deployments of Oracle Fusion Middleware
Leading Organizations Worldwide Choose Oracle Fusion Middleware 11g R1
Oriental Overseas Container Line Cuts Development Cycle by 50% (Case Study)
Making Healthcare Work - US Oncology: Rethinking Cancer Care (Profit Magazine)
Avis Budget Group, Inc. Improves Customer Experience with Service-Oriented Architecture (Case Study)
Telenet Meets Growing Customer Demand for Digital Television Service with Highly Scalable IT Platform
Evident Software Embeds In-memory Distributed-data Grid Solution for Optimized Business Performance
All Coherence Case Studies...

What's New
NEW!  Data Grid Design Patterns (InfoQ - recorded presentation from QCon 2009)
Conversations with Oracle Innovators: Q & A with Cameron Purdy, VP Development, Oracle Coherence
Leading Analyst Firm Positions Oracle in the Leader's Quadrant for Enterprise Application Servers
OpenWorld 2009 Focus On Application Grid: Coherence, WebLogic Server, Tuxedo, JRockit, Enterprise Manager and Virtualization
Transforming the Reconciliation Process (InfoQ - recorded presentation from QCon 2009)
Squarespace Architecture - A Grid Handles Hundreds of Millions of Requests a Month
Gartner, Who's Who in Distributed Caching Platforms: IBM, Microsoft, and Oracle
All Coherence News...
All Coherence Webcasts...
Data Sheets and White Papers
Coherence Planning: From Proof of Concept to Production (PDF)
Oracle Coherence - data sheet (PDF)
Oracle Coherence Suite - data sheet (PDF)
Oracle Coherence for the Microsoft .NET framework - data sheet (PDF)
Oracle Coherence for C++ - data sheet (PDF)
Oracle Coherence*Web - data sheet (PDF)
Oracle Coherence for Mainframe Offloading - data sheet (PDF)
Oracle Enterprise Manager 10g: Oracle Management Pack for Oracle Coherence - data sheet (PDF)
Understanding TopLink Grid
Grid Computing: Enabling the Hyper-Efficient Data Center (eBook)
Oracle Grid Computing (PDF)
Data Grids and Service-Oriented Architecture (PDF)
Achieving the Impossible: Unlimited Application Scalability (PDF)
Extreme Performance, Predictable and Economical Scalability, and Continuous Availability for J2EE Applications (PDF)
Creating Oracle Coherence Caches in Oracle JDeveloper
Calculating the ROI for Clustered Caching and Data Grid Solutions (PDF)
 

 
Free Download

Left Curve
Oracle Store
Right Curve

Buy Oracle Coherence online at the Oracle Store


Left Curve
Webcasts & Videos
Right Curve
 · REGISTER!  Free Webinar: Scaling Enterprise Web Beyond Boundaries Thursday, November 12
 · Data Grid Design Patterns (InfoQ)
 · Transforming the Reconciliation Process (InfoQ)
   More...

Left Curve
Related Products
Right Curve
 · Coherence Suite
 · WebLogic Suite

Left Curve
Offers
Right Curve
 · NEW!  Oracle Fusion Middleware Web Application Assessment Program - FREE Half Day Assessment
 · NEW!  Sun Systems for Oracle Coherence

Left Curve
Documentation
Right Curve
 · Coherence Documentation
(OTN Library)
 · Coherence Knowledge Base
(WIKI, User Guide, Release Notes)

Left Curve
Oracle University
Right Curve
 · Oracle Coherence: Share and Manage Data In Clusters

Left Curve
Resources
Right Curve
 · The Coherence Incubator
 · Coherence Discussion Forums
 · Coherence FAQ
 · Coherence JavaDoc API
 · Coherence for the .NET Framework API
 · Doxygen: Coherence for C++ API
 · Oracle Coherence Resource Kit
 · The Coherence Examples

Left Curve
Oracle by Example
Right Curve
 · Oracle Coherence and Oracle WebLogic Server: Setting Up an Eclipse Development Environment

Left Curve
Events
Right Curve
 · Oracle Coherence at OpenWorld
 · Application Grid at OpenWorld
 · Coherence Events
(Coherence Expert Presentations in a City Near You)

Left Curve
User Groups
Right Curve
 · London Coherence SIG
 · Bay Area Coherence SIG
 · NY Coherence SIG
 · Coherence Oracle Mix Group

Left Curve
News
Right Curve
 · Conversations with Oracle Innovators: Q & A with Cameron Purdy, VP Development, Oracle Coherence
 · Gartner, Who's Who in Distributed Caching Platforms: IBM, Microsoft, and Oracle
   More...

Left Curve
Discussion Forums
Right Curve
 · Oracle Coherence
 · Coherence Suite
 · Coherence Incubator

Left Curve
Blogs
Right Curve
 · Coherence RSS Feed

E-mail this page
Printer View Printer View
Oracle Is The Information Company About Oracle | Oracle RSS Feeds | Careers | Contact Us | Site Maps | Legal Notices | Terms of Use | Privacy