Peer-to-peer network
A peer-to-peer network is a distributed architecture in which equivalent participants communicate and exchange resources directly without a central intermediary.
AI Agents in Action, Second Edition
A peer-to-peer network is a decentralized multi-agent pattern in which agents communicate and cooperate without a central coordinator.
- How it is used
- Supports distributed decisions and robust cooperation among agents without a central coordinator.
- How deep it goes
- Defines decentralized coordination and explains use cases and failure modes, but does not give an implementation procedure.
- Examples
- Illustrates detector agents exchanging cybersecurity alerts and insights to identify threats collectively.
- What you can do after
- Evaluate/understand when decentralized agent cooperation is worth its communication, debugging, and consistency costs.
Read how AI Agents in Action, Second Edition explains peer-to-peer network →
Rust Servers, Services, and Apps
A peer-to-peer network is a distributed network in which nodes communicate and provide services directly without requiring a central coordinator.
- How it is used
- Uses direct peer communication to share computing resources and provide services without a central coordinator.
- How deep it goes
- Explains the client/server contrast, network properties, and transport needs, then demonstrates libp2p identity, ping, and peer discovery.
- Examples
- Uses IPFS, BitTorrent, Bitcoin, and Ethereum as examples, then demonstrates Rust libp2p ping messages and mDNS discovery.
- What you can do after
- Build a Rust libp2p node that identifies itself, exchanges ping messages, and discovers peers with mDNS.
Read how Rust Servers, Services, and Apps explains peer-to-peer network →
Related concepts
- distributed systemkind of · A distributed system is a computing system whose components run across multiple networked processes or machines and coordinate through communication.
- client-server architecturecontrasts with · A distributed computing pattern in which clients request services or resources from servers, which process the requests and provide results.
- data marketplacekind of · A data marketplace is a platform or organized market where data or data-related services are offered, licensed, exchanged, or purchased.
- multiplexingused by · Multiplexing is a technique for carrying or coordinating multiple independent streams, operations, or resources through a shared communication path or interface.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

