RateLimiting

A simple rate limiting application for demo purposes only.

Installation

If available in Hex, the package can be installed by adding rate_limiting to your list of dependencies in mix.exs:

def deps do
[
{:rate_limiting, "~> 0.1.1"}
]
end

To configure request count and duration:

config :rate_limiting,
interval_seconds: 60,
max_requests_count: 100

TODO:

Add tests!!!!

For an example, please see https://github.com/lenfree/rate_limiting/example.

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/rate_limiting.