简单限流算法实现
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Use Git or checkout with SVN using the web URL.
If nothing happens, download GitHub Desktop and try again.
If nothing happens, download Xcode and try again.
If nothing happens, download the GitHub extension for Visual Studio and try again.
本项目是文章 简析限流算法 的示例代码,包含计数器、漏桶和令牌桶算法实现。代码实现较为简单,仅做演示使用。