• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Partner Webcast – Introduction to Oracle Coherence - 21 May 2013
 

Partner Webcast – Introduction to Oracle Coherence - 21 May 2013

on

  • 576 views

The Industry's Leading In-Memory Data Grid Solution. ...

The Industry's Leading In-Memory Data Grid Solution.
Oracle Coherence is an in-memory data grid solution that enables organizations to predictably scale mission-critical applications by providing fast and reliable access to frequently used data. Oracle Coherence was originally designed as being a cache, but it has evolved significantly from its caching roots.
Coherence provides replicated and distributed (partitioned) data management and caching services on top of a reliable, highly scalable peer-to-peer clustering protocol. By automatically and dynamically partitioning data, Oracle Coherence ensures continuous data availability, even in the event of a server failure. Coherence has no single points of failure; it automatically and transparently fails over and redistributes its clustered data management services when a server becomes unavailable.
[Read More at https://blogs.oracle.com/imc/entry/partner_webcast_introduction_to_oracle]

Statistics

Views

Total Views
576
Views on SlideShare
575
Embed Views
1

Actions

Likes
0
Downloads
17
Comments
0

1 Embed 1

http://digg.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Partner Webcast – Introduction to Oracle Coherence - 21 May 2013 Partner Webcast – Introduction to Oracle Coherence - 21 May 2013 Presentation Transcript

    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 121CUSTOMER LOGO“This slide format serves to call attention to aquote from a prominent customer, executive, orthought leader in regards to a particular topic.” Name Title, Company Nameblogs.oracle.com/IMC
    • Introduction to OracleCoherenceGokhan GungorOracle ISV Migration Center Consultantgokhan.gungor@oracle.com@gokhangungor1
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 123<Insert Picture Here>Agenda Coherence Overview Introduction to Data Grids What Is Coherence? Coherence Concepts and Architecture Coherence and WebLogic Server Coherence Clusters– Coherence and WebLogic Server Q&A
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 124Re-Thinking Application Infrastructure– Most enterprise-class systems suffer some form of performancedegradation in their lifetime They are typically unexpected, unacceptable, and inconvenient The solutions are mission-critical– You are here because You have observed, suspect, or have been told, “The system isslow,” and you need to find a solution You are working on a new project and would like to avoid suchissues
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 125System Performance Degradation– Performance Bottleneck Upgraded to the latest versions of components Adopted the latest and most efficient language features Implemented the most efficient data-structures and algorithms Deployed on the best hardware available Tuned the operating systems– SolutionCaching
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 126Performance Problems– When told, “The system is slow,” it doesn’t mean the system isperforming poorly. It’s an observation about response time Often unrelated to system performance Many factors contribute to perceived performance degradation– Observed “slowness” is based on the relative response time increasesbetween uses of a system. “I used the system this morning and it took n seconds, but now it’smuch slower”
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 127Why Go Outside the Database to Scale JavaApplications?A HUGE performance bottleneck:Volume / Complexity / Frequency of Data AccessApplication DatabaseObjectJava SQLRelational
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 128What Is Coherence? Coherence is an in-memory data grid that allows for the eliminationof single points of failure and single points of bottlenecks in anapplication by distributing application objects and logic across multiplephysical servers.Application objects areready for use on allservers.Objects are distributedacross members in thecluster.Single system imageDistributedprocessing
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 129What Is Coherence?Cluster-based Data Management Solution for Applications– Provides highly available and predictably horizontally scalableinfrastructure for managing application data– Ensures that information managed by a collection of servers in a systemis kept coherent such that the servers may operate independently ofeach other, providing the necessary processing capacity as required– Ensures that caches remain coherent across the collection of serversOr… Distributed Memory Data Management Solution
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1210What Is Coherence?– The traditional scale-out approach limits scalability,availability, reliability, and performance.– With Coherence: Cluster members share responsibilities, includingdata, health, core services, and monitoring Processing is shared Data management is shared There is no master nor slave, but rather allmembers work together
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1211What Oracle Coherence isn’t! It’s not an in-memory-database– Though it’s often used for transactional state and as a transientsystem-of-record– Used for eXtreme Transaction Processing You can however:– Do queries – in a parallel – but not restricted to relational-style (it’snot a RDBMS)– Use SQL-like queries– Perform indexing (like a DB)– Do things like Stored Procedures– Establish real-time views (like Materialized Views)
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1212Coherence PrinciplesRequirement DescriptionReliable • Designed for continuous operation• Data is fault-tolerant.• Self-repairing (for example, replication and backup between gridelements is automatic)Scalable • Dynamic capacity: can seamlessly grow capacity• Data is always preserved.• No service interruption when adding capacity• Cost-effectiveUnifiedApplicationView• All applications, regardless of language, see the same data.• Operations are reflected on all instances.• Simple, consistent data model from all applicationsData Support • Supports XA-style transactions• Robust event model• Robust security modelIntegration • Broad integration support including: multiple languages, multipleplatforms, multiple databases (as well as JPA) and application servers
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1213What Is a Coherence Cluster? A Coherence cluster:– Is a group of: Cluster memberscommunicating viaTCMP Specified by a commoncluster name– Can be expanded seamlessly byadding new cluster membersCluster members work together toperform the services of a data grid.
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1214Coherence Cluster Concepts– A Coherence cluster is a looseset of members.– A Coherence member: Is typically a Java processexecuting CoherenceDefaultCacheServer May be run stand-alone, orwithin an application such as anapplication server Supports one or more caches– Caches contain data accessedby applications.ClusterMany members may be run ona single physical machine.
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1215Coherence Data Grids and Fault Tolerance– All members have the same responsibilityand work together to maintain consensus.– Cluster members: Monitor the health of one another Maintain consensus at all times Work cooperatively to diagnose the state offailing members– Healthy members immediately assume theresponsibilities of the failing members.– As a result, when a members fails, clusteroperation continues without serviceinterruption or loss of data.?
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1216What Is a Coherence Cluster Member? A Coherence cluster member:– Is a process that either: Joins a cluster, or Is an instance of CoherenceDefaultCacheServer– May contain data, run processing, andserve events– Is normally defined by a cacheconfiguration– Uses TCMP to communicate with othermembersJVMReferred to as amember or clustermember
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1217Local Storage Local storage:– Is Java VM heap memoryused to maintain applicationdata for caches– Can cause performanceissues when applications joinand leave the cluster due torepartitioning or redistributionof data– May cause data thrashing fortransient application clients– Can optionally be disabled
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1218What Is a Coherence Cache? Coherence caches:– Are an in-memory data structureused by applications to accessshared data– Map keys to values– Are referenced in applications byname– Are typically clustered– Come in a variety of types such aslocal, replicated, partitioned, andothers– Are backed by servicesKeysObjects aCache. . .
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1219What Are Coherence Services? Coherence services:– Are uniquely named, asynchronous threads– Provide specific services in support ofcaches and other Coherence functions, suchas events and invocation– Are defined and configurable in operationalconfiguration files– May be started automaticallyIncomingrequestsServicethreadsCompletedrequests
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1220What Is a Coherence Partition?– Coherence supports the concept of a partitioned cache– A partitioned cache: Has a single logical data view Breaks data into sets, or partitions, of data Stores partitions on multiple cluster members Delegates data storage to a backing map
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1221Supported Platforms and Integrations Coherence provides support for several languages,integrations, and platforms, including:– Coherence*Extend: Extends the reach of thecore Coherence cluster to a wider range ofconsumers, including Java, C++, and .NET– Coherence*Web: An HTTP sessionmanagement module dedicated to managingsessions– Supported integrations: Coherence supportsout-of-the-box integrations with a variety ofother platforms including TopLink, EclipseLink,and generic JPA
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1222Coherence*Extend– Coherence*Extend allows applications to harness the power of theCoherence data grid without taking on the responsibilities of being a“good citizen” of the grid.– With Coherence*Extend, there is: No in-process transport No cluster and service membership No data ownership– Coherence*Extend clients can be written in a variety languages,including: Java C++ .NET
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1223Coherence*WebCoherence*Web:– Is an HTTP session state-management framework for J2EEapplication server– Replaces the existing HTTP sessionstate replication– Benefits include: Policy-based sophisticated statemanagement Optional offloading of statemanagement to an independent tierfrom the application server Advanced options for controllingstorage of HTTP sessions
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1224Coherence Data Grid Solution SetCoherenceGridEditionCoherenceStandardEditionDataClientCoherenceEnterpriseEditionReal-TimeClientSOA EDA
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1225Standard EditionCoherence Standard Edition:– Provides entry-level application caching solution– Brings the fault tolerance to data cachingStandard Edition benefits include:– Manageability for embedded use– Scalability and reliability– Ability to access Coherencedata grids CoherenceStandardEdition
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1226Coherence Enterprise EditionCoherence Enterprise Edition:– Provides mid-level application data management features such as: Fault-tolerant data caching Data management, transactions, analytics, and events– Supports application server cachingEnterprise Edition benefits include:– All the benefits of Standard Edition– Manageability for embedded use– Support for queries, transactions,different types of caching,and compute grid featuresCoherenceEnterpriseEdition
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1227Coherence Grid EditionCoherence Grid Edition:– Is a shared data services infrastructure platform within the datacenter– Enterprise-wide data management and integration platformCoherence Grid Edition benefits include:– All the benefits of Enterprise Edition– Support for multisite data gridinfrastructure– Cross-platform real-time client support: Data client Real-time client– Support for queries, transactions,write-behind caching, and compute grid featuresCoherenceGridEditionSOA EDA
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1228Coherence and WebLogic Server– Active Cache is a combination of features, grouped together, releasedwith WLS 10.3.4, which includes: Coherence caches: Support of multiple methods to access cachesand deploy Coherence instances (via EAR, WAR, and others) Coherence*Web: Support for Coherence as the session-management layer TopLink Grid: An object-to-relational persistence framework,provided out of the box with WebLogic ServerWLSCollectively, these features are referred to as Active Cache!
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1229Coherence and WebLogic Server Coherence, when packaged with WebLogic Server provides thefollowing main features:– Coherence data caches: All the features and functions of Coherencecaching– Coherence*Web: Providing session management via CoherenceWLS Collectively, these features are referred to asActive Cache.
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1230Coherence and WebLogic Server WebLogic Server provides the ability to start, stop, and monitorCoherence cluster instances via functionality known as NodeManager.WLSTAdmin ServerNodeManagerServerServerServerStart/stopRestartMonitor
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1231Coherence Deployment Topologies– Coherence can be deployed in any of several ways within an instanceof WebLogic Server and is typically referred to as a deploymenttopology.– Deployment topologies include: Out of Process: Instances of Coherence are stand-alone andseparate from WLS instances creating a separate data tier. All WLSinstances are storage disabled. In Process: All instances of Coherence are storage-enabled, with aCoherence node co-located with a WLS server. WebLogic Out of Process: A variation of the prior topology, but withsome WLS instances storage enabled, and some disabled, suchthat the storage-enabled WLS instances provide caching for thosewith storage disabled.
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1232Command Line Scoped orOut of Process– Coherence is started via the cache-server.[sh|cmd]or a custom script runningcom.tangosol.net.DefaultCacheServer.– Each JVM is a separate instance of Coherence.– Application classes are added to the class path./opt/coherence > bin/cache-server.cmd. . .Oracle Coherence Version 3.6.1.0 Build 19636Grid Edition: Development modeCopyright (c) 2000, 2010, Oracle and/or its affiliates. All rightsreserved. . . .One instance or memberper running JVMNot a WLS deployment topology per se, but applications can access coherence inthis fashion. So here for completeness.
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1233Application Server Scoped orIn Process– coherence.jar is deployed via the applicationserver class path.– A single instance of Coherenceexists that spans theapplication server instances.– Requires that all applicationsusing Coherence usethe same version andbe part of the same cluster– Application scoped Coherence requiresthe least system resources.. . .PRE_CLASSPATH=${COHERENCE_HOME}/lib/coherence.jar. . . setDomainEnv.shOne instance perapp. serverOr as asystem library
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1234Enterprise Application Scoped orIn-Process EAR Scoped– coherence.jar Is deployed via theapplications classpath Is listed in the META-INF/application.xml– Each enterprise application represents an instanceof Coherence.– Different enterprise applications may use differingversions of Coherence.– In-Process EAR scoped Coherence requiresmoderate amounts of system resources.One instance perenterprise application(EAR)
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1235Web Application Scoped orIn-process WAR Scoped– coherence.jar is deployed as part of theWAR, typically in WEB-INF/lib.– Each web application represents its owninstance of Coherence.– Different applications may use differentversions of Coherence.– In-process WAR scoped Coherence requiresthe most resources.
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1236Application Deployment Coherence supports deploying applications and classes in a varietyof ways.–Stand-alone–Web or Enterprise Application–Via Coherence*Extend
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1237Obtaining Coherence– Oracle Coherence Is provided in a platform-agnostic zip file.– Minimum requirements include: 65 MB or more of disk space 1GB of RAM (assuming a max Java heapof 512 MB) 1.5 JVM or later Functional network adapter
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1238Summary• CachingApplications request data from the Data Grid rather thanbackend data sources• AnalyticsApplications ask the Data Grid questions from simple queries toadvanced scenario modeling• TransactionsData Grid acts as a transactional System of Record, hostingdata and business logic• EventsAutomated processing based on eventWhy Oracle Coherence?
    • Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1239CUSTOMER LOGO“This slide format serves to call attention to aquote from a prominent customer, executive, orthought leader in regards to a particular topic.” Name Title, Company Nametwitter.com/oracleimc