Communication
     Universal and Faster
          Arwid Bancewicz,
         Chuma Chukwulozie
Supervisor: Prof. Hans-Arno Jacobsen,
             MSRG, UofT
         Thursday February 11 2010


                     1
Outline
• Introduction:
  Motivation + Background
• Part 1: Making it Universal
• Part 2: Making it Faster + Use Cases
• Progress Status & Summary



                  2
Introduction



     3
Introduction



                     Motivation
                                       ...mrrr...
                       huh?            mrrrr......
                                        murr...




         • Need language interpreter or “middleman” to
           facilitate communication
           ‣ Middleman for humans............. Interpreter
           ‣ Middleware for applications........ PADRES


                                4
Introduction



                     Background
         • PADRES
           ‣ Distributed
               - Divide problem up for Brokers
           ‣ Publish/Subscribe
               - Type of communication
           ‣ Middleware
               - Facilitates communication between
                 software applications
                                5
Introduction



        Communication network

                                 Subscriber
           Publisher




       Publisher
                                   Subscriber
                       Brokers



                                 Subscriber
         Publisher




                         6
Introduction



        Communication network
                                   Application
      Application
                                       Subscriber
            Publisher
                                        Publisher



                        Brokers

       Application
                                  Application
            Publisher
                                     Subscriber




                          7
Introduction



        Communication network
                           What is the
                         temperature in
                                           Application
                            Toronto?
      Application
                                          S    Subscriber
            Publisher
                                                Publisher



                        Brokers

       Application
                                          Application
            Publisher
                                              Subscriber




                          8
Introduction



        Communication network
                                   Application
      Application
                                  S    Subscriber
            Publisher
                                        Publisher



                        Brokers

       Application
                                  Application
            Publisher
                                      Subscriber




                          9
Introduction



        Communication network
                            The temperature in        Application
      Application              Toronto is -7
                                                          Subscriber
            Publisher   P
                                                           Publisher


                                                 S
                                      Brokers

       Application
                                                     Application
            Publisher
                                                        Subscriber




                                        10
Introduction



        Communication network
                                           Application
      Application
                                               Subscriber
            Publisher   P
                                                Publisher


                                      S
                            Brokers

       Application
                                          Application
            Publisher
                                             Subscriber




                              11
Introduction



        Communication network
                         The temperature
                          in Toronto is -7    Application
      Application
                                             P    Subscriber
            Publisher
                                                   Publisher


                                     S
                        Brokers

       Application
                                             Application
            Publisher
                                                 Subscriber




                          12
PART 1: Making it
   Universal


        13
Part 1: Making it Universal



                 Standard Formats
            • Accept more standardized communication
              protocols for information exchange
            • XML: long-time standard
            • JSON: simple, light-weight
            • YAML: highly human-readable




                               14
Part 1: Making it Universal



                Implementation
             JavaCC Parsers and Message Creation


                                            PADRES Message
                        JavaCC Parsers
                                              S      P       A
                              XML Parser
       Message                JSON Parser    US     USC      UA

                              YAML Parser    CS




                                      15
PART 2: Making it
    FASTER


        16
Part 2: Making it Faster



                           Currently
            • PADRES uses Java RMI

                     Advantages
               Handles threads, sockets
                  Garbage Collection
                     Serialization


            • Overall not efficient!



                                       17
Part 2: Making it Faster



                           Currently
            • PADRES uses Java RMI

                     Advantages             Disadvantages
               Handles threads, sockets      Strictly Java
                  Garbage Collection        Security Issues
                     Serialization            Overhead


            • Overall not efficient!



                                       18
Part 2: Making it Faster



                           Alternatives
            • SOAP: uses HTTP as transport
            • XML-RPC: same advantages, no support for
              unicode characters
            • CORBA: supports concurrency; security
              and authentication
            • RAW Sockets: no overhead, no 3rd party
              libraries



                                19
Part 2: Making it Faster



                  Benchmarking
                             Alternatives
                  SOAP     XML-RPC        CORBA       Raw Sockets

                   0.294
                                                                          0.30




                                                                        0.23



                                                                       0.15

                            0.083
                                                                     0.08


                                     0.005
                                                                   0
                                                  0.001



                                     20                    Courtesy of IBM DeveloperWorks Web Services
Part 2: Making it Faster



         Sockets Implementation
            • Lot of code
               ‣ Use NIO package
            • Error Control
               ‣ Ensure it passes all test cases
            • Concurrency
               ‣ PADRES provides framework



                                  21
Part 2: Making it Faster



                           Use Cases




                               22
Part 2: Making it Faster



                           Use Cases

       Supply chain and logistics




                               23
Part 2: Making it Faster



                           Use Cases

       Supply chain and logistics



                                          Job Scheduling




                       and more...

                                     24
