Fair Resource Distribution Algorithm
The r-fairdist project implements an algorithm to share a dynamic set of resources fairly with a dynamic set of peers. For any given finite resource, it provides a way to request shares of this resource and thus distribute the resource amongst users. It tries to maximize the amount each user gets, while retaining a reserve so any further user joining the system is always guaranteed a specific share of the total. This guarantee keeps the system fair and prevents malicious allocations from exploiting the resource pool.
The requirements for this project are:
rustc >= 1.32.0
std >= 1.32.0
To build the project, run:
sh
cargo build
https://github.com/r-util/r-fairdist.git
git@github.com:r-util/r-fairdist.git