
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
|Build Status| |PyPi| |codecov.io|
The token-bucket
package provides an implementation of the
token bucket algorithm <https://en.wikipedia.org/wiki/Token_bucket>
_
suitable for use in web applications for shaping or policing request
rates. This implementation does not require the use of an independent
timer thread to manage the bucket state.
Compared to other rate-limiting algorithms that use a simple counter, the token bucket algorithm provides the following advantages:
Moving window algorithms are resistant to bursting, but at the cost of additional processing and memory overhead vs. the token bucket algorithm which uses a simple, fast counter per key. The latter approach does allow for bursting, but only for a controlled duration.
.. |Build Status| image:: https://github.com/falconry/token-bucket/workflows/tests/badge.svg :target: https://github.com/falconry/token-bucket/actions?query=workflow%3A%22tests%22
.. |PyPi| image:: https://img.shields.io/pypi/v/token-bucket.svg :target: https://pypi.python.org/pypi/token-bucket
.. |codecov.io| image:: https://codecov.io/gh/falconry/token-bucket/branch/master/graph/badge.svg :target: https://codecov.io/gh/falconry/token-bucket
FAQs
Very fast implementation of the token bucket algorithm.
We found that token-bucket demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.