Progress Status &
    Summary


        25
Progress Status & Summary



                   Project Status
         • On Schedule.
                            Milestones                    Done?
                      PADRES Installation                  Yes
                      User-client Interface                Yes
              JavaCC Parsers & Message Creation            Yes
             Integrate & Test Parsers with Client API      Yes
                 Broker-broker Communication            In Progress
            Verify & Validate Efficiency Improvement         No
          Stabilize and Release new version of PADRES       No


                                      26
Progress Status & Summary



         Summary & Conclusion
         • Expansion of user-client interface
           ‣ Parsers for XML, JSON, YAML
         • Faster messaging technology
           ‣ Java NIO Sockets
         • Project is on schedule



                             27
Thank You.
Any Questions?




      28

More Related Content

PDF
Ericsson Labs 090702
PPTX
Mr Marcus Wiko Consult Peering Qos Price and Quality
PPT
Pdt spec push to talk draft v1.0
PDF
The CTO's Espresso Guide to SON
PDF
Scaling the Data Distribution Service to Global Networks
PDF
4 g world 2011 renesas mobile overview
PDF
HCLT Brochure: Networking and Telecom
PDF
OpenSplice DDS: The Open Source Middleware Accelerating Wall Street
Ericsson Labs 090702
Mr Marcus Wiko Consult Peering Qos Price and Quality
Pdt spec push to talk draft v1.0
The CTO's Espresso Guide to SON
Scaling the Data Distribution Service to Global Networks
4 g world 2011 renesas mobile overview
HCLT Brochure: Networking and Telecom
OpenSplice DDS: The Open Source Middleware Accelerating Wall Street

What's hot (20)

PDF
Genaker RCS Seminar @ GSMA MWC 2010
PDF
VOIP ORIGINATION FOR CARRIERS
PDF
mobile marketing glosaary
PDF
Stealthy, Resilient and Cost-Effective Botnet Using Skype
PPTX
Multi-network Solutions in the Real World, CABSAT: Adriana Whiteley, Farncombe
PDF
The NGN Test Centre Infrastructure & Services - Shane Dempsey (NGN Test Centre)
PPT
Gardenia company profile
PDF
3G & LTE Wireless Solutions
PDF
Cisco Video Data Explosion
PDF
Why SIP Makes Sense: Enabling the Evolution to Unified Communications
KEY
Hands On CloudFoundry
PDF
Laying the Foundation for the Second Transformation Wave (2009)
PDF
Mototrbo dealer brochure_4_pages
PPTX
Evans interferenceawaremar2011
PDF
Sip trunking - The route to the new VoIP services
PPT
Jeff Gardner; Smarter Apps for Smarter Phones
PDF
Nuevos Retos en Sociedad-Red
PDF
ATCA's Big Femtocell Opportunity
PDF
Crister Mattsson - Socio-economic impact of broadband: testimonial from Scand...
PDF
Traffic Management, DPI, Internet Offload Gateway
Genaker RCS Seminar @ GSMA MWC 2010
VOIP ORIGINATION FOR CARRIERS
mobile marketing glosaary
Stealthy, Resilient and Cost-Effective Botnet Using Skype
Multi-network Solutions in the Real World, CABSAT: Adriana Whiteley, Farncombe
The NGN Test Centre Infrastructure & Services - Shane Dempsey (NGN Test Centre)
Gardenia company profile
3G & LTE Wireless Solutions
Cisco Video Data Explosion
Why SIP Makes Sense: Enabling the Evolution to Unified Communications
Hands On CloudFoundry
Laying the Foundation for the Second Transformation Wave (2009)
Mototrbo dealer brochure_4_pages
Evans interferenceawaremar2011
Sip trunking - The route to the new VoIP services
Jeff Gardner; Smarter Apps for Smarter Phones
Nuevos Retos en Sociedad-Red
ATCA's Big Femtocell Opportunity
Crister Mattsson - Socio-economic impact of broadband: testimonial from Scand...
Traffic Management, DPI, Internet Offload Gateway
Ad

Viewers also liked (20)

