Top Banner
Oracle Coherence Overview Mike Lehmann Oracle Coherence Product Management [email protected]
31

Innovations in Grid Computing with Oracle Coherence

May 19, 2015

Download

Technology

Bob Rhubart

As presented by Mike Lehmann at Oracle Technology Network Architect Day, Redwood Shores, CA, August 30, 2011.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Innovations in Grid Computing with Oracle Coherence

<Insert Picture Here>

Oracle Coherence Overview

Mike Lehmann

Oracle Coherence Product Management

[email protected]

Page 2: Innovations in Grid Computing with Oracle Coherence

The following is intended to outline general product

use and direction. It is intended for information

purposes only, and may not be incorporated into any

contract. It is not a commitment to deliver any

material, code, or functionality, and should not be

relied upon in making purchasing decisions.

The development, release, and timing of any features

or functionality described for Oracle’s products

remains at the sole discretion of Oracle.

Page 3: Innovations in Grid Computing with Oracle Coherence

Presentation Objectives

To Understand…

1) How Coherence improves performance, enables

linear scalability, and provides availability for

shared services

2) How Coherence leverages its distributed

architecture to enable high performance analytics

and processing on application domain objects

3) Coherence’s roadmap and strategic direction

Page 4: Innovations in Grid Computing with Oracle Coherence

Oracle Fusion MiddlewareComplete, Open, Integrated, Best-in-Class

Development

Tools

User Engagement

SocialWeb Mobile

Enterprise

Management

Identity

Management

Content Management

Business Intelligence

Business Process

Management

Service Integration

Data Integration

Cloud Application

Foundation

Page 5: Innovations in Grid Computing with Oracle Coherence

Oracle Coherence Value Path

Write Behind Caching

C++/.NET Interop

Invocable Map

TopLink Grid

Query MapCache Map

Coherence*Web

Coherence*Web

Observable Map

Lowered Costs Increased Quality of Service

Oracle Coherence Data Grid

Reliability Resource Utilization

Linear ScalabilityPerformance

Interoperability

Availability

Caching

Be

ne

fits

Fe

atu

res

Analytics Transactions Events

Page 6: Innovations in Grid Computing with Oracle Coherence

Enterprise Application Scalability

Challenges

Service Clients

• Browsers, supplier and partner clients, application

clients, mobile apps, and other service consumers.

Service Implementation

• Custom applications, BPM processes, service bus

endpoints, UI services, and other service providers.

Ease of Scaling

Shared Services

• RDBMS, cloud services, supplier and partner

services, mainframe applications, and so on.

• Grows and scales

naturally

• Increasing load

• Computationally

intensive work

• Highly dependent on

shared services

• Complex and

expensive to scale

• High latency SPOB

and SPOF

Page 7: Innovations in Grid Computing with Oracle Coherence

Traditional Clustering

• Dependent on shared service

latency

• Increase in size of cluster

leads to increase in load on

shared serviceService

Node 1

Shared Service

Service

Node 2Service

Node N

Cached Objects

Cached Objects

Cached Objects

Service Clients

• Inconsistent view of data

across cluster nodes

• No possibility for in-memory

analytics

• Limited in-memory cache

due to

• Capacity implications

• Java garbage collection

Page 8: Innovations in Grid Computing with Oracle Coherence

Enters the Coherence Data Grid

• Clustered Caching

• Provides a consistent view

of data across cluster

• Partitioned Caching

• Increase in size of cluster

adds capacity but does not

decrease performance

• Distributed Data

Processing

• Enables a distributed

platform for high

performance in-memory

analytics

Service

Node 1

Ease of Scaling

Service Clients

Shared Services

In-memory Data Grid

Service

Node 2

Service

Node N

Page 9: Innovations in Grid Computing with Oracle Coherence

How to Integrate with Coherence

Two Options

1. Custom integration through Coherence API

• For Java, C++, and .NET applications

2. Through Existing ‘Switch-On’ Integrations

• Oracle TopLink Grid – For JPA object relational

data offload

• Oracle Service Bus – For service results

caching

• Oracle Coherence*Web – For HTTP session

caching

Page 10: Innovations in Grid Computing with Oracle Coherence

Coherence Basic Inteface

Custom Integration

• Application uses

Coherence API to

store/access its data

• Application cache

properties are configured

externally through XML

file

• Basic cache access

through NamedCache

Map interface

NamedCache neCache =

