flavio bertini, università "la sapienza" - roma: adapter-logic application at
TRANSCRIPT
![Page 1: Flavio Bertini, Università "La Sapienza" - Roma: Adapter-Logic Application at](https://reader033.vdocument.in/reader033/viewer/2022052602/559b33e71a28ab3e638b467d/html5/thumbnails/1.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022052602/559b33e71a28ab3e638b467d/html5/thumbnails/2.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022052602/559b33e71a28ab3e638b467d/html5/thumbnails/3.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022052602/559b33e71a28ab3e638b467d/html5/thumbnails/4.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022052602/559b33e71a28ab3e638b467d/html5/thumbnails/5.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022052602/559b33e71a28ab3e638b467d/html5/thumbnails/6.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022052602/559b33e71a28ab3e638b467d/html5/thumbnails/7.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022052602/559b33e71a28ab3e638b467d/html5/thumbnails/8.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022052602/559b33e71a28ab3e638b467d/html5/thumbnails/9.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022052602/559b33e71a28ab3e638b467d/html5/thumbnails/10.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022052602/559b33e71a28ab3e638b467d/html5/thumbnails/11.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022052602/559b33e71a28ab3e638b467d/html5/thumbnails/12.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022052602/559b33e71a28ab3e638b467d/html5/thumbnails/13.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022052602/559b33e71a28ab3e638b467d/html5/thumbnails/14.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022052602/559b33e71a28ab3e638b467d/html5/thumbnails/15.jpg)
15
High Availability and Load BalancingActive/Active:
![Page 16: Flavio Bertini, Università "La Sapienza" - Roma: Adapter-Logic Application at](https://reader033.vdocument.in/reader033/viewer/2022052602/559b33e71a28ab3e638b467d/html5/thumbnails/16.jpg)
16
High Availability onlyActive/Passive:
![Page 17: Flavio Bertini, Università "La Sapienza" - Roma: Adapter-Logic Application at](https://reader033.vdocument.in/reader033/viewer/2022052602/559b33e71a28ab3e638b467d/html5/thumbnails/17.jpg)
17
The Clustering subsystem (internals)
A single point of failure
![Page 18: Flavio Bertini, Università "La Sapienza" - Roma: Adapter-Logic Application at](https://reader033.vdocument.in/reader033/viewer/2022052602/559b33e71a28ab3e638b467d/html5/thumbnails/18.jpg)
18
The Clustering subsystem (internals)
The fault tolerant adapter model
![Page 19: Flavio Bertini, Università "La Sapienza" - Roma: Adapter-Logic Application at](https://reader033.vdocument.in/reader033/viewer/2022052602/559b33e71a28ab3e638b467d/html5/thumbnails/19.jpg)
19
The Activation Queue
![Page 20: Flavio Bertini, Università "La Sapienza" - Roma: Adapter-Logic Application at](https://reader033.vdocument.in/reader033/viewer/2022052602/559b33e71a28ab3e638b467d/html5/thumbnails/20.jpg)
20
The Activation Queue
![Page 21: Flavio Bertini, Università "La Sapienza" - Roma: Adapter-Logic Application at](https://reader033.vdocument.in/reader033/viewer/2022052602/559b33e71a28ab3e638b467d/html5/thumbnails/21.jpg)
21
The Activation Queue
The Activation Queue is reorganized
![Page 22: Flavio Bertini, Università "La Sapienza" - Roma: Adapter-Logic Application at](https://reader033.vdocument.in/reader033/viewer/2022052602/559b33e71a28ab3e638b467d/html5/thumbnails/22.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022052602/559b33e71a28ab3e638b467d/html5/thumbnails/23.jpg)
23
Another JGroups utilization example
JBoss Clustering modular stack
![Page 24: Flavio Bertini, Università "La Sapienza" - Roma: Adapter-Logic Application at](https://reader033.vdocument.in/reader033/viewer/2022052602/559b33e71a28ab3e638b467d/html5/thumbnails/24.jpg)
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.