ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
Distributed Systems Seminars



   Adapter-Logic Application:
a JGroups based integration framework
   for heterogeneous environments




               Flavio Bertini
Roadmap
1) Introduction to group communication
   2) Group communication issues
      3) 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
                                                      2
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.)         3
Group Communication issues
The most common problems in group
communication are:
? Keep consistence between replicas
? Prevent data corruptions
? Ensure a message is delivered to recipients
? many more...




                                                4
Group Communication issues
The 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 issues
The most common problems in group
communication are:
? Keep consistence between replicas
? Prevent data corruptions
? Ensure a message is delivered to recipients
? many more...




                                                6
The JGroups solution

JGroups is a multi platform toolkit for a reliable
            group communication




                                                     7
The JGroups solution

JGroups is a multi platform toolkit for a reliable
            group communication




                                                     8
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



                                                  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

Only one platform to manage several
architectures!
                                                  10
Why introduce an adapter?




Overcome the barriers due to the lack of a common
   language between heterogeneous systems
                                               11
How A.L.A. works
A.L.A. works through a very scalable plugins
system called Controllers and Connectors




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




                                               13
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.
                                             14
High Availability and Load Balancing
Active/Active:




                                   15
High Availability only
Active/Passive:




                                      16
The Clustering subsystem (internals)




         A single point of failure   17
The Clustering subsystem (internals)




      The fault tolerant adapter model   18
The Activation Queue




                       19
The Activation Queue




                       20
The Activation Queue




The Activation Queue is reorganized   21
How JGroups helped A.L.A.




The Cluster events propagate through the   22
   Network thanks to the JGroups API
Another JGroups utilization example




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

More Related Content

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

  • 1. Distributed Systems Seminars Adapter-Logic Application: a JGroups based integration framework for heterogeneous environments Flavio Bertini
  • 2. Roadmap 1) Introduction to group communication 2) Group communication issues 3) 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 2
  • 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.) 3
  • 4. Group Communication issues The most common problems in group communication are: ? Keep consistence between replicas ? Prevent data corruptions ? Ensure a message is delivered to recipients ? many more... 4
  • 5. Group Communication issues The most common problems in group communication are: ? Keep consistence between replicas ? Prevent data corruptions ? Ensure a message is delivered to recipients ? many more... 5
  • 6. Group Communication issues The most common problems in group communication are: ? Keep consistence between replicas ? Prevent data corruptions ? Ensure a message is delivered to recipients ? many more... 6
  • 7. The JGroups solution JGroups is a multi platform toolkit for a reliable group communication 7
  • 8. The JGroups solution JGroups is a multi platform toolkit for a reliable group communication 8
  • 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 9
  • 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! 10
  • 11. Why introduce an adapter? Overcome the barriers due to the lack of a common language between heterogeneous systems 11
  • 12. How A.L.A. works A.L.A. works through a very scalable plugins system called Controllers and Connectors 12
  • 13. How A.L.A. works A.L.A. works through a very scalable plugins system called Controllers and Connectors 13
  • 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. 14
  • 15. High Availability and Load Balancing Active/Active: 15
  • 17. The Clustering subsystem (internals) A single point of failure 17
  • 18. The Clustering subsystem (internals) The fault tolerant adapter model 18
  • 21. The Activation Queue The Activation Queue is reorganized 21
  • 22. How JGroups helped A.L.A. The Cluster events propagate through the 22 Network thanks to the JGroups API
  • 23. Another JGroups utilization example JBoss Clustering modular stack 23
  • 24. All A.L.A. related images are property of Sunnyvale. I wish to thank Denis Maggiorotto, 24 who is the CEO and founder. All rights reserved.