fra enkel j2se til grid computing med gigaspaces xap

48

Upload: mudnaes

Post on 03-Aug-2015

180 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Fra enkel J2SE til Grid computing med GigaSpaces XAP
Page 2: Fra enkel J2SE til Grid computing med GigaSpaces XAP
Page 3: Fra enkel J2SE til Grid computing med GigaSpaces XAP
Page 4: Fra enkel J2SE til Grid computing med GigaSpaces XAP

Page 5: Fra enkel J2SE til Grid computing med GigaSpaces XAP

NEO

DB DB DB

Page 6: Fra enkel J2SE til Grid computing med GigaSpaces XAP

NEO

DB DB

In

memory

data grid

Page 7: Fra enkel J2SE til Grid computing med GigaSpaces XAP
Page 8: Fra enkel J2SE til Grid computing med GigaSpaces XAP

Page 9: Fra enkel J2SE til Grid computing med GigaSpaces XAP

Page 10: Fra enkel J2SE til Grid computing med GigaSpaces XAP
Page 11: Fra enkel J2SE til Grid computing med GigaSpaces XAP

Node 1 Node 2 Node 3

In memory data grid aka «Space’et»

Page 12: Fra enkel J2SE til Grid computing med GigaSpaces XAP

Page 13: Fra enkel J2SE til Grid computing med GigaSpaces XAP

Page 14: Fra enkel J2SE til Grid computing med GigaSpaces XAP

DB

Page 15: Fra enkel J2SE til Grid computing med GigaSpaces XAP
Page 16: Fra enkel J2SE til Grid computing med GigaSpaces XAP

XAP PREMIUM –END-TO-END SCALING

End-to-end-scalable execution environment with elastic deployment to meet extreme throughput requirements

Any environment, anytime, anywhere – traditional data center, public/private cloud, or hybrid

Any platform Any language Any framework Any API

Optimize IT resource utilization

Production-grade control and visibility

16 ® Copyright 2011 Gigaspaces Ltd. All Rights Reserved

Page 17: Fra enkel J2SE til Grid computing med GigaSpaces XAP

IMDG BASIC OPERATIONS

Application

Space

Take

Application

Space

Read

Application

Space

WriteMultipleApplication

Space

Write

Application

Space

ReadMultiple

Application

Space

TakeMultiple

Application

Space

ExecuteApplication

Space

Notify

http://www.gigaspaces.com/docs/JavaDoc8.0/org/openspaces/core/GigaSpace.html

17

Back to key scenarios

Page 18: Fra enkel J2SE til Grid computing med GigaSpaces XAP

Feeder

DATA PARTITIONING PRINCIPLES

Virtual Machine Virtual MachineVirtual Machine

Virtual MachineVirtual Machine Virtual MachineVirtual Machine

Replication

Primary 1Backup 1

Replication

Backup 2Primary 2

Partitioned Data with Backup Per Partition

Feeder

18

Partitioned Data

Back to key scenarios

Page 19: Fra enkel J2SE til Grid computing med GigaSpaces XAP

DATA SCALING ARCHITECTURES

System of Records (SoR) with Write Behind

19

System of Records (SoR) with Local Caching

Back to key scenarios

Page 20: Fra enkel J2SE til Grid computing med GigaSpaces XAP

DATA CACHING ARCHITECTURES

Side Cache with Local Caching

20

Side Cache

Back to key scenarios

Page 21: Fra enkel J2SE til Grid computing med GigaSpaces XAP

EASY INTEGRATION

DATA

Native:

Highly optimized, POJO driven API

which exposes all the unique

capabilities of the platform

JPA:

Support data grid access using the

standard JPA API for seamlessly

scaling your JEE data access layer

Key-Value:

Simple and intuitive Map-based

interface for simple caching

scenarios

Document:

Completely schema-free data API

that supports upgrading the

application’s data model on the fly

.Net:

Native C# interface that enables any

.NET application to access the data

grid

C++:

Native C++ interface that allows any

.NET application to access the data

grid

Cross Language Access:

Java, C# and C++ API support for

heterogeneous environments, with

seamless interoperability among them

all

Back to scenarios

Page 22: Fra enkel J2SE til Grid computing med GigaSpaces XAP

PROCESSING

Processing

Master-Worker Support:

Intuitive and highly scalable master-

worker implementation for

distributing computation-intensive

tasks

Distributed Code Execution:

Dynamic code shipment and

map/reduce- like execution across the

grid for optimized processing and data

access

Back to scenarios

Page 23: Fra enkel J2SE til Grid computing med GigaSpaces XAP

PROCESSING

Processing

Master-Worker Support:

Intuitive and highly scalable master-

worker implementation for

distributing computation-intensive

tasks

Distributed Code Execution:

Dynamic code shipment and

map/reduce- like execution across the

grid for optimized processing and data

access

public interface SimpleService {

String say(String message);

Future<String> asyncSay(String message);

}

Page 24: Fra enkel J2SE til Grid computing med GigaSpaces XAP

Master-Worker Support:

Intuitive and highly scalable master-

worker implementation for

distributing computation-intensive

tasks

Distributed Code Execution:

Dynamic code shipment and

map/reduce- like execution across the

grid for optimized processing and data

access

PROCESSING

Processing

public class MyTask implements Task<Integer> { private int value; public MyTask(int value) { this.value = value; } public Integer execute() throws Exception { return value; } }

Page 25: Fra enkel J2SE til Grid computing med GigaSpaces XAP

Page 26: Fra enkel J2SE til Grid computing med GigaSpaces XAP

DB

Page 27: Fra enkel J2SE til Grid computing med GigaSpaces XAP

DB

Page 28: Fra enkel J2SE til Grid computing med GigaSpaces XAP

Page 29: Fra enkel J2SE til Grid computing med GigaSpaces XAP

Page 30: Fra enkel J2SE til Grid computing med GigaSpaces XAP
Page 31: Fra enkel J2SE til Grid computing med GigaSpaces XAP

Page 32: Fra enkel J2SE til Grid computing med GigaSpaces XAP

DB

Page 33: Fra enkel J2SE til Grid computing med GigaSpaces XAP

Page 34: Fra enkel J2SE til Grid computing med GigaSpaces XAP

DB

Page 35: Fra enkel J2SE til Grid computing med GigaSpaces XAP

Page 36: Fra enkel J2SE til Grid computing med GigaSpaces XAP

Page 37: Fra enkel J2SE til Grid computing med GigaSpaces XAP

Page 38: Fra enkel J2SE til Grid computing med GigaSpaces XAP

Page 39: Fra enkel J2SE til Grid computing med GigaSpaces XAP

Page 40: Fra enkel J2SE til Grid computing med GigaSpaces XAP

Page 41: Fra enkel J2SE til Grid computing med GigaSpaces XAP

Page 42: Fra enkel J2SE til Grid computing med GigaSpaces XAP

Page 43: Fra enkel J2SE til Grid computing med GigaSpaces XAP

Page 44: Fra enkel J2SE til Grid computing med GigaSpaces XAP

Page 45: Fra enkel J2SE til Grid computing med GigaSpaces XAP

Page 46: Fra enkel J2SE til Grid computing med GigaSpaces XAP

Page 47: Fra enkel J2SE til Grid computing med GigaSpaces XAP

Page 48: Fra enkel J2SE til Grid computing med GigaSpaces XAP