recentpopularlog in

vonc : limit   22

Systems & Go - Tollbooth: An HTTP rate limiter middleware in Go
It allows you to limit access to each one of your request handlers.

For example, you may want to allow unlimited access to / but limit access to POST /login for as much as 10 requests per second per remote IP.
go  golang  http  middleware  limit  rate 
may 2015 by vonc
mailgun/oxy
Oxy is a Go library with HTTP handlers that enhance HTTP standard library:

Stream retries and buffers requests and responses
Forward forwards requests to remote location and rewrites headers
Roundrobin is a round-robin load balancer
Circuit Breaker Hystrix-style circuit breaker
Connlimit Simultaneous connections limiter
Ratelimit Rate limiter (based on tokenbucket algo)
Trace Structured request and response logger
go  golang  http  server  handler  rate  limit  roundrobin  load  balancer 
may 2015 by vonc
mr51m0n/gorc
set thresholds on number of running goroutines

Can increase and decrease a counter when starting or stopping a goroutine. It can wait for a minimum or maximum number of goroutines running, thus allowing to set thresholds for the number of gorc governed goroutines running at the same time.
go  golang  counter  threashold  limit  number  goroutine 
january 2015 by vonc
juju/ratelimit
The ratelimit package provides an efficient token bucket implementation. See http://en.wikipedia.org/wiki/Token_bucket.
go  golang  throttle  bucket  rate  limit  speed  download  upload  web  server  http  handler 
november 2014 by vonc
Throttled: Guardian Of The Web Server
throttled, a Go package that implements various strategies to control access to HTTP handlers. Out-of-the-box, it supports rate-limiting of requests, constant interval flow of requests and memory usage thresholds to grant or deny access, but it also provides mechanisms to extend its functionality. How It Works At the heart of the package is the Throttler structure and the Limiter interface.
go  golang  web  http  server  limit  request  blog  example  readable  icon  github  anime 
february 2014 by vonc

Copy this bookmark:





to read