Technical Report Number
Agilla is a mobile agent middleware that facilitates the rapid deployment of adaptive applications in wireless sensor networks (WSNs). Agilla allows users to create and inject special programs called mobile agents that coordinate through local tuple spaces, and migrate across the WSN performing application-speciﬁc tasks. This ﬂuidity of code and state has the potential to transform a WSN into a shared, general-purpose computing platform capable of running several autonomous applications at a time, allowing us to harness its full potential. We have implemented and evaluated a ﬁre tracking application to determine how well Agilla achieves its goals. Fire is modeled by agents that gradually spread throughout the network, engulﬁng nodes by inserting ﬁre tuples into their local tuple spaces. Fire tracker agents are then used to form a perimeter around the ﬁre. Using Agilla, we were able to rapidly create and deploy 47 byte ﬁre agents, and 100 byte tracker agents on a WSN consisting of 26 MICA2 motes. Our experiments show that the tracker agents can form an 8-node perimeter around a burning node within 6.5 seconds and that it can adapt to a ﬁre spreading at a rate of 7 seconds per hop. We also present the lessons learned about the adequacy of Agilla’s primitives, and regarding the efﬁciency, reliability, and adaptivity of mobile agents in a WSN.
Fok, Chien-Liang; Roman, Gruia-Catalin; and Lu, Chenyang, "Mobile Agent Middleware for Sensor Networks: An Application Case Study" Report Number: WUCSE-2004-73 (2004). All Computer Science and Engineering Research.