11 unstable releases (3 breaking)

0.4.4 May 9, 2022
0.4.2 Apr 7, 2022
0.4.1 Mar 15, 2022
0.3.0 Oct 26, 2021
0.1.0 Dec 14, 2020

#628 in Network programming

Download history 38/week @ 2022-01-25 91/week @ 2022-02-01 151/week @ 2022-02-08 125/week @ 2022-02-15 138/week @ 2022-02-22 109/week @ 2022-03-01 105/week @ 2022-03-08 168/week @ 2022-03-15 152/week @ 2022-03-22 76/week @ 2022-03-29 196/week @ 2022-04-05 79/week @ 2022-04-12 82/week @ 2022-04-19 196/week @ 2022-04-26 200/week @ 2022-05-03 204/week @ 2022-05-10

686 downloads per month
Used in 9 crates (4 directly)

Custom license

82KB
2K SLoC

Netapp - a toolkit library for distributed software

Build Status

Netapp is a Rust library that takes care of a few common tasks in distributed software:

  • establishing secure connections
  • managing connection lifetime, reconnecting on failure
  • checking peer's state
  • peer discovery
  • query/response message passing model for communications
  • multiplexing transfers over a connection
  • overlay networks: full mesh, and byzantine-tolerant random peer sampling using Bᴀsᴀʟᴛ.

See examples folder to learn how to use netapp.


lib.rs:

Netapp is a Rust library that takes care of a few common tasks in distributed software:

  • establishing secure connections
  • managing connection lifetime, reconnecting on failure
  • checking peer's state
  • peer discovery
  • query/response message passing model for communications
  • multiplexing transfers over a connection
  • overlay networks: full mesh, and soon other methods

Of particular interest, read the documentation for the netapp::NetApp type, the message::Message trait, and proto::RequestPriority to learn more about message priorization. Also check out the examples to learn how to use this crate.

Dependencies

~12–19MB
~256K SLoC