Oracle Coherence

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Oracle Coherence - Presentation Transcript

    1. Oracle Coherence
      לירן זילכה
      מנכ"ל משותף
      Liran.zelkha@alunasoft.com
    2. Aluna
      Israel’s leading Java/JavaEE and SOA consulting company
      Customers:
    3. What is Oracle Coherence?
      Distributed Memory Data Management Solution
      (aka: Data Grid)
    4. How Can a Data Grid Help?
      Provides a reliable data tier with a single, consistent view of data
      Enables dynamic data capacity including fault tolerance and load balancing
      Ensures that data capacity scales with processing capacity
    5. DataGrid View
      Web
      Services
      Enterprise
      Applications
      Real Time
      Clients
      Application Tier
      Data Services
      Coherence™
      Data Grid
      Data Sources
      Databases
      Web Services
      Mainframes
    6. Oracle Grid Computing: Enterprise Ready
      Enterprise Application Grid
      Extreme Transaction Processing XTP
      • Common Shared Application Infrastructure (Application Virtualization)
      • Data Virtualization (Data as a Service)
      • Middle tier scale out for Grid Based OLTP
      • Massive Persistent scale out with Oracle RAC
      Application
      Tier
      Oracle Coherence
      Oracle RAC
    7. Requirements of Enterprise Data Grid
      Reliable
      Universal
      Scalable
      Data
      • Dynamically Expandable
      • No data loss at any volume
      • No interruption of service
      • Leverage Commodity Hardware
      • Cost Effective
      • Single view of data
      • Single management view
      • Simple programming model
      • Any Application
      • Any Data Source
      • Built for continuous operation
      • Data Fault Tolerance
      • Self-Diagnosis and Healing
      • “Once and Only Once” Processing
      • Data Caching
      • Analytics
      • Transaction Processing
      • Event Processing
    8. How Does Coherence Work?
      Cluster of nodes holding % of primary data locally
      Back-up of primary data is distributed across all other nodes
      Logical view of all data from any node
    9. How Does Coherence Work?
      • All nodes verify health of each other
      • In the event a node is unhealthy, other nodes diagnose state
    10. How Does Coherence Work?
      • Unhealthy node isolated from cluster
      • Remaining nodes redistribute primary and back-up responsibilities to healthy nodes
      X
    11. Customer Scenarios
      Caching
      Applications request data from the Data Grid rather than backend data sources
      Analytics
      Applications ask the Data Grid questions from simple queries to advanced scenario modeling
      Transactions
      Data Grid acts as a transactional System of Record, hosting data and business logic
      Events
      Automated processing based on event
    12. Demo
    13. Topology #1 - Replicated Cache
    14. Topology #1 - Replicated Cache
    15. Topology #2 - Partitioned Cache
    16. Topology #2 - Guaranteed Cluster Resiliency
    17. Topology #2 - Partitioned Failover
    18. Topology #2a – Cache Client/Cache Server
    19. Topology #3 - Near Cache
    20. Use Case: Coherence*Web
      Coherence*Web is an HTTP session-management module (built-in feature of Coherence)
      Supports a wide range of application servers.
      Does not require any changes to the application.
      Coherence*Web uses the NearCache technology to provide fully fault-tolerant caching, with almost unlimited scalability (to several hundred cluster nodes without issue).
      Heterogeneous applications running on mixed hardware/OS/application servers can share common user session data. This dramatically simplifies supporting Single-Sign-On across applications.
    21. Coherence*Web: Session State Management
      Web
      Tier
      Web Application
      ApplicationState
      Router
      CoherenceWeb
      Java EE or ServletContainer
      Web Application
      ApplicationState
      CoherenceWeb
      Java EE or ServletContainer
      Web Application
      ApplicationState
      CoherenceWeb
      Load
      Balanced
      Java EE or ServletContainer
      Clustered Oracle, WebLogic, WebSphere, JBoss, Tomcat
      In Memory Coherence Data Grid for Session State
    22. Read-Through Caching
    23. Write-Through Caching
    24. Write-Behind Caching
    25. Transaction
      Implicit: Queuing of operations
      Virtual queue & thread per entry
      Explicit: Pessimistic locking
      Grid-Wide Mutex
      Transactions: Unit of work management
      Both optimistic and pessimistic transactions
      Isolation levels from read-committed through serializable
      Integrated with JTA
    26. Transaction
    27. Events
      Universal: All data sets provide events, regardless of the topology.
      Distributed: The events are always delivered efficiently to the interested listeners.
      Regardless of originating node
      Flexible:
      Listen to entire data sets, specific identities, and even to queries!
      Provides “before” and “after” state
      Both sync and async event models
    28. Events
    29. Query
      Parallel Query: A query is performed in parallel across the Data Grid, using indexing and a iterative Cost Based Optimizer.
      Customizable predicates
      Custom indexes
      Custom aggregators
      Continuous Query: Combines a query with events to provide a local materialized view.
      Result is up-to-date in real-time
      Like the Near Topology, but it always contains the desired data
    30. Query
    31. InvocableMap – Server Side Processing
    32. Coherence*Extend
      Supports “fat client” real-time applications such as trading desks, as well as other server tiers
      WAN support
      Connection to the cluster is over TCP
      Continuous query can be used to maintain real-time query results on the desktop!
    33. Tangosol Cluster Management Protocol (TCMP)
      Coherence’s own protocol between cluster members
      TCMP utilizes UDP
      Massively scalable
      Asynchronous
      Point-to-point
      UDP Multicast is used for:
      New JVMs to join the cluster automatically
      Maintaining cluster membership
      Multicast is not required; it may be disabled with Well Known Addresses (WKA)
      UDP Unicast is used for most communication
      Very fast and scalable
      TCMP guarantees packet order and delivery
      TCP/IP connections do not need to be maintained
    34. Clustering is about Consensus!
      Oracle Coherence Clustering is very different!
      Goal:
      Maintain Cluster Membership Consensus all times
      Do it as fast as physically possible
      Do it without a single point of failure or registry of members
      Ensure all members have the same responsibility and work together to maintain consensus
      Ensure that no voting occurs to determine membership
    35. Clustering is about Consensus!
      Why: If all members are always known…
      We can partition / load balance Data & Services
      We don’t need to hold TCP/IP connections open (resource intensive)
      Any member can “talk” directly with any other member (peer-to-peer)
      The cluster can dynamically (while running) scale to any size
    36. Benchmarking Coherence
      • Aggregation (DoubleSum) of Trade objects
      • Scale out testing on Dual 2.3GHz PowerPC G5 Xserve
      • Use of on index for direct access
      • if you need to achieve 1,837,932 trade aggregations per second all that is required is to start 16 more cache servers across four more machines.
    37. Coherence Management and Monitoring
      Management Features
      Coherence provides standard JMX APIs
      Cluster-wide JMX: Ability to monitor and manage the entire cluster from any node
      Customizable web-based console
      Does not require an mBean server or any JMX libraries on managed nodes
      Support custom application mBeans
      Support for Coherence*Web
    SlideShare Zeitgeist 2009

    + Liran ZelkhaLiran Zelkha Nominate

    custom

    711 views, 0 favs, 0 embeds more stats

    Introduction to Oracle Coherence

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 711
      • 711 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 31
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories