11 Building a P2P node with async Rust
This chapter covers
- Introducing peer-to-peer networks
- Understanding the core architecture of libp2p networking
- Exchanging ping commands between peer nodes
- Discovering peers in a P2P network
In the previous chapter, we covered the basics of async programming and how to write async code with Rust. In this chapter, we’ll build a few simple examples of peer-to-peer (P2P) applications using a low-level P2P networking library and asynchronous programming using Rust.
Why learn about P2P? P2P is a networking technology that enables the sharing of various computing resources, such as CPU, network bandwidth, and storage, across different computers. P2P is a very commonly used method for sharing files (such as music, ...
Get Rust Servers, Services, and Apps now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.