A Reliable Message Delivery Protocol for Mobile Agents
2000, Lecture Notes in Computer Science
https://doi.org/10.1007/978-3-540-45347-5_17Abstract
The abstractions and protocol mechanisms that form the basis for inter-agent communications can significantly impact the overall design and effectiveness of Mobile Agent systems. We present the design and performance analysis of a reliable communication mechanism for Mobile Agent systems. Our protocols are presented in the context of a Mobile Agent system called AGNI ¢. We have developed AGNI communication mechanisms that offer reliable peer-to-peer communications, and that are integrated with our agent location tracking infrastructure to enable efficient, failure-resistant networking among highly mobile systems. We have analyzed the design parameters of our protocols using an in-situ simulation approach with validation through measurement of our prototype implementation in real distributed systems. Our system assumptions are simple and general enough to make our results applicable to other Agent systems that may adopt our protocols and/or design principles. £ 1 Introduction Mobile Agents are a convenient and powerful paradigm for structuring distributed systems. Using the Agent paradigm, work can be assigned to sequential, event-driven tasks that cooperate with each other to solve a distributed problem. In such systems, Agents roam the network accessing distributed information and resources while solving pieces of the problem. During the course of these computations Mobile Agents need to communicate among themselves to exchange state and status information, control and direct future behavior, and report results. The abstractions and protocol mechanisms that form the basis for inter-agent communications can significantly impact the overall design and effectiveness of Mobile Agent systems. Numerous approaches to inter-Agent communications are possible including RPC and mailboxes [3]. In this work we present a simple, ordered, reliable, one-way message protocol on top of which other abstractions can easily be built. Reliable, ordered one-way communication mechanisms greatly simplify the construction of most distributed applications. In traditional distributed applications, TCP [15] provides such services. Through decades of experience and re-engineering, TCP has evolved into a protocol that is highly effective at providing reliable end-toend data delivery over the conditions found in today's Internet (e.g., link failures, variable latencies, congestion loss). In this paper, we examine how to build a TCP-like reliable communication mechanism for Mobile Agent systems. The first question to be addressed is "Why we don't use the existing TCP?" We argue that Mobile Agent systems impose new communication requirements and problems that are not adequately addressed by conventional TCP, nor its potential minor variants. In particular, we are concerned with building failure resistant, rapidly re-configurable distributed systems. We view these system properties as a primary motivation for dynamic Agent creation and mobility mechanisms, and as posing significant requirements on inter-Agent communications mechanisms. As such, we require that Agent systems be able to (1) detect and recover from failures in the end-to-end transport mechanism and (2) accommodate efficient communication among mobile end-points. Neither of these capabilities can be provided using standard TCP. In the remainder of this paper we present the design and performance analysis of a reliable communication mechanism for Mobile Agent systems. Our protocol is presented in the context of a Mobile Agent system called AGNI, whose general design and capabilities have been described earlier [13]. Our communication mechanism ¢ AGNI stands for Agents at NIST and is also Sanskrit for fire. £ This work was supported in part by DARPA under the Autonomous Negotiation Teams (ANTS) program (AO # 99-H412/00). The work described in this paper is a research project and not an official US. Government endorsement of any product or protocol.
References (16)
- Ajay Bakre and B. R. Badrinath. I-TCP: Indirect TCP for Mobile Hosts. Technical Report DCS-TR-314, Rutgers University, October 1994.
- Joachim Baumann, Fritz Hohl, Nikolaos Radouniklis, Kurt Rothermel, and Markus Strasser. Communi- cation Concepts for Mobile Agent Systems. In First International Workshop on Mobile Agents, Berlin, Germany, April 1997.
- G. Cabri, L. Leornardi, and F. Zambonelli. Coordination in Mobile Agent Systems. Technical Report DSI-97-24, Universita' di Modena, October 1997.
- Robert S. Gray. Agent TCL: A Flexible and Secure Mobile-agent System. In Proceedings of the Fourth Annual Tcl/Tk Workshop -Monterey CA, July 1996. http://www.cs.dartmouth.edu/ agent/papers.html.
- Van Jacobson. Congestion Avoidance and Control. In Proceedings ACM SIGCOMM, pages 157-173, August 1988.
- Danny B. Lange and Mitsuru Oshima. Programming and Deploying Java Mobile Agents with Aglets. Addison-Wesley, 1998. ISBN 0-201-32582-9.
- Amy Murphy and Gian Pietro Picco. Reliable Communication for Highly Mobile Agents. In Agent Sys- tems and Architectures/Mobile Agents (ASA/MA) '99, pages 141-150, October 1999.
- Tadashi Okoshi, Masahiro Mochizuki, Yoshito Tobe, and Hideyuki Tokuda. MobileSocket: Session Layer Continuous Operation Support for Java Applications. Transactions of Information Processing Society of Japan, 1(1), 1999.
- Charles Perkins. RFC 2002 IP Mobility Support. See IETF RFC Repository http://www.ietf.org.
- E. Pitoura and G. Samara. Locating Objects in Mobile Computing. IEEE Transactions on Knowledge and Data Engineering, to appear(to appear), 2000. http://zeus.cs.uoi.gr/ pitoura/.
- M. Ranganathan, Anurag Acharya, Shamik Sharma, and Joel Saltz. Network-aware Mobile Programs. In USENIX Winter Technical Conference, jan 1997.
- M. Ranganathan, V. Schaal, V. Galtier, and D. Montgomery. Mobile Streams: A Middleware for Recon- figurable Distributed Scripting. In Agent Systems And Architectures/Mobile Agents '99 , October 1999.
- Mesquite Software. Csim-18 simulation library. http://www.mesquite.com.
- W. Richard Stevens. TCPIP Illustrated, Vol 1: The Protocols. Addison-Welsley, Reading, MA, 1994.
- Markus Strasser, Joachim Baumann, and Fritz Hohl. Mole -A Java-based Mobile Agent Sys- tem. In 2nd ECOOP Workshop on Mobile Object Systems, pages 28-35, Linz, Austria, July 1996. http://www.informatik.uni-stuttgart.de/ipvr/vs/Publications/1996-strasser-01.ps.gz.
- M. van Steen, P. Homburg, and A.S. Tanenbaum. The Architectural Design of Globe: A Wide-area Dis- tributed System. Technical Report IR-422, Vrije University, March 1997. This article was processed using the L A T E X macro package with LLNCS style