Skip to content

A utility to help an application ratelimit its requests to external services.

Notifications You must be signed in to change notification settings

appellation/ratelimiter

Repository files navigation

Ratelimiter

A service for helping an application ratelimit its requests to external services.

Usage

See ratelimiter.proto for a description of the gRPC methods available.

After the first request for an ID, the only required parameter is the ID. Any changes to interval will not be applied until the bucket completely drains. Use the incr to consume multiple tokens or return tokens to the bucket; defaults to -1.

The return value of the request specifies how long the client should wait before proceeding with its execution.

About

A utility to help an application ratelimit its requests to external services.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages