Ambient Clouds: Reactive Asynchronous Collections for Mobile Ad Hoc Network Applications

Printer-friendly version

Publication Type:

Conference Paper

Source:

13th IFIP International Conference on Distributed Applications and Interoperable Systems (COORDINATION'13), Springer Berlin Heidelberg, Volume 7891, p.85-98 (2013)

ISBN:

978-3-642-38540-7

URL:

http://dx.doi.org/10.1007/978-3-642-38541-4_7

Keywords:

collection, language abstraction, mobile ad hoc network, peer-to-peer application

Abstract:

In MANET applications, a common pattern is to maintain and query time-varying collections of remote objects. Traditional approaches require programmers to manually track the connectivity state of these remote objects and adding or removing them from local collections on a per-object basis. Queries over these collections have to be manually recomputed whenever the collection or its elements change.
The code for maintaining these ad-hoc collections is scattered across the application code and leads to bugs hindering the application development process. In this paper, we propose an object-oriented abstraction called ambient clouds: a collection of objects whose contents are implicitly updated when changes occur. Ambient clouds can be queried and composed using reactive standard query operators. We show how ambient clouds ease the development of a collaborative peer-to-peer drawing application.