PPT
Leidraad green lease - Platform Duurzame Huisvesting
PPTX
Efficiencies and e-Learning
PPT
duurzaam gebouwbeheer met de Milieubarometer
PDF
Idealware social media_workbook
PDF
Crisiscommunicatie en vestia dossier
PDF
Installing solaris on virtual box and installing weblogic server
PPTX
Erkende maatregelen uit het Activiteitenbesluit
PDF
PDF
Dac 11 g installation and configuration on windows server 2008 r2
PDF
Installing and configuring informatica 910 and dac 11 g on windows 64 bit
PDF
Интернет-торговля в России. Продвижение компаний в социальных медиа
PPTX
Presentación hamburgo, ética
PPTX
Cba#1 review
PDF
Pengeualaran Daerah Efektif
PDF
CAS 2 Treball
PPT
Malmberg en Beeld en Geluid 070411
PPTX
Onderzoek CO2 reductiepotentieel Duurzaam Inkopen kantoorgebouwen
PDF
デブサミ東北Lt「itで日本を元気に!」
PPTX
What Really Caused the Housing Collapse of 2008
Leidraad green lease - Platform Duurzame Huisvesting
Efficiencies and e-Learning
duurzaam gebouwbeheer met de Milieubarometer
Idealware social media_workbook
Crisiscommunicatie en vestia dossier
Installing solaris on virtual box and installing weblogic server
Erkende maatregelen uit het Activiteitenbesluit
Dac 11 g installation and configuration on windows server 2008 r2
Installing and configuring informatica 910 and dac 11 g on windows 64 bit
Интернет-торговля в России. Продвижение компаний в социальных медиа
Presentación hamburgo, ética
Cba#1 review
Pengeualaran Daerah Efektif
CAS 2 Treball
Malmberg en Beeld en Geluid 070411
Onderzoek CO2 reductiepotentieel Duurzaam Inkopen kantoorgebouwen
デブサミ東北Lt「itで日本を元気に!」
What Really Caused the Housing Collapse of 2008
Ad

Similar to Padres Communication Protocols (20)

