libp2p-rs 0.1.0 has been released

If you always pay attention to the development of IPFS, you should know something about libp2p. 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 to form an independent project, which is libp2p. In essence, libp2p is a modular and expandable network stack, focusing on transmission agnosticism, modularity and portable coding, and finally realizes that regardless of the environment in which the device is located, and the operating protocol, libp2p can make the device Interconnection becomes a reality.

Since the development of libp2p , many developers have helped implement Python, Go and other languages ​​and derivative versions for different objects. Now, Netwarps refers to libp2p to implement a p2p underlying network based on the Rust language-libp2p-rs. libp2p-rs makes extensive use of the latest async/await syntax and is a simple, high-performance, lightweight p2p network solution.

libp2p-rs abandoned the traditional poll method and tried to write asynchronous code completely using async/await. The system framework mainly refers to go-libp2p, and some code reuses rust-libp2p to explore the feasibility of using async/await to develop large-scale network projects. The short-term goal is the function corresponding to BasicHost in go-libp2p, which does not involve Routing, so it can be regarded as a subset of libp2p.

The Netwarps team is an entrepreneurial team dedicated to the realization of decentralized network and storage technology. The goal is to use decentralized technology to support various IOT applications and ensure data security. Based on this goal, Netwarps has developed a decentralized file storage system (DFS) and a decentralized computing platform (DCP).

The Netwarps team used the C language to build the underlying p2p network of the product in the early days, but with the development of technology, an underlying network system based on a newer language and newer design paradigm has become a necessity. Therefore, the Netwarps team used the Rust language to develop libp2p, implemented the basic functions of the libp2p project, and open sourced it.

With the development of technologies such as the Internet of Things and blockchain, our traditional centralized network will become a bottleneck for rapid application expansion. We need a network foundation that can adapt to various devices and operate in an environment with low power consumption and low network speed. Facilities, libp2p-rs is an attempt based on this purpose.

libp2p-rs has been open source, and the currently released version is v0.1.0, which basically completes the basic host function equivalent to the Go language version release, realizes the interconnection between different languages, and can be used to build Rust-based network applications , Plans to continue to improve some missing functions in the next period of time, including asynchronous parallel protocol upgrade processing, simultaneous connection of multiple addresses, complete statistics, and actively explore how to implement advanced functions such as routing, and finally complete a full-featured version. This part mainly includes DHT distributed hash table, Gossip protocol and mDns, etc. It is libp2p network addressing, especially the infrastructure based on content addressing, and it is also an important function of IPFS. 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, continuously improve the technical ecology of the decentralized network, and help various decentralized application scenarios to be quickly realized and implemented. Promote the rapid development of IOT and blockchain technology. Netwarps welcomes interested Rust fans to participate in the development and maintenance of this open source project.

Github link address: https://github.com/netwarps/libp2p-rs

 

Netwarps is composed of a senior cloud computing and distributed technology development team in China. The team has very rich experience in the financial, power, communications and Internet industries. Netwarps currently has R&D centers in Shenzhen and Beijing, with a team size of 30+, most of which are technicians with more than ten years of development experience, from professional fields such as the Internet, finance, cloud computing, blockchain, and scientific research institutions.

Netwarps focuses on the R&D and application of secure storage technology products. The main products are Decentralized File System (DFS) and Decentralized Computing Platform (DCP), committed to providing distributed storage and distributed based on decentralized network technology The computing platform has the technical characteristics of high availability, low power consumption and low network, and is suitable for scenarios such as the Internet of Things and Industrial Internet.

Guess you like

Origin www.oschina.net/news/119541/libp2p-rs-news