CacheFactory

.getCache("NetworkElement");

NetworkElement ne = new

NetworkElement(“ID-321”, “OC-

196”, “Nortel Networks);

neCache.put(“ID-321”, ne);

NetworkElement ne =

neCache.get(“ID-321”);

Page 11: Innovations in Grid Computing with Oracle Coherence

Replicated Caching Scheme

JVMJVM

Coherence Node

Application Logic

Business Logic

Application Logic

Business Logic

Coherence Node

Domain Objects

Ap

plic

atio

n C

lust

er

Co

her

ence

Clu

ster Object

AObject

B

Object D

Object C

Object A

Object B

Object D

Object C

Replicated Cache

Service

Page 12: Innovations in Grid Computing with Oracle Coherence

Distributed Caching Scheme

JVMJVM

Coherence Node

Application Logic

Business Logic

Application Logic

Business Logic

Coherence Node

Domain Objects

Ap

plic

atio

n C

lust

er

Co

her

ence

Clu

ster

Primary

Object A

Object B

Primary

Object D

Object CDistributed Cache

Service

Page 13: Innovations in Grid Computing with Oracle Coherence

Near-Caching Topology

JVMJVM

Coherence Node Coherence Node

Domain ObjectsAp

plic

atio

n C

lust

er

Co

her

ence

Clu

ster

Primary

Object A

Object B

Primary

Object D

Object CDistributed Cache

Service

JVM

Application Logic

Business Logic

Local Cache

JVM

Application Logic

Business Logic

Local Cache

Page 14: Innovations in Grid Computing with Oracle Coherence

Heterogeneous Topology

JVMJVM

Coherence Node Coherence Node

Domain ObjectsAp

plic

atio

n C

lust

er

Co

her

ence

Clu

ster

Primary

Object A

Object B

Primary

Object D

Object CDistributed Cache

Service

C++ Application

Application Logic

Business Logic

Local Cache

.NET Application

Application Logic

Business Logic

Local Cache

Page 15: Innovations in Grid Computing with Oracle Coherence

Reliability

Partitioned Fault Tolerance

• Automatically and

transparently manages

the fault tolerance of

your data.

• Backups are

guaranteed to be on a

separate physical

machine as the primary.

• Backup responsibilities

for one node’s data is

shared amongst the

other nodes in the grid.

Page 16: Innovations in Grid Computing with Oracle Coherence

Write Behind

• All data writes occur through cache

• Updates to the cache are written asynchronously to

the data source

Page 17: Innovations in Grid Computing with Oracle Coherence

Coherence Elastic Data | In-Memory Cache

Seamless management of data

across memory and disk-based

devices, including RAM, Solid

State Disk (SSD), and Storage

Area Networks (SAN)

Tuned journaling algorithms

enabling near memory speed

access to data regardless of

storage medium

4x increase in data capacity

Very high performance, low latency

Massively concurrent reads and

writes (to external storage)

DIS

K

FLAS

H

RAM

Coherence

Page 18: Innovations in Grid Computing with Oracle Coherence

Preliminary Data - Elastic Data on ExaLogic

Page 19: Innovations in Grid Computing with Oracle Coherence

Existing AssetsKey

Low-Latency Infrastructure

Data

IntegrationData Grid

Activity

Monitoring

High

Availability

Event

Processing

In Memory

Trading

Pricing

Risk

Order

Management

Modelling

Existing Systems

TradingProfit & Loss

Risk Management

Management &

Compliance

Modelling &

Development

Compliance

Profit & Loss

Risk

Management

Business Insight

Multi-Channel Management

Shared Dynamic Infrastructure

Trading & Risk PlatformExample of conceptual architecture

New Components

En

terp

rise

Ma

na

ge

me

nt

Contin

uous M

onito

ring

SLA

Managem

ent

Perfo

rmance T

unin

g

Market Data

Positions Trades Instruments

OrdersModels

High Performance Persistent Data

Market Reference Data Instruments PositionsValuation Models Historic Market Data

Market Feeds

News Feeds

New Interface

Trading Desk Portals

Algorithms

Real-time Alerts

Content

Oracle Confidential and Proprietary

Page 20: Innovations in Grid Computing with Oracle Coherence

Presentation Objectives

To Understand…

1) How Coherence improves performance, enables

linear scalability, and provides availability for

shared services

2) How Coherence leverages its distributed

architecture to enable high performance analytics

