SlideShare a Scribd company logo
1 of 24
Download to read offline
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

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

Distributed & parallel system
Distributed & parallel systemDistributed & parallel system
Distributed & parallel system
Manish Singh
 
MultiObjective(11) - Copy
MultiObjective(11) - CopyMultiObjective(11) - Copy
MultiObjective(11) - Copy
AMIT KUMAR
 

Similar to Flavio Bertini, Università "La Sapienza" - Roma: Adapter-Logic Application at (20)

COCOMA presentation, FIA 2013
COCOMA presentation, FIA 2013COCOMA presentation, FIA 2013
COCOMA presentation, FIA 2013
 
CSED - Manel Grichi
CSED - Manel GrichiCSED - Manel Grichi
CSED - Manel Grichi
 
Clone Clone Make: a better way to build
Clone Clone Make: a better way to buildClone Clone Make: a better way to build
Clone Clone Make: a better way to build
 
Why Google Stores Billions of Lines of Code in a Single Repository
Why Google Stores Billions of Lines of Code in a Single RepositoryWhy Google Stores Billions of Lines of Code in a Single Repository
Why Google Stores Billions of Lines of Code in a Single Repository
 
OpenShift Multicluster
OpenShift MulticlusterOpenShift Multicluster
OpenShift Multicluster
 
نظم موزعة Distributed systems slides.01.pdf
نظم موزعة Distributed systems slides.01.pdfنظم موزعة Distributed systems slides.01.pdf
نظم موزعة Distributed systems slides.01.pdf
 
Java Modularity with OSGi
Java Modularity with OSGiJava Modularity with OSGi
Java Modularity with OSGi
 
why google stores billions of lines of code in a single repository
why google stores billions of lines of code in a single repositorywhy google stores billions of lines of code in a single repository
why google stores billions of lines of code in a single repository
 
Effective Hadoop Cluster Management- Impetus White Paper
Effective Hadoop Cluster Management- Impetus White PaperEffective Hadoop Cluster Management- Impetus White Paper
Effective Hadoop Cluster Management- Impetus White Paper
 
Version Control System - for Agile Software Project Management.
Version Control System - for Agile Software Project Management.Version Control System - for Agile Software Project Management.
Version Control System - for Agile Software Project Management.
 
Distributed & parallel system
Distributed & parallel systemDistributed & parallel system
Distributed & parallel system
 
Maintaining Large Scale Julia Ecosystems
Maintaining Large Scale Julia EcosystemsMaintaining Large Scale Julia Ecosystems
Maintaining Large Scale Julia Ecosystems
 
<Programming> 2019 - ICW'19: The Issue of Monorepo and Polyrepo In Large Ente...
<Programming> 2019 - ICW'19: The Issue of Monorepo and Polyrepo In Large Ente...<Programming> 2019 - ICW'19: The Issue of Monorepo and Polyrepo In Large Ente...
<Programming> 2019 - ICW'19: The Issue of Monorepo and Polyrepo In Large Ente...
 
MultiObjective(11) - Copy
MultiObjective(11) - CopyMultiObjective(11) - Copy
MultiObjective(11) - Copy
 
Gfs论文
Gfs论文Gfs论文
Gfs论文
 
The google file system
The google file systemThe google file system
The google file system
 
Advantages and Disadvantages of a Monolithic Repository
Advantages and Disadvantages of a Monolithic RepositoryAdvantages and Disadvantages of a Monolithic Repository
Advantages and Disadvantages of a Monolithic Repository
 
Towards Software Sustainability Guides for Industrial Software Systems
Towards Software Sustainability Guides for Industrial Software SystemsTowards Software Sustainability Guides for Industrial Software Systems
Towards Software Sustainability Guides for Industrial Software Systems
 
DevOps for dummies study sharing - part II
DevOps for dummies study sharing - part IIDevOps for dummies study sharing - part II
DevOps for dummies study sharing - part II
 
Secret Twists to Efficiently Develop Reactive Software Systems
Secret Twists to Efficiently Develop Reactive Software SystemsSecret Twists to Efficiently Develop Reactive Software Systems
Secret Twists to Efficiently Develop Reactive Software Systems
 

More from Sunnyvale (6)

Kubernetes GitOps featuring GitHub, Kustomize and ArgoCD
Kubernetes GitOps featuring GitHub, Kustomize and ArgoCDKubernetes GitOps featuring GitHub, Kustomize and ArgoCD
Kubernetes GitOps featuring GitHub, Kustomize and ArgoCD
 
Microservices DevOps on Google Cloud Platform
Microservices DevOps on Google Cloud PlatformMicroservices DevOps on Google Cloud Platform
Microservices DevOps on Google Cloud Platform
 
Sunnyvale Enterprise Landscape Monitoring
Sunnyvale Enterprise Landscape MonitoringSunnyvale Enterprise Landscape Monitoring
Sunnyvale Enterprise Landscape Monitoring
 
Ala 2.0 Keynote
Ala 2.0 KeynoteAla 2.0 Keynote
Ala 2.0 Keynote
 
Sunnyvale Adapter-Logic Application brochure
Sunnyvale Adapter-Logic Application brochureSunnyvale Adapter-Logic Application brochure
Sunnyvale Adapter-Logic Application brochure
 
Sunnyvale Adapter-Logic Application
Sunnyvale Adapter-Logic ApplicationSunnyvale Adapter-Logic Application
Sunnyvale Adapter-Logic Application
 

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.