Bottleneck is a lightweight and efficient Task Scheduler and Rate Limiter for Node.js and the browser. When dealing with services with limited resources, it's important to ensure that they don't become overloaded.Bottleneck is an easy solution as it does not add much complexity to your code.
rate-limits rate-limiting rate-limiter scheduler limiter clustering async-rate-limiter async rate limiting throttle throttling load ddosMessageThrottle is a lightweight, simple library for controlling frequency of forwarding Objective-C messages. You can choose to control existing methods per instance or per class. It's an implementation of function throttle/debounce developed with Objective-C runtime. For a visual explaination of the differences between throttling and debouncing, see this demo. To run the example project, clone the repo and run MTDemo target.
message runtime throttle cocoapod-pod carthage debounce forwardingThrottle the parallelism of an asynchronous, promise returning, function / functions. This has special utility when you set the concurrency to 1. That way you get a mutually exclusive lock. This returns a function that acts a bit like a lock (exactly as a lock if concurrency is 1).
promise concurrency typescript flow aplus then throttle parallelism limitCooperative, highly available throttler service: clients use freno to throttle writes to a resource.Current implementation can throttle writes to (multiple) MySQL clusters, based on replication status for those clusters. freno will throttle cooperative clients when replication lag exceeds a pre-defined threshold.
mysql replication high-availability throttleEvent batcher for gulp-watcher
gulp batch throttle debounce gulpfriendly watch mochaSpecialized Promise Extensions
promises promise-library promise-wrapper promise throttle throttling load-balancingA collection of core restify plugins
restify restify-plugins handlers prehandlers queryparser bodyparser accept audit authorization formparser multipart request expiry throttle static gzipThrottle a function and cache the result for x milliseconds.The arguments parsed to the callback will be cached according to the same rules as described previously, so subsequent executions of runner will just call the supplied callback function with the previous arguments until the cache expires.
cache cached throttle limit callback function timeout expireThis is a small utility to limit the execution rate of a function. It is useful for scenarios such as REST APIs consumption where the amount of requests per unit of time should not exceed a given threshold.This module is very similar to node-function-rate-limit. The difference is that valvelet works seamlessly with promise-returning functions.
promise rate-limiting throttle function limit rateThrottling is performed on a per-write basis, so in this example the ReadStream from the file is writing 64-byte chunks at a time. The SlowStream is only allowing them through at a rate of one per 5ms.Back-pressure is properly applied so if you're working with properly implemented streams you shouldn't run into memory issues.
stream throttle slow sloth testingReturns a function that delays calling fn until after wait milliseconds have elapsed since the last time it was called.Promise-returning/async function.
promise debounce debounced limit limited concurrency throttle throat interval rate batch ratelimit task queue async await promises bluebirdUseful for rate-limiting async operations. For example, when interacting with a REST API or when doing CPU/memory intensive tasks.Here we run only one promise at the time. For example, set concurrency to 4 to run four promises at the time.
promise queue enqueue limit limited concurrency throttle throat rate batch ratelimit priority priorityqueue fifo job task async await promises bluebirdReturns a debounced function that delays calling the input function until after wait milliseconds have elapsed since the last time the debounced function was called.It comes with a .cancel() method to cancel any scheduled input function calls.
debounce function debouncer fn func throttle delay invokedEasily rate-limit a function to run no more often than every X miliseconds, by queuing up calls. All calls will be eventually executed, unlike throttling or debouncing, which drop extra calls. This is useful for API clients, web crawling, or other tasks that need to wait at least some amount of time between calls, but for which throttling per se (dropping calls) is unacceptable.
meteor rate-limiting debounce throttleTakes a function, returns a function that will can only be called a certain amount of times per second.
throttle functionCore-wrappers is a small library exporting basic wrapper functions compatible with ES7 Decorators. A version compiled to ES5 in CJS format is published to npm as core-wrappers.
es6 es7 es2015 es2016 node babel functional wrappers defer bind observer promise debounce throttle decorators deprecated annotations autobind react angular underscore lodashUseful for implementing behavior that should only happen after a repeated action has completed. Creates and returns a new debounced version of the passed function that will postpone its execution until after wait milliseconds have elapsed since the last time it was invoked.
function throttle invoke
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.