In this part, we will study the networking Layer of IPFS and what it contributes to the awesomeness of IPFS. We will go through it’s working, specs and play around with it to understand it more clearly.
In this part, we will try to understand What IPFS is, Why do we need it and What we can do with it. We will cover all the underlying components of IPFS in brief(which will be explained in depth in further parts) and see how they work together.
Stream Multiplexing (often abbreviated as “stream muxing”) allows multiple independent logical streams to all share a common underlying transport medium. Libp2p applications often open many independent streams of communication between peers and may have several concurrent streams open at the same time with a given remote peer. Stream multiplexing allows
Publish/Subscribe is a system where peers congregate around topics they are interested in. Peers interested in a topic are said to be subscribed to that topic: Peers can send messages to topics. Each message gets delivered to all peers subscribed to the topic: Example uses of pub/sub: * Chat
Flexible networks need flexible addressing systems. Since libp2p is designed to work across a wide variety of networks, we need a way to work with a lot of different addressing schemes in a consistent way. A multiaddress (often abbreviated multiaddr), is a convention for encoding multiple layers of addressing information
A Peer Identity (often written PeerId) is a unique reference to a specific peer within the overall peer-to-peer network. As well as serving as a unique identifier for each peer, a PeerId is a verifiable link between a peer and its public cryptographic key. What is a PeerId Each libp2p
There are protocols everywhere you look when you’re writing network applications, and libp2p is especially thick with them. The kind of protocols this article is concerned with are the ones built with libp2p itself, using the core libp2p abstractions like transport, peer identity, addressing, and so on. Throughout this
Circuit relay is a transport protocol that routes traffic between two peers over a third-party “relay” peer. In many cases, peers will be unable to traverse their NAT in a way that makes them publicly accessible. Or they may not share common transport protocols that would allow them to communicate
The internet is composed of countless networks, bound together into shared address spaces by foundational transport protocols. As traffic moves between network boundaries, it’s very common for a process called Network Address Translation to occur. Network Address Translation (NAT) maps an address from one address space to another. NAT
When you make a connection from your computer to a machine on the internet, chances are pretty good you’re sending your bits and bytes using TCP/IP, the wildly successful combination of the Internet Protocol, which handles addressing and delivery of data packets, and the Transmission Control Protocol, which