KEY
Applications and Abstractions: A Cautionary Tale (invited talk at a DIMACS Wo...
PPTX
Patterns of Data Distribution
PPT
Materi Perkuliahan Jaringan Komputer Teknik Informatika Chapter 2
PPTX
Windows azure uk universities overview march 2012
PPT
App layer
PDF
Interactive Paper @ ETH Zurich
PDF
OMG Data-Distribution Service (DDS) Tutorial - 2009
PPT
3rd edition chapter2
PPTX
Bam amor mobile development tools
PPT
Week3 applications
PPT
Lecture application layer
PPTX
Architectures with Windows Azure
PDF
Decided To Mobilise? How to Engage with the Mobile Internet User.
PPT
Chapter2 application
PDF
Pariksha mobile applications
PPTX
Design Patterns - Distributed Publisher-Subscriber Network
PDF
Mike Nolet - Automated Trading: Beyond the Hype. #ATSNL
PPTX
Application Software in Computer and Services.pptx
PDF
Chapter2[one.]
PDF
Ericsson Labs OTA09 090925
Applications and Abstractions: A Cautionary Tale (invited talk at a DIMACS Wo...
Patterns of Data Distribution
Materi Perkuliahan Jaringan Komputer Teknik Informatika Chapter 2
Windows azure uk universities overview march 2012
App layer
Interactive Paper @ ETH Zurich
OMG Data-Distribution Service (DDS) Tutorial - 2009
3rd edition chapter2
Bam amor mobile development tools
Week3 applications
Lecture application layer
Architectures with Windows Azure
Decided To Mobilise? How to Engage with the Mobile Internet User.
Chapter2 application
Pariksha mobile applications
Design Patterns - Distributed Publisher-Subscriber Network
Mike Nolet - Automated Trading: Beyond the Hype. #ATSNL
Application Software in Computer and Services.pptx
Chapter2[one.]
Ericsson Labs OTA09 090925

Recently uploaded (20)

PPTX
Build Your First AI Agent with UiPath.pptx
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PDF
UiPath Agentic Automation session 1: RPA to Agents
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PPTX
Training Program for knowledge in solar cell and solar industry
PDF
OpenACC and Open Hackathons Monthly Highlights July 2025
PPTX
Custom Battery Pack Design Considerations for Performance and Safety
PPTX
TEXTILE technology diploma scope and career opportunities
PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
Enhancing plagiarism detection using data pre-processing and machine learning...
PDF
Improvisation in detection of pomegranate leaf disease using transfer learni...
PPTX
Benefits of Physical activity for teenagers.pptx
PDF
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
PDF
Five Habits of High-Impact Board Members
PDF
STKI Israel Market Study 2025 version august
PDF
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
PDF
Getting started with AI Agents and Multi-Agent Systems
PDF
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
PPTX
Microsoft Excel 365/2024 Beginner's training
PDF
sbt 2.0: go big (Scala Days 2025 edition)
Build Your First AI Agent with UiPath.pptx
NewMind AI Weekly Chronicles – August ’25 Week III
UiPath Agentic Automation session 1: RPA to Agents
Final SEM Unit 1 for mit wpu at pune .pptx
Training Program for knowledge in solar cell and solar industry
OpenACC and Open Hackathons Monthly Highlights July 2025
Custom Battery Pack Design Considerations for Performance and Safety
TEXTILE technology diploma scope and career opportunities
Module 1.ppt Iot fundamentals and Architecture
Enhancing plagiarism detection using data pre-processing and machine learning...
Improvisation in detection of pomegranate leaf disease using transfer learni...
Benefits of Physical activity for teenagers.pptx
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
Five Habits of High-Impact Board Members
STKI Israel Market Study 2025 version august
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
Getting started with AI Agents and Multi-Agent Systems
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
Microsoft Excel 365/2024 Beginner's training
sbt 2.0: go big (Scala Days 2025 edition)

Padres Communication Protocols

  • 1. Communication Universal and Faster Arwid Bancewicz, Chuma Chukwulozie Supervisor: Prof. Hans-Arno Jacobsen, MSRG, UofT Thursday February 11 2010 1
  • 2. Outline • Introduction: Motivation + Background • Part 1: Making it Universal • Part 2: Making it Faster + Use Cases • Progress Status & Summary 2
  • 4. Introduction Motivation ...mrrr... huh? mrrrr...... murr... • Need language interpreter or “middleman” to facilitate communication ‣ Middleman for humans............. Interpreter ‣ Middleware for applications........ PADRES 4
  • 5. Introduction Background • PADRES ‣ Distributed - Divide problem up for Brokers ‣ Publish/Subscribe - Type of communication ‣ Middleware - Facilitates communication between software applications 5
  • 6. Introduction Communication network Subscriber Publisher Publisher Subscriber Brokers Subscriber Publisher 6
  • 7. Introduction Communication network Application Application Subscriber Publisher Publisher Brokers Application Application Publisher Subscriber 7
  • 8. Introduction Communication network What is the temperature in Application Toronto? Application S Subscriber Publisher Publisher Brokers Application Application Publisher Subscriber 8
  • 9. Introduction Communication network Application Application S Subscriber Publisher Publisher Brokers Application Application Publisher Subscriber 9
  • 10. Introduction Communication network The temperature in Application Application Toronto is -7 Subscriber Publisher P Publisher S Brokers Application Application Publisher Subscriber 10
  • 11. Introduction Communication network Application Application Subscriber Publisher P Publisher S Brokers Application Application Publisher Subscriber 11
  • 12. Introduction Communication network The temperature in Toronto is -7 Application Application P Subscriber Publisher Publisher S Brokers Application Application Publisher Subscriber 12
  • 13. PART 1: Making it Universal 13
  • 14. Part 1: Making it Universal Standard Formats • Accept more standardized communication protocols for information exchange • XML: long-time standard • JSON: simple, light-weight • YAML: highly human-readable 14
  • 15. Part 1: Making it Universal Implementation JavaCC Parsers and Message Creation PADRES Message JavaCC Parsers S P A XML Parser Message JSON Parser US USC UA YAML Parser CS 15
  • 16. PART 2: Making it FASTER 16
  • 17. Part 2: Making it Faster Currently • PADRES uses Java RMI Advantages Handles threads, sockets Garbage Collection Serialization • Overall not efficient! 17
  • 18. Part 2: Making it Faster Currently • PADRES uses Java RMI Advantages Disadvantages Handles threads, sockets Strictly Java Garbage Collection Security Issues Serialization Overhead • Overall not efficient! 18
  • 19. Part 2: Making it Faster Alternatives • SOAP: uses HTTP as transport • XML-RPC: same advantages, no support for unicode characters • CORBA: supports concurrency; security and authentication • RAW Sockets: no overhead, no 3rd party libraries 19
  • 20. Part 2: Making it Faster Benchmarking Alternatives SOAP XML-RPC CORBA Raw Sockets 0.294 0.30 0.23 0.15 0.083 0.08 0.005 0 0.001 20 Courtesy of IBM DeveloperWorks Web Services
  • 21. Part 2: Making it Faster Sockets Implementation • Lot of code ‣ Use NIO package • Error Control ‣ Ensure it passes all test cases • Concurrency ‣ PADRES provides framework 21
  • 22. Part 2: Making it Faster Use Cases 22
  • 23. Part 2: Making it Faster Use Cases Supply chain and logistics 23
  • 24. Part 2: Making it Faster Use Cases Supply chain and logistics Job Scheduling and more... 24
  • 25. Progress Status & Summary 25
  • 26. Progress Status & Summary Project Status • On Schedule. Milestones Done? PADRES Installation Yes User-client Interface Yes JavaCC Parsers & Message Creation Yes Integrate & Test Parsers with Client API Yes Broker-broker Communication In Progress Verify & Validate Efficiency Improvement No Stabilize and Release new version of PADRES No 26
  • 27. Progress Status & Summary Summary & Conclusion • Expansion of user-client interface ‣ Parsers for XML, JSON, YAML • Faster messaging technology ‣ Java NIO Sockets • Project is on schedule 27