Packages

Regulator provides adaptive conconcurrency and congestion control algorithms for load shedding.

Current section

Files

Jump to
regulator README.md
Raw

README.md

# Regulator
Regulator provides adaptive concurrency limits around external resources.
```elixir
Regulator.install(:service, {Regulator.Limit.AIMD, [timeout: 500]})
Regulator.ask(:service, fn ->
{:ok, Finch.request(:get, "https://keathley.io")}
end)
```
## Should I use this
Probably not yet.