Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Magnus Klaar's rate limiter code from etorrent
Erlang
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src
test
.gitignore
Makefile
README.md
erlang.mk
rebar.config

README.md

Rate limitation

Rlimit is a rate limitation system which keeps track of rates for underlying processes. Its main use is inside the etorrent application for rate limiting the upstream so you don't overrun a slow line.

It implements a delay RED regulator on top of a Token Bucket Regulator, so when the rate limit is approached, the chance of a delay to happen becomes gradually higher and higher.

Something went wrong with that request. Please try again.