haskell-servant/servant

Support rate limiting

Open

#266 opened on Nov 19, 2015

View on GitHub
 (16 comments) (0 reactions) (0 assignees)Haskell (422 forks)batch import
enhancementhelp wantedservant-server

Repository metrics

Stars
 (1,953 stars)
PR merge metrics
 (Avg merge 23h 44m) (4 merged PRs in 30d)

Description

Most APIs have some sort of rate-limit.

This rate-limit can be per API call (for example AWS does this), or for the whole API.

It might not be reasonable to encode this in the types directly, but some way of configuring this would make sense, at least as a global rate-limit as wrapping every function is tedious boiler-plate.

Contributor guide