Atomic counters and rate limiting tools. Limit resource access at any scale.
-
Updated
Jan 15, 2025 - JavaScript
Atomic counters and rate limiting tools. Limit resource access at any scale.
Job scheduler and rate limiter, supports Clustering
Effects for use with Hyperapp
A small (376B) lazy function scheduler for a butter smooth main thread.
RAF loop with an adaptive fps and performance ratio calculated from either a sample count or a sample duration. Typically used when doing intensive graphics computation in canvas.
Rate limiting based on Generic Cell Rate Algorithm
Limit the execution rate of a function
When creating a SaaS multi-tenant systems which require websocket connections we need a way to rate limit those connections on a per tenant basis. With Amazon API Gateway you have the option to use usage plans with HTTP connections however they are not available for websockets. To enable rate limiting we can use a API Gateway Lambda Authorizer t…
Event Manager for Animation
Throttle the download speed of a request
Limit the execution rate of a function using the token bucket algorithm
Meteor package to rate-limit a function by queuing up calls (instead of dropping them like throttle or debounce)
一些实用的 JavaScript 方法
A Page resource pool for Puppeteer.
debounce and throttle techniques for performance
A simple fix for unwanted duplicate history entries on the frontend.
Add a description, image, and links to the throttle topic page so that developers can more easily learn about it.
To associate your repository with the throttle topic, visit your repo's landing page and select "manage topics."