1 unstable release

0.1.0 Mar 14, 2019

#11 in #fair

Apache-2.0 OR LGPL-2.1-or-later

48KB
564 lines

r-fairdist

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.

Project

Requirements:

The requirements for this project are:

  • rustc >= 1.32.0
  • std >= 1.32.0

Build

To build the project, run:

cargo build

Repository:

License:

  • Apache-2.0 OR LGPL-2.1-or-later
  • See AUTHORS file for details.

Dependencies

~475KB