Libp2p should be familiar to those of you who follow the dynamics of IPFS. Libp2p is a basic module built for P2P networks, derived from the open source project IPFS. The IPFS team separated the network layer of the peer-to-peer network from the IPFS project into a single project called libp2p. In essence, libP2P is a modular and scalable network stack that focuses on delivering agnostic, modular and portable coding that ultimately enables devices to connect regardless of their environment or protocol.
Libp2p has been developed by many developers to implement languages like Python, Go, and derivative versions for different objects. Today, Netwarps references libp2p to implement an underlying P2P network based on the Rust language, libp2-RS. Libp2-rs makes heavy use of the latest async/await syntax and is a compact, high-performance, lightweight P2P network solution.
Libp2p-rs abandon the traditional poll mode and tries to write asynchronous code with async/await completely. The system framework mainly refers to Go-libp2p, and part of the code reuses rust-libp2p. Explore the feasibility of using async/await mode to develop large network projects. The short term target is the go-libp2p equivalent of BasicHost, which does not involve Routing and can therefore be considered a subset of libp2p.
The Netwarps team is an entrepreneurial team committed to implementing decentralized network and storage technologies. The goal is to use decentralized technologies to support various IOT applications and ensure data security. With this goal in mind, Netwarps developed a decentralized file storage system (DFS) and a decentralized computing platform (DCP).
Netwarps team used C language to build the underlying P2P network of the product in the early stage, but with the development of technology, an underlying network system based on newer language and newer design paradigm has become a necessity. So the Netwarps team developed libp2p using Rust to implement the basic functions of the libp2p project and open source it.
With the development of the Internet of Things, blockchain and other technologies, our traditional centralized network will become a bottleneck for the rapid expansion of applications. We need a network infrastructure that can adapt to a variety of devices and operate in a low-power, low-network environment. Libp2-rs is an attempt to achieve this goal.
Libp2p-rs is open source and is currently released as V0.1.0. It is basically equivalent to basic Host in Go, and can be used to build rust-based network applications. In the following period of time, I plan to continue to improve some missing functions, including asynchronous parallel protocol upgrade processing, multi-address simultaneous connection, complete statistics. Meanwhile, I will actively explore how to realize advanced functions such as routing, and finally complete a full-function version, which mainly includes DHT distributed hash table. The Gossip protocol, mDns, etc., is the libp2p network addressing infrastructure, especially content-based addressing, on which IPFS relies. Due to the complexity of the function, the workload is correspondingly huge. In the future, we will cooperate with various open source organizations to promote this project, constantly improve the technical ecology of decentralized network, and help various decentralized application scenarios to be realized and implemented quickly. Promote the rapid development of IOT and blockchain technology. Netwarps welcomes interested Rust enthusiasts to participate in the development and maintenance of this open source project.
Github link: github.com/netwarps/li…
Netwarps is composed of a senior cloud computing and distributed technology development team in China, which has rich experience in the financial, power, communication and Internet industries. Netwarps has set up research and development centers in Shenzhen and Beijing, with a team size of 30+, most of which are technical personnel with more than 10 years of development experience, respectively from the Internet, finance, cloud computing, blockchain and scientific research institutions and other professional fields. Netwarps focuses on the development and application of secure storage technology products, the main products are decentralized file system (DFS), decentralized computing platform (DCP), is committed to providing distributed storage and distributed computing platform based on decentralized network technology, with high availability, low power consumption and low network technical characteristics. Applicable to scenarios such as the Internet of Things and industrial Internet.