Chapter 3. Agent Communication
108
3.4 Comparison: Signals and Tuples
Communication is central in large-scale distributed systems with a high
impact on the overall system performance and stability. Two main issues arise
affecting design considerations: 1. Efficiency of the communication with
respect to latency, computational complexity, and storage; 2. Addressing and
delivery of messages to destination entities. Efficiency is a key factor in self-
powered material-integrated low-resource computing networks. Commonly,
end-to-end communication is established between processes using IP proto-
cols and computer nodes having unique addresses, which is not suitable for
large-scale material-integrated networks and mobile agents. The agent model
usually announces autonomy and loosely coupling to the environment, thus
without a strong binding to a specific node. Moreover, there is usually no
global knowledge of the current position of an agent in the network at all.
Basically three approaches are available to exchange information between
agents: Tuple-space access, signal messages, and agent migration.
Tuple-Spaces
Tuple-space communication (see Figure 3.2 a) exchanges data tuples
between entities based on pattern matching, i.e., between processes and
agents. The information exchange is data-driven and bases on the data struc-
ture and content of the data, and do not require any destination addressing
or negotiation between communicating entities. Furthermore, tuple-space
communication is generative, i.e., the lifetime of data can exceeds the lifetime
of the producer. There are producer and consumer agents. A tuple-space can
be localized with a limited access region, commonly limiting data exchange to
entities executed on the same network node. Distributed tuple-spaces require
inter-node synchronization and base on replication and some kind of distrib-
uted memory model. The AAPL agent model originally uses tuple-spaces only
for agent communication executed on the same node.
Agent-to-Agent (A2A) Signals
Signals are lightweight messages that are delivered to specific agents
(Agent-to-Agent A2A, see Figure 3.2 b), in contrast to the anonymous tuple
exchange. One major issue in distributed MAS is remote agent communica-
tion between agents executed on different network nodes. Although an agent
can be addressed by a unique identifier, the path between a source and desti-
nation agent is initially unknown. For the sake of simplicity and efficiency,
routing table management and network exploration in advance is avoided.
Instead, the AAPL platforms (JAM/PAVM) support signal delivery along paths of
mobile agents only. That means, a signal from a source node A can only be
delivered to a destination agent currently on node B iff the destination agent
was executed (or created) on node A some time ago. I.e., two agents must
have been executed on the same node in the past. Agent migration and signal
S. Bosse, Unified Distributed Sensor and Environmental Information Processing with Multi-Agent Systems
epubli, ISBN 9783746752228 (2018)