Title :
Analysis and comparison of concurrency control protocols for wireless sensor networks
Author :
Reinke, Christoph ; Hoeller, Nils ; Werner, Stefan ; Groppe, Sven ; Linnemann, Volker
Author_Institution :
Inst. of Inf. Syst., Univ. of Luebeck, Luebeck, Germany
Abstract :
In recent years the sensor network databases TinyDB and StonesDB have emerged. While both provide a useful abstraction layer for querying data, live data in the case of TinyDB and historic data in the case of StonesDB, neither of these approaches provide transaction processing capabilities. Transaction processing capabilities are needed to guarantee the consistency, for instance, in the case of data updates at runtime or the sophisticated requirements of emerging wireless sensor and actor networks. In this paper we analyze traditional concurrency control approaches and compare them with regard to their usability in wireless sensor networks. Therefore, we implemented the traditional Strict Two Phase Locking (S2PL), Timestamp Ordering (TO) and Forward Oriented Optimistic Concurrency Control (FOCC) by validation. We show in experiments with the network simulator Shawn, that locking exhibits better commit rates and lower costs under a variety of conditions compared to timestamp ordering and validation. We also implemented locking for the sensor node platform Pacemate to show the feasibility of our approach. We believe that efficient concurrency control can broaden the application spectrum of sensor network databases and is also vital for the emerging wireless sensor and actor networks.
Keywords :
concurrency control; distributed databases; protocols; wireless sensor networks; StonesDB; TinyDB; abstraction layer; actor networks; concurrency control protocols; forward oriented optimistic concurrency control; network simulator Shawn; sensor network database; sensor node platform Pacemate; timestamp ordering; transaction processing; usability; wireless sensor networks; Ad hoc networks; Concurrency control; Databases; Mobile computing; Protocols; Synchronization; Wireless sensor networks; Concurrency Control; Isolation; Wireless Sensor Networks;
Conference_Titel :
Distributed Computing in Sensor Systems and Workshops (DCOSS), 2011 International Conference on
Conference_Location :
Barcelona
Print_ISBN :
978-1-4577-0512-0
Electronic_ISBN :
978-1-4577-0511-3
DOI :
10.1109/DCOSS.2011.5982219