Abstract
The mobile agent paradigm has been adopted by several systems in the area of wireless sensor networks as it enables a flexible distribution and placement of application components on nodes, at runtime. Most agent placement and migration algorithms proposed in the literature, assume that the communication rates between agents remain stable for a sufficiently long time to amortize the migration costs. Then, the problem is that frequent changes in the application-level communication may lead to several non-beneficial agent migrations, which may actually increase the total network cost, instead of decreasing it. To tackle this problem, we propose two distributed algorithms that take migration decisions in an online fashion, trying to deal with fluctuations in agent communication. The first algorithm is more of theoretical value, as it assumes infinite storage to keep information about the message exchange history of agents, while the second algorithm is a refined version that works with finite storage and limited information. We describe these algorithms in detail, and provide proofs for their competitive ratio vs. an optimal oracle. In addition, we evaluate the performance of the proposed algorithms for different parameter settings through a series of simulated experiments, also comparing their results with those achieved by an optimal static placement that is computed with full (a posteriori) knowledge of the execution scenarios. Our theoretical and experimental results are a strong indication for the robustness and effectiveness of the proposed algorithms.
Similar content being viewed by others
References
Aspenes J, Azar Y, Fiat A, Plotkin S, Waarts O (1993) On-line machine scheduling with application to load balancing and virtual circuit routing. ACM Symposium on Theory of Computing
Arora D, Bienkowski M, Feldman A, Schaffrath G, Schmid S (2011) Online strategies for intra and inter provider service migration in virtual networks, Proc. IPTcomm
Azar Y et al. (1993) On-line load balancing of temporary tasks, Workshop on algorithms and data structures
Bonifaci V, Korteweg P, Marchetti-Spaccamela A, Stougie L (2008) The distributed wireless gathering problem. Proc. ICAMWN
Boulis A, Han C-C, Shea R, Srivastava MB (2007) Sensorware: programming sensor networks beyond code update and querying. Pervasive Mob Comput J
Buchbinder N, Naor J (2009) The design of competitive online algorithms via a primal: dual approach. Found Trends Theoritical Comput Sci
Caragiannis I, Flammini M, Kaklamanis C, Kanellopoulos P, Loscardelli L (2006) Tight Bounds for Selfish and Greedy Load Balancing. Proc. ICALP
Caragiannis I (2009) Better bounds for online load balancing on unrelated machines. Proc. SODA
Chen B, Liang W, Xu Yu J (2010) Online time interval top-k queries in wireless sensor networks. Proc. ICMDM
Chrobak M, Koutsoupias E, Noga J (2003) More on randomized on-line algorithms for caching. Theoritcal Comput Sci
Domaszewicz J, Roj M, Pruszkowski A, Golanski M, Kacperski K (2006) ROVERS: pervasive computing platform for heterogeneous sensor-actuator networks. Proc. WowMoM
Fok CL, Roman GC, Lu C (2005) Rapid development and flexible deployment of adaptive wireless sensor network applications. Proc. ICDCS
Fontanelli D, Palopoli L, Passerone R (2009) On the global convergence of a class of distributed algorithms for maximizing the coverage of a WSN. Proc. CDC/CCC
Grimm R, Davis J, Lemar E, Macbeth A, Swanson S, Anderson T, Bershad B, Borriello G, Gribble S, Wetherall D (2004) System support for pervasive applications. ACM Trans Comput Syst
Harks T, Heinz S, Pfetsch ME (2009) Competitive online multicommodity routing. Theory Comput Syst
Kompella RR, Shoeren AC (2003) Practical lazy scheduling in sensor networks. Proc. SenSys
Kothari N, Gummadi R, Millstein T, Govindan R (2007) Reliable and efficient programming abstractions for wireless sensor networks. Proc. ACM SIGPLAN PLDI
Lee C-H, Shin KG (1997) Optimal task assignment in homogeneous networks. IEEE Trans on Parallel Distrib Syst 8:119–129
Levis P, Culler D (2002) Mate: a tiny virtual machine for sensor networks. Proc. ASPLOS
Liang W (2007) Online data gathering for maximizing network lifetime in sensor networks. IEEE Trans Mob Comput
Liu H, Roeder T, Walsh K, Barr R, Sirer EG (2005), Design and implementation of a single system image operating system for ad hoc networks. Proc. MOBISYS
Li Q, Aslam J, Rus D (2001) Online power-aware routing in wireless ad-hoc networks. Proc. MobiCom
Loo KK, Tong I, Kao B (2005) Online algorithms for mining inter-stream associations from large sensor neworks. Lect Notes in Comput Sci
Mesarovic MD (1970) Multilevel systems and concepts in process control. Proc IEEE 58(1):111–125
Minhas MR, Gopalakrishnan S, Leung VCM (2009) An online multipath routing algorithm for maximizing lifetime in wireless sensor networks. ITNG
Network Simulator2 (ns2), http://www.isi.edu/nsnam/ns/
Ramachandran U et al. (2006) Dynamic data fusion for future sensor networks. ACM Trans Sens Netw
Ranganathan A, et al. (2005) Olympus: a high-level programming model for pervasive computing environments, PERCOM
Sleator DD, Tarjan RE (1985) Amortized efficiency of list update and paging rules. ACM Commun
Sonnek J, Greensky J, Reutiman R (2010) Starling: minimizing communication overhead in virtualized computing platforms using decentralized affinity-aware migration, Proc. ICPP
STREP/FP7-ICT: Platform for Opportunistic Behaviour in Incompletely Specified, Heterogeneous Object Communities (POBICOS), http://www.ict-pobicos.eu/index.htm
Tziritas N, Georgakoudis G, Lalis S, Paczesny T, Domaszewicz J, Lampsas P, Loukopoulos T (2012) Middleware mechanisms for agent mobility in wireless sensor and actuator networks, Proc. 3rd International Conference on Sensor Systems and Software (S-CUBE)
Tziritas N, Lampsas P, Lalis S, Loukopoulos T, Khan SU, Xu C-Z (20012) Introducing agent evictions to improve application placement in wireless embedded systems. Proc. ICPP
Tziritas N, Loukopoulos T, Lalis S, Lampsas P (2011) GRAL: a grouping algorithm to optimize application placement in wireless embedded systems. Proc. IPDPS
Tziritas N, Khan SU, Xu C-Z, Hong J (2012) An optimal fully distributed algorithm to minimize the resource consumption of cloud applications, Proc. ICPADS
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Tziritas, N., Lalis, S., Khan, S.U. et al. Distributed Online Algorithms for the Agent Migration Problem in WSNs. Mobile Netw Appl 18, 622–638 (2013). https://doi.org/10.1007/s11036-013-0452-0
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11036-013-0452-0