aidenwallis / go-ratelimiting

Ratelimiting libraries for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-ratelimiting

codecov Go Reference

Ratelimiting libraries in Go.

These ratelimiters are used in production services for Fossabot, such as Twitch proxies.

There are two kinds of ratelimiters in this library:

  • local: Ratelimiters that are not persistent, and live in-process memory. Useful when you need to throttle a specific function, or some kind of usage within a single container.
  • redis: Ratelimiters that connect to Redis and provide a distributed solution to your ratelimiting problems. Ideal for stateless, distributed applications, such as APIs.

About

Ratelimiting libraries for Go

License:MIT License


Languages

Language:Go 99.5%Language:Shell 0.4%Language:Makefile 0.1%