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

24
Adapter-Logic Application : a JGroups based integration framework for heterogeneous environments Flavio Bertini Distributed Systems Seminars

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

Page 1: 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

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

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

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

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.)

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

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...

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

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...

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

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...

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

7

The JGroups solution

JGroups is a multi platform toolkit for a reliable group communication

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

8

The JGroups solution

JGroups is a multi platform toolkit for a reliable group communication

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

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

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

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!

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

11

Why introduce an adapter?

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

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

12

How A.L.A. works

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

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

13

How A.L.A. works

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

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

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.

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

15

High Availability and Load BalancingActive/Active:

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

16

High Availability onlyActive/Passive:

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

17

The Clustering subsystem (internals)

A single point of failure

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

18

The Clustering subsystem (internals)

The fault tolerant adapter model

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

19

The Activation Queue

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

20

The Activation Queue

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

21

The Activation Queue

The Activation Queue is reorganized

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

22

How JGroups helped A.L.A.

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

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

23

Another JGroups utilization example

JBoss Clustering modular stack

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

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.