uber-go/ratelimit

A Go blocking leaky-bucket rate limit implementation

GoMakefile
This is stars and forks stats for /uber-go/ratelimit repository. As of 09 May, 2024 this repository has 3899 stars and 287 forks.

Go rate limiter This package provides a Golang implementation of the leaky-bucket rate limit algorithm. This implementation refills the bucket based on the time elapsed between requests instead of requiring an interval clock to fill the bucket discretely. Create a rate limiter with a maximum number of operations to perform per second. Call Take() before each operation. Take will sleep until you can continue. import ( "fmt" "time" "go.uber.org/ratelimit" ) func main() { rl := ratelimit.New(100)...
Read on GithubGithub Stats Page
repotechsstarsweeklyforksweekly
jmid/mutamlOCamlShellMakefile56030
Forethought-Technologies/AutoChainPythonMakefile1.5k0760
pearsonca/hbmPRNGRC++Makefile1000
luvit/luvitLuaGoOther3.7k+83890
remonbonbon/makefile-exampleMakefileC++C41069+1
stdlib-js/string-base-first-code-pointMakefileJavaScript1000
stdlib-js/string-base-first-grapheme-clusterMakefileJavaScript1000
ryan4yin/nix-darwin-kickstarterNixMakefilePython93+115+1
janestreet/ppxlib_janeOCamlShellMakefile1000
a16z-infra/cog-llama-templatePythonJupyter NotebookMakefile2610380