Flavio Bertini, Università "La Sapienza" - Roma: Adapter-Logic Application at

Post on 07-Jul-2015

518 views 0 download

Tags:

Transcript of Flavio Bertini, Università "La Sapienza" - Roma: Adapter-Logic Application at

Adapter-Logic Application: a JGroups based integration framework

for heterogeneous environments

Flavio Bertini

Distributed Systems Seminars

2

Roadmap1) Introduction to group communication

2) Group communication issues3) The JGroups solution

4) A case study: Adapter-Logic Application✔ Why introduce an adapter?✔ How A.L.A. works✔ Operational modes✔ The clustering subsystem✔ How JGroups helped A.L.A.

5) Other application areas of JGroups

3

Group communication

Every Distributed Systems need to communicate through a reliable layer.

All nodes cooperating for a unique target may have the necessity to rely on a complex communication architecture to merge/compare data (e.g. SETI@home, Clustering, etc.)

4

Group Communication issuesThe most common problems in group communication are:✔ Keep consistence between replicas✔ Prevent data corruptions✔ Ensure a message is delivered to recipients✔ many more...

5

Group Communication issuesThe most common problems in group communication are:✔ Keep consistence between replicas✔ Prevent data corruptions✔ Ensure a message is delivered to recipients✔ many more...

6

Group Communication issuesThe most common problems in group communication are:✔ Keep consistence between replicas✔ Prevent data corruptions✔ Ensure a message is delivered to recipients✔ many more...

7

The JGroups solution

JGroups is a multi platform toolkit for a reliable group communication

8

The JGroups solution

JGroups is a multi platform toolkit for a reliable group communication

9

A case study:Adapter-Logic Application

A.L.A. is:✔ a JGroups success story✔ an integration framework (adapter) for heterogeneous environments and architectures.✔ a solution to integrate legacy systems in SOA flows

10

A case study:Adapter-Logic Application

A.L.A. is:✔ a JGroups success story✔ an integration framework (adapter) for heterogeneous environments and architectures.✔ a solution to integrate legacy systems in SOA flows

Only one platform to manage several architectures!

11

Why introduce an adapter?

Overcome the barriers due to the lack of a common language between heterogeneous systems

12

How A.L.A. works

A.L.A. works through a very scalable plugins system called Controllers and Connectors

13

How A.L.A. works

A.L.A. works through a very scalable plugins system called Controllers and Connectors

14

A.L.A. operational modes

Two operational modes:✔ Active/Active

hot standby sparing: two or more A.L.A. instances run in parallel.

→ High Availability and Load Balancing✔ Active/Passive

cold standby sparing: two or more A.L.A. instances but only one is running.

15

High Availability and Load BalancingActive/Active:

16

High Availability onlyActive/Passive:

17

The Clustering subsystem (internals)

A single point of failure

18

The Clustering subsystem (internals)

The fault tolerant adapter model

19

The Activation Queue

20

The Activation Queue

21

The Activation Queue

The Activation Queue is reorganized

22

How JGroups helped A.L.A.

The Cluster events propagate through the Network thanks to the JGroups API

23

Another JGroups utilization example

JBoss Clustering modular stack

24All A.L.A. related images are property of Sunnyvale. I wish to thank Denis Maggiorotto,who is the CEO and founder. All rights reserved.