The programs in this project are possible implementations of a rate limiter.
- There are probably many ways this problem could be solved. These are just some examples.
There is a makefile that can run each of the programs, building executables if required (go, c, cpp, java).
You can run any of the programs with make RUNTARGET
where RUNTARGET
is one of:
- runcpp
- rungo
- runjava
- runlua
- runpython (or runpy)
- runjavascript (or runjs)
There is also a make target to clean up all of the executables and intermediate files. Use make clean
to cleanup.
In real world applications, you would want to use something like Redis for caching.