ramondelemos / regulator

Adaptive concurrency limits for elixir

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Regulator

Regulator provides adaptive concurrency limits around external resources.

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.

About

Adaptive concurrency limits for elixir

License:MIT License


Languages

Language:Elixir 100.0%