Skip to content

l0gicpath/rlimiter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rate Limiter

Maintainability

A request rate limiter that sits between a consumer and a cluster of web nodes limiting the request rate across the entire cluster per request PATH.

Please check Implementation Details for more information.

Development

You will need Golang 1.9+, ag, entr(1) and glide, a linux box with build-essential and GNUmake

Setup

My current development mahcine is running Ubuntu, I'm no longer using Mac so I won't be including any macOS setup instructions. Please check each tool's corresponding link for detailed setup instructions.

  1. Glide, for dependency management and vendoring. Used for reproducable builds
$ curl https://glide.sh/get | sh

You can get more information here: Glide.sh

  1. entr(1) and ag for a nice development workflow. I use this to rebuild the project when a file changes.
$ apt-get install entr
$ apt-get install silversearcher-ag

You might want to be running this with sudo

Running

make run will run the service.

Building

Just run make

Releases

No releases published

Packages

No packages published