towards distributed reo
play

Towards Distributed Reo Jos Proena Centrum voor Wiskunde en - PowerPoint PPT Presentation

Motivation Distributed Reo Behaviour agreement Conclusions Towards Distributed Reo Jos Proena Centrum voor Wiskunde en Informatica CIC, 2007 J. Proena (CWI) Towards Distributed Reo CIC, 2007 1 / 15 Motivation Distributed Reo


  1. Motivation Distributed Reo Behaviour agreement Conclusions Towards Distributed Reo José Proença Centrum voor Wiskunde en Informatica CIC, 2007 J. Proença (CWI) Towards Distributed Reo CIC, 2007 1 / 15

  2. Motivation Distributed Reo Behaviour agreement Conclusions Outline Motivation 1 Distributed Reo Model 2 Behaviour agreement 3 Conclusions 4 J. Proença (CWI) Towards Distributed Reo CIC, 2007 2 / 15

  3. Motivation Distributed Reo Behaviour agreement Conclusions Outline Motivation 1 Distributed Reo Model 2 Behaviour agreement 3 Conclusions 4 J. Proença (CWI) Towards Distributed Reo CIC, 2007 3 / 15

  4. Motivation Distributed Reo Behaviour agreement Conclusions Motivation Coordination: How to implement it? Distributed Coordination Where to run it? J. Proença (CWI) Towards Distributed Reo CIC, 2007 4 / 15

  5. Motivation Distributed Reo Behaviour agreement Conclusions Motivation Coordination: How to implement it? Distributed Coordination Where to run it? J. Proença (CWI) Towards Distributed Reo CIC, 2007 4 / 15

  6. Motivation Distributed Reo Behaviour agreement Conclusions Motivation Coordination: How to implement it? Distributed Coordination Where to run it? J. Proença (CWI) Towards Distributed Reo CIC, 2007 4 / 15

  7. Motivation Distributed Reo Behaviour agreement Conclusions Architecture Designer Deployment Resolver Local Optimization Instantiator Kernel J. Proença (CWI) Towards Distributed Reo CIC, 2007 5 / 15

  8. Motivation Distributed Reo Behaviour agreement Conclusions Architecture Designer Use of tools, such as a GUI Deployment Resolver Local Optimization Instantiator Kernel J. Proença (CWI) Towards Distributed Reo CIC, 2007 5 / 15

  9. Motivation Distributed Reo Behaviour agreement Conclusions Architecture Designer c d Deployment Resolver c c Unspecified locations are re- solved. Constraints and poli- c b cies need to be considered. Local Optimization c a Instantiator Kernel J. Proença (CWI) Towards Distributed Reo CIC, 2007 5 / 15

  10. Motivation Distributed Reo Behaviour agreement Conclusions Architecture Designer c d c Deployment Resolver c c Local Optimization b Plugins: CA CC CSP c a Instantiator x Kernel J. Proença (CWI) Towards Distributed Reo CIC, 2007 5 / 15

  11. Motivation Distributed Reo Behaviour agreement Conclusions Architecture Designer c d Deployment Resolver c c Local Optimization c b x Instantiator Creation of primitives a c Kernel J. Proença (CWI) Towards Distributed Reo CIC, 2007 5 / 15

  12. Motivation Distributed Reo Behaviour agreement Conclusions Architecture Designer c d Deployment Resolver c c Local Optimization c b x Instantiator Kernel a c Execution of the engine J. Proença (CWI) Towards Distributed Reo CIC, 2007 5 / 15

  13. Motivation Distributed Reo Behaviour agreement Conclusions Outline Motivation 1 Distributed Reo Model 2 Behaviour agreement 3 Conclusions 4 J. Proença (CWI) Towards Distributed Reo CIC, 2007 6 / 15

  14. Motivation Distributed Reo Behaviour agreement Conclusions Distributed Reo Distributed: deals with partial knowledge. Primitive (coordinator) Node Implemention: Scala language Integrates features of object-oriented and functional languages; Fully interoperable with Java; Actor model for communication. J. Proença (CWI) Towards Distributed Reo CIC, 2007 7 / 15

  15. Motivation Distributed Reo Behaviour agreement Conclusions Distributed Reo Distributed: deals with partial knowledge. Primitive (coordinator) Node Implemention: Scala language Integrates features of object-oriented and functional languages; Fully interoperable with Java; Actor model for communication. J. Proença (CWI) Towards Distributed Reo CIC, 2007 7 / 15

  16. Motivation Distributed Reo Behaviour agreement Conclusions Distributed Reo Primitives and nodes Can be seen as a particular Each port has a location . case of a primitive that: Must react to some messages: has no state; Request Behabiour can be distributed; Reply Behaviour propagates synchronous Refuse (reason) constraints. Give Behaviour & Request/Give Data Reply Data J. Proença (CWI) Towards Distributed Reo CIC, 2007 8 / 15

  17. Motivation Distributed Reo Behaviour agreement Conclusions Distributed Reo Primitives and nodes Can be seen as a particular Each port has a location . case of a primitive that: Must react to some messages: has no state; Request Behabiour can be distributed; Reply Behaviour propagates synchronous Refuse (reason) constraints. Give Behaviour & Request/Give Data Reply Data J. Proença (CWI) Towards Distributed Reo CIC, 2007 8 / 15

  18. Motivation Distributed Reo Behaviour agreement Conclusions Behaviour What is it? What each primitive can do Which end points can flow data, Example: and relation between data Connector Colouring flowing in the end points. Colouring tables provide the behaviour of each Join of behaviours primitive; Given the behaviour of two Join of colouring tables is primitives, the behaviour of the defined. composition of both can also be obtained. J. Proença (CWI) Towards Distributed Reo CIC, 2007 9 / 15

  19. Motivation Distributed Reo Behaviour agreement Conclusions Behaviour What is it? What each primitive can do Which end points can flow data, Example: and relation between data Connector Colouring flowing in the end points. Colouring tables provide the behaviour of each Join of behaviours primitive; Given the behaviour of two Join of colouring tables is primitives, the behaviour of the defined. composition of both can also be obtained. J. Proença (CWI) Towards Distributed Reo CIC, 2007 9 / 15

  20. Motivation Distributed Reo Behaviour agreement Conclusions Outline Motivation 1 Distributed Reo Model 2 Behaviour agreement 3 Conclusions 4 J. Proença (CWI) Towards Distributed Reo CIC, 2007 10 / 15

  21. Motivation Distributed Reo Behaviour agreement Conclusions Commit to a behaviour Locations are not relevant; Assume partial knowledge (know only neighbours); Two phase algorithm: Negotiation and Communication. J. Proença (CWI) Towards Distributed Reo CIC, 2007 11 / 15

  22. Motivation Distributed Reo Behaviour agreement Conclusions Commit to a behaviour Locations are not relevant; Assume partial knowledge (know only neighbours); Two phase algorithm: Negotiation and Communication. J. Proença (CWI) Towards Distributed Reo CIC, 2007 11 / 15

  23. Motivation Distributed Reo Behaviour agreement Conclusions Commit to a behaviour Basic case J. Proença (CWI) Towards Distributed Reo CIC, 2007 12 / 15

  24. Motivation Distributed Reo Behaviour agreement Conclusions Commit to a behaviour Basic case J. Proença (CWI) Towards Distributed Reo CIC, 2007 12 / 15

  25. Motivation Distributed Reo Behaviour agreement Conclusions Commit to a behaviour Basic case J. Proença (CWI) Towards Distributed Reo CIC, 2007 12 / 15

  26. Motivation Distributed Reo Behaviour agreement Conclusions Commit to a behaviour Basic case J. Proença (CWI) Towards Distributed Reo CIC, 2007 12 / 15

  27. Motivation Distributed Reo Behaviour agreement Conclusions Commit to a behaviour Multiple starting points > > J. Proença (CWI) Towards Distributed Reo CIC, 2007 13 / 15

  28. Motivation Distributed Reo Behaviour agreement Conclusions Commit to a behaviour Multiple starting points > > J. Proença (CWI) Towards Distributed Reo CIC, 2007 13 / 15

  29. Motivation Distributed Reo Behaviour agreement Conclusions Commit to a behaviour Multiple starting points > > J. Proença (CWI) Towards Distributed Reo CIC, 2007 13 / 15

  30. Motivation Distributed Reo Behaviour agreement Conclusions Commit to a behaviour Multiple starting points > > J. Proença (CWI) Towards Distributed Reo CIC, 2007 13 / 15

  31. Motivation Distributed Reo Behaviour agreement Conclusions Commit to a behaviour Multiple starting points > > J. Proença (CWI) Towards Distributed Reo CIC, 2007 13 / 15

  32. Motivation Distributed Reo Behaviour agreement Conclusions Commit to a behaviour Multiple starting points > > J. Proença (CWI) Towards Distributed Reo CIC, 2007 13 / 15

  33. Motivation Distributed Reo Behaviour agreement Conclusions Outline Motivation 1 Distributed Reo Model 2 Behaviour agreement 3 Conclusions 4 J. Proença (CWI) Towards Distributed Reo CIC, 2007 14 / 15

  34. Motivation Distributed Reo Behaviour agreement Conclusions Conclusions Common architecture to include design and implementation; Implementation platform, where each (distributed) element knows only about its own neighbours; Resolve synchrony constraints (imposed by Reo) using asynchronous messages; The kernel supports messages for other purposes: Fail/Abort; Suspend – to allow reconfiguration. . . . How to determine the rank of the inititiators ? A primitive(s) can be obtained from other coordination models other than Reo ( e.g. , Orc); Allow unification of more coordination models; J. Proença (CWI) Towards Distributed Reo CIC, 2007 15 / 15

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend