Volatile Sets: Event-driven Collections for Mobile Ad-Hoc Applications
DOI:
https://doi.org/10.14279/tuj.eceasst.43.585Abstract
In mobile peer-to-peer applications, a common pattern is to maintain a collection of remotely-hosted objects. Traditional approaches require programmers to manually track the connectivity state of these remote objects and add them or remove them from local collections on a per-object basis. Because this happens concurrently with the rest of the application code, it hinders the composability of such collections and leads to subtle and hard to find bugs. In this paper, we propose an abstraction called volatile sets that allows the contents of the set to be specified intensionally. Additionally, volatile sets offer an event-driven API that signals when remote objects appear, disappear or change. Finally, volatile sets can be easily and efficiently composed through traditional set operations. We show how volatile sets ease the development of a collaborative peer-to-peer drawing application.Downloads
Published
2011-06-09
How to Cite
[1]
D. Harnie, E. Gonzalex Boix, A. Lombide Carreton, C. Scholliers, and W. De Meuter, “Volatile Sets: Event-driven Collections for Mobile Ad-Hoc Applications”, eceasst, vol. 43, Jun. 2011.
Issue
Section
Articles