Skip to content
Magnus Klaar's rate limiter code from etorrent
Erlang Makefile
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

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.