Migrating operator placement for compositional stream graphs

Wireless sensor networks (WSN) and mobile clouds are composed of sensor nodes that have limited energy resources. For wireless sensor networks, query processing is the state-of-the-art for data gathering and processing applications to avoid low-level programming. The stream programming model has been widely used to represent queries as an information flow from the sensor nodes to the base station. The model describes queries as stream graphs consisting of operators that process data and channels that connect operators. Operators are deployed in the network to reduce the communication overhead and hence energy. The modification of WSN queries at runtime is of key importance due to changes in the environment and the network energy levels, resulting in the migration of operators between the network nodes. In this work, we introduce the migrating operator placement problem (MOPP) that places operators of stream graphs on sensor nodes, such that energy costs are minimized. The placement takes changes of queries and migration of operators into account. The general MOPP is NP hard, and, therefore, we develop a dynamic program for a compositional subset of the stream graphs with polynomially-bounded running time. To improve the performance of our algorithm, we introduce a heuristic that reduces the search space to the proximity of the base station. We conduct various experiments using a simulator for wireless sensor networks with different sizes.

[1]  P. Erdos,et al.  On the evolution of random graphs , 1984 .

[2]  Harold S. Stone,et al.  Multiprocessor Scheduling with the Aid of Network Flow Algorithms , 1977, IEEE Transactions on Software Engineering.

[3]  B. Bollobás The evolution of random graphs , 1984 .

[4]  Mohamed Medhat Gaber,et al.  Corona: Energy-Efficient Multi-query Processing in Wireless Sensor Networks , 2010, DASFAA.

[5]  Wei Hong,et al.  TinyDB: an acquisitional query processing system for sensor networks , 2005, TODS.

[6]  Jennifer Widom,et al.  Operator placement for in-network stream query processing , 2005, PODS.

[7]  Olga Veksler,et al.  Fast approximate energy minimization via graph cuts , 2001, Proceedings of the Seventh IEEE International Conference on Computer Vision.

[8]  Bharat K. Bhargava,et al.  A Mobile-Cloud Collaborative Traffic Lights Detector for Blind Navigation , 2010, 2010 Eleventh International Conference on Mobile Data Management.

[9]  William Thies,et al.  StreamIt: A Language for Streaming Applications , 2002, CC.

[10]  Éva Tardos,et al.  Approximation algorithms for classification problems with pairwise relationships: metric labeling and Markov random fields , 2002, JACM.

[11]  François Ingelrest,et al.  SensorScope: Application-specific sensor network for environmental monitoring , 2010, TOSN.

[12]  Mohamed Medhat Gaber,et al.  Efficient Time Triggered Query Processing in Wireless Sensor Networks , 2007, ICESS.

[13]  Viktor K. Prasanna,et al.  Energy-Balanced Task Allocation for Collaborative Processing in Wireless Sensor Networks , 2005, Mob. Networks Appl..

[14]  Youngki Lee,et al.  MobiCon: a mobile context-monitoring platform , 2012, CACM.

[15]  Ali Hamlili Adaptive schemes for estimating random graph parameters in mobile wireless ad hoc networks' modeling , 2010, 2010 IFIP Wireless Days.

[16]  Stefano Chessa,et al.  MaD‐WiSe: a distributed stream management system for wireless sensor networks , 2010, Softw. Pract. Exp..

[17]  Brian W. Kernighan,et al.  AMPL: A Modeling Language for Mathematical Programming , 1993 .

[18]  Viktor K. Prasanna,et al.  Energy-Efficient Task Mapping for Data-Driven Sensor Network Macroprogramming , 2008, DCOSS.

[19]  Mihalis Yannakakis,et al.  The Complexity of Multiterminal Cuts , 1994, SIAM J. Comput..

[20]  Yong Yao,et al.  The cougar approach to in-network query processing in sensor networks , 2002, SGMD.

[21]  Bo Zhang,et al.  Maximum utility rate allocation for energy harvesting wireless sensor networks , 2011, MSWiM '11.

[22]  Yunghsiang Sam Han,et al.  A pairwise key predistribution scheme for wireless sensor networks , 2005, TSEC.

[23]  Matt Welsh,et al.  Deploying a wireless sensor network on an active volcano , 2006, IEEE Internet Computing.

[24]  Alan Fekete,et al.  Curracurrong : a stream programming environment for wireless sensor networks , 2014, Softw. Pract. Exp..

[25]  Hao Zhang,et al.  Deploying Mobile Computation in Cloud Service , 2009, CloudCom.

[26]  Sanjay Jha,et al.  Location-free fault repair in hybrid sensor networks , 2006, InterSense '06.