Rate limiter

To ensure the availability and the responsiveness of the Woleet API, the maximum request rate is limited to 20 per second per IP address, with temporary peaks at 1000 per second.

When the number of requests per second exceeds this limit, the API returns an HTTP 429 error code: in this case, the client must wait some time (e.g. 0.5s) and then retry the call.

To avoid getting such errors, it is recommended to use a client-side rate limiter (e.g. https://google.github.io/guava/releases/19.0/api/docs/index.html?com/google/common/util/concurrent/RateLimiter.html).