and processing on application domain objects

3) Coherence’s roadmap and strategic direction

Page 21: Innovations in Grid Computing with Oracle Coherence

Data Processing

Parallel Query

• Programmatic query mechanism

• Queries performed in parallel across the grid

• Standard indexes provided out-of-the-box and supports implementing

your own custom indexes

Page 22: Innovations in Grid Computing with Oracle Coherence

Data Processing

Continuous Query Cache

• Automatically, transparently and dynamically maintains a view locally

based on a specific criteria (i.e. Filter)

• Same API as all other Coherence caches

Page 23: Innovations in Grid Computing with Oracle Coherence

Data Processing

Invocable Map

• The inverse of caching

• Sends the processing (e.g. EntryProcessors) to where the data is in the

grid

• Standard EntryProcessors provided Out-of-the-box

• Once and only once guarantees

• Processing is automatically fault-tolerant

• Processing can be:

• Targeted to a specific key

• Targeted to a collection of keys

• Targeted to any object that matches a specific criteria (i.e. Filter)

Page 24: Innovations in Grid Computing with Oracle Coherence

Data Processing

Invocable Map

Page 25: Innovations in Grid Computing with Oracle Coherence

Data Processing

Events

• Java Bean Model

• Key-Based

• Filter-Based

Page 26: Innovations in Grid Computing with Oracle Coherence

Presentation Objectives

To Understand…

1) How Coherence improves performance, enables

linear scalability, and provides availability for

shared services

2) How Coherence leverages its distributed

architecture to enable high performance analytics

and processing on application domain objects

3) Coherence’s roadmap and strategic direction

Page 27: Innovations in Grid Computing with Oracle Coherence

Coherence Roadmap

Theme Features Benefit

Ease Of Use Cache Configuration GUI and

tooling

Eclipse user-friendly configuration

Shared

Infrastructure

Coherence Container Increase manageability and HA

Customizable partitioning Finer grained control of

partitioning

REST API Extended client language

integration

Multi-Datacenter Replication Push replication feature full

support

RASP Query “Explain Plan” Better query visibility

Delta backups Increase write performance

Innovation Exabus: Native IB support Dramatically Lower Latency

Continuous Aggregation Real-Time Analytics

Oracle Confidential – Do Not Distribute

Page 28: Innovations in Grid Computing with Oracle Coherence

How to Learn More

• Attend the Oracle University (OU) course

• You can register in this course by using this link

• Read Coherence 3.5 book

• Provides a great introduction to Coherence

• Attend the Coherence SIG Meetings

• Available in San Francisco, NYC, London, and Toronto

• Use OTN Coherence Forum

• Follow-ups with Coherence Architects/PMs with deep

experience in FS

Page 29: Innovations in Grid Computing with Oracle Coherence

29

Q&A

Page 30: Innovations in Grid Computing with Oracle Coherence

Coherence Fusion Middleware Integrations

at a Glance

Enterprise Applications

Oracle

Service

Bus

WebLogic

Server

Oracle RTD

Oracle

Golden

Gate

Database

Ora

cle

EM

Cohere

nce

Managem

ent

Pack

GlassFish

Coherence*Web

for HTTP

Session Offload

Service Result Caching for

Improved Service Performance

Golden Gate Coherence Adapter for

Change Data Capture

TopLink Grid for

Database Access

Performance

Improvements

Coherence to

Improve Quality

of RTD ResultsEnd-To-End

Management

Page 31: Innovations in Grid Computing with Oracle Coherence

31Oracle Confidential – Do Not Distribute

Oracle Integrations By Value

Meta-data Services (MDS)

Real-time Decision

SOA Infrastructure

Oracle ADFOracle GlassFish

Oracle Access Manager

Oracle Data Integration

TopLink

WebLogic Portal

Oracle Service Bus

Service Delivery Platform

WebLogic Server

BI Publisher

Oracle PeopleSoft

WebCenter

Oracle BEAM

ATG

Oracle CEP

Oracle Entitlement Services

Oracle Secure Token Service

Oracle IGBU

Oracle CGBU

ATG Hosted Services

Data CacheSimple Clustering

Data GridAdvanced Capabilities

Valu

eOracle Identity Federation

Oracle Web Services Manager

SOA Technology Adapters

SOA Business Rules

SOA Human Workflow

SOA BPEL

SOA Coherence Adapter

Oracle Golden Gate