Loosely-coupled Distributed Reactive Programming in Mobile Ad Hoc Networks Andoni Lombide Carreton, Stijn Mostinckx, Tom Van Cutsem and Wolfgang De Meuter Department of Computer Science Vrije Universiteit Brussel 48th International Conference on Objects, Models, Components, Patterns -- TOOLS 2010 June 28 - July 2 2010 Malàga, Spain Tuesday 29 June 2010
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Loosely-coupled Distributed Reactive Programming in Mobile Ad Hoc Networks
Andoni Lombide Carreton, Stijn Mostinckx, Tom Van Cutsem and Wolfgang De Meuter
Department of Computer ScienceVrije Universiteit Brussel
48th International Conference on Objects, Models, Components, Patterns -- TOOLS 2010June 28 - July 2 2010Malàga, Spain
Tuesday 29 June 2010
The mobile ticket trader application
Tuesday 29 June 2010
Pervasive Computing and Mobile Ad Hoc Networks
Tuesday 29 June 2010
Pervasive Computing and Mobile Ad Hoc Networks
Mobile devices
Tuesday 29 June 2010
Pervasive Computing and Mobile Ad Hoc Networks
Mobile devices
Tuesday 29 June 2010
Pervasive Computing and Mobile Ad Hoc Networks
Mobile devices
Intermittent connectivity
Tuesday 29 June 2010
Pervasive Computing and Mobile Ad Hoc Networks
Mobile devices
Intermittent connectivity
Spontaneous interactions
Tuesday 29 June 2010
Pervasive Computing and Mobile Ad Hoc Networks
Mobile devices
Intermittent connectivity
Scarce infrastructure
Spontaneous interactions
Tuesday 29 June 2010
Pervasive Computing and Mobile Ad Hoc Networks
Mobile devices
Intermittent connectivity
Scarce infrastructure
Representation of physical objects
Spontaneous interactions
Tuesday 29 June 2010
Distributed Event-driven Architecture
Pervasive Computing and Mobile Ad Hoc Networks
Scarce infrastructure
Representation of physical objects
Spontaneous interactions
Intermittent connectivity
Mobile devices
Tuesday 29 June 2010
Distributed Event-driven Architecture
Pervasive Computing and Mobile Ad Hoc Networks
Scarce infrastructure
Representation of physical objects
Spontaneous interactions
Intermittent connectivity
Mobile devices
Ad Hoc Discovery
Tuesday 29 June 2010
Distributed Event-driven Architecture
Pervasive Computing and Mobile Ad Hoc Networks
Scarce infrastructure
Representation of physical objects
Spontaneous interactions
Intermittent connectivity
Mobile devices
Decentralized
Ad Hoc Discovery
Tuesday 29 June 2010
Distributed Event-driven Architecture
Pervasive Computing and Mobile Ad Hoc Networks
Scarce infrastructure
Representation of physical objects
Spontaneous interactions
Intermittent connectivity
Mobile devices
Decentralized
Resilient
Ad Hoc Discovery
Tuesday 29 June 2010
Distributed Event-driven Architecture
Pervasive Computing and Mobile Ad Hoc Networks
Scarce infrastructure
Representation of physical objects
Spontaneous interactions
Intermittent connectivity
Mobile devices
Event streams
Decentralized
Resilient
Ad Hoc Discovery
Tuesday 29 June 2010
Distributed Event-driven Architecture
Pervasive Computing and Mobile Ad Hoc Networks
Scarce infrastructure
Representation of physical objects
Spontaneous interactions
Intermittent connectivity
Mobile devices
Event streams
Decentralized
Resilient
Ad Hoc Discovery Broadcasting
Tuesday 29 June 2010
Distributed Event-driven Architecture
• Spontaneous discovery of nearby peers and their ticket offers
• AmbientTalk/R yields a higher computational overhead than plain AmbientTalk.
• Event message order preservation not guaranteed on very fine-grained levels over different communication partners.
• No real-time guarantees.
• Event consumers can only create and cancel their distributed dependencies: they cannot limit the number of propagated events.
Tuesday 29 June 2010
Conclusion
• Decentralized publish/subscribe architecture based on UDP broadcasting allows spontaneous and loosely-coupled group interactions.
• Reactive interpreter allows reacting to and processing of events without relying on “callback-spaghetti”.
• Ambient behaviors and reactive queries reconcile both programming styles.
• Event propagation happens with asynchronous messages among distributed event loops: no concurrency issues and resilient to intermittent network connectivity.
http://soft.vub.ac.be/soft/research/amopcopTuesday 29 June 2010