liveBook · Manning

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.

How 3 Manning books explain it

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

What to know first

Related concepts

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.