liveBook · Manning

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.

How 2 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 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

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.