Peer-to-peer network
A peer-to-peer network is a distributed system in which participating nodes communicate or exchange resources directly, without requiring 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 decision-making and robust cooperation without a central coordinator.
- How deep it goes
- Defines decentralized coordination and discusses benefits and failure risks, without a worked implementation.
- Examples
- Illustrates cooperation through cybersecurity detector agents exchanging alerts and insights.
- What you can do after
- Evaluate whether decentralized cooperation suits a task given its control, sequencing, robustness, and communication needs.
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 →
Spring Microservices in Action
A peer-to-peer communication model is a model in which nodes communicate directly with one another rather than through a central intermediary.
- How it is used
- Propagates service-instance registry data among service-discovery nodes.
- How deep it goes
- Explains peer-list and gossip-style propagation, but leaves full Eureka cluster setup outside scope.
- Examples
- Uses a service registering with one discovery node and Eureka registries replicating their contents.
- What you can do after
- Understand how discovery nodes share registry data, but not configure a full Eureka cluster.
Read how Spring Microservices in Action explains peer-to-peer network →
Also covered in
- Architecting Autonomous Agentic SystemsIn early access (MEAP)
- The Cloud at Your Service: The when, how, and why of enterprise cloud computing
- Data for All
What to know first
- agent orchestrationAgent orchestration is the coordination and sequencing of agents, tools, and task steps so their interactions contribute to a larger objective or workflow.
- distributed systemA distributed system is a computing system whose components run on multiple networked computers or processes and coordinate their behavior through communication.
- meanThe mean is a measure of central value, calculated as the arithmetic average of observations or, for a probability distribution, the probability-weighted average of possible values.
- securitySecurity is the protection of systems, information, and resources against unauthorized access, use, disclosure, alteration, disruption, or destruction.
Related concepts
- distributed systemkind of · A distributed system is a computing system whose components run on multiple networked computers or processes and coordinate their behavior through communication.
- client-server architecturealternative to · Client-server architecture is 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.
- networkkind of · A network is a set of interconnected entities and links that represent relationships or enable communication and resource exchange.
Questions about peer-to-peer network
What is peer-to-peer network?
A peer-to-peer network is a distributed system in which participating nodes communicate or exchange resources directly, without requiring a central intermediary.
Which Manning books explain peer-to-peer network?
AI Agents in Action, Second Edition, Rust Servers, Services, and Apps and Spring Microservices in Action.
What should I know before learning peer-to-peer network?
Manning books that teach peer-to-peer network usually introduce agent orchestration, distributed system, mean and security first.
What is the difference between peer-to-peer network and centralized approach?
A peer-to-peer network is a distributed system in which participating nodes communicate or exchange resources directly, without requiring a central intermediary. A centralized approach concentrates governance, administration, processing, or operations in a central authority, system, or service.
What is peer-to-peer network a kind of?
Peer-to-peer network is a kind of distributed system. A distributed system is a computing system whose components run on multiple networked computers or processes and coordinate their behavior through communication.
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.


