p-throttle

Function call limiter

A utility for rate-limiting function calls to prevent excessive usage and ensure efficient resource utilization

Throttle promise-returning & async functions

GitHub

443 stars
8 watching
31 forks
Language: JavaScript
last commit: 3 months ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
sindresorhus/p-limit Limits concurrent execution of promise-returning and async functions. 2,037
sindresorhus/onetime Ensures a function is only called once by wrapping it in a wrapper function that throws an error if called again 162
sindresorhus/p-reduce Transforms an asynchronous list into a single value by applying a reduction function 68
yudppp/throttle A library that provides a throttle function for rate limiting functions in Go. 38
lpinca/valvelet A utility to limit the execution rate of functions in promise-returning code. 38
usemuffin/throttle A plugin that limits the number of requests a client can make to an application in a given time frame. 63
sindresorhus/p-all Concurrently execute multiple promise-returning functions with optional concurrency limits. 315
grahamcampbell/laravel-throttle A package to manage rate limiting in Laravel applications 705
sindresorhus/p-filter Tool for filtering and concurrent execution of promises with an adjustable concurrency level 72
sindresorhus/delay Allows delaying promises by a specified amount of time or a random range. 609
sindresorhus/p-times Runs promise-returning & async functions multiple times concurrently 38
sindresorhus/p-retry A utility for automatically retrying failed promise-returning or async functions with exponential backoff and customizable error handling. 795
reg2005/adonis-request-throttler A package for limiting the number of requests from a client within a specified time period. 20
dryruby/rack-throttle A Rack middleware that limits the rate of incoming HTTP requests to applications. 947
jaytaph/ratelimitbundle A bundle for Symfony applications that simplifies rate limiting by adding an annotation to controllers and actions. 332