gigaspaces ha

16
GigaSpaces Clustering

Upload: shayhassidim

Post on 14-Dec-2014

180 views

Category:

Business


0 download

DESCRIPTION

GigaSpaces clustering

TRANSCRIPT

Page 1: GigaSpaces HA

GigaSpaces Clustering

Page 2: GigaSpaces HA

2

Today’s Reality – Tier Based Architecture Separate technology implementation

Bottlenecks in all areas where state is stored, architecture can’t scale linearly!

Separate technology implementation

Separate technology implementation

bo

ttle

nec

ks

bo

ttle

nec

ks

Page 3: GigaSpaces HA

3

AuctionOwner

Traditional Architecture - path to complexity…

Auction Service

Bid Service

Trade Service

Place bid

Info Service

Timer Service

Auction

Service

Bid

Service

Trade

Service

Info

Service

Timer

Service

B T I

A

B

T

I

T

TT

AA BB TT II

Bidder

Validate

Result

ProcessBid

Bid Accepted

Bid Result

Process Trade

Get Bid Result

Page 4: GigaSpaces HA

4

Traditional Architecture - path to complexity…

4

Business tier

Back-up

Back-up

Redundancy doubles network traffic

Bottlenecks are created

Latency is increased

Separate failover strategy and implementation for each tier

Bidder

AuctionOwner

Auction Service

Bid Service

Trade Service

Info Service

Timer Service

A

B

T

I

T

AA BB TT II

Page 5: GigaSpaces HA

5

BB

Do you see the Problem?

5

Business tierScalability is not linear

Scalability management nightmare

Back-upBack-up

Back-upBack-up

AA BB TT

II

Bidder

AuctionOwner

Page 6: GigaSpaces HA

6

The SolutionGigaSpaces Elastic Application Server

Page 7: GigaSpaces HA

7

AB T I

Step 1 – Create a Processing Unit

7

Business tier

Processing Unit

Single model for design, deployment and management

No integration effort

Manage data in memory

Collapse the tiers

Collocate the services

Auction Service

Bid Service

Trade Service

Info Service

Timer Service

A

B

T

I

T

Bidder

AuctionOwner

Page 8: GigaSpaces HA

8

AB T I

Step 2 – Async Persistency

8

Processing Unit

Validate

Process Bid

Process Trade

Process Results

Place Bid

Get Bid Results

Persist for Compliance & Reporting purposes:

- Storing State- Register Orders- etc.

Collocation of data, messaging and services in memory:

Minimum Latency (no network hops)

Maximum Throughput

Auction Service

Bid Service

Trade Service

Info Service

Timer Service

A

B

T

I

T

Bidder

AuctionOwner

Page 9: GigaSpaces HA

9

AB T I

Step 3 – Resiliency

Processing Unit

Single, built-in failover/redundancy investment strategy

Fewer points of failure

Automated SLA driven failover/redundancy mechanism

Continuous High Availability

SLA Driven Container

Backup

AB T I

Page 10: GigaSpaces HA

10

Processing Unit

Step 3 – Resiliency

Automated SLA driven failover/redundancy mechanism

Continuous Availability

Self Healing Capability

SLA Driven Container

Backup

Single, built-in failover/redundancy investment strategy

Fewer integration points mean fewer chances for failure

BackupPrimary

Page 11: GigaSpaces HA

11

Step 4 – Scale

11

Processing Unit

Write Once Scale Anywhere:

Linear scalability

Single monitoring and management engine

Automated, SLA-Driven deployment and management

­Scaling policy, System requirements, Space cluster topology

Backup

AB T I

AB T I

Backup

AB T I

AB T I

Page 12: GigaSpaces HA

12

Step 5 – Auto Scale Out

Page 13: GigaSpaces HA

13

The Processing Unit – Scalability Unit

Single Processing Unit Processing Unit - Scaled

Involves Config Change

No code changes!

Page 14: GigaSpaces HA

14

The Processing Unit – High-Availability Unit

Sync Replication

Primary - Processing UnitBusiness logic – Active mode

Backup - Processing UnitBusiness logic – Standby mode

Page 15: GigaSpaces HA

15

The Processing Unit - Database Integration

Sync Replication

Primary - Processing UnitBusiness logic – Active mode

Backup - Processing UnitBusiness logic – Standby mode

Mirror Process

ORM

Initial Load

Async Replication

Async Replication

Page 16: GigaSpaces HA

16

ThankThank

You!You!