Distributed Throttle
This module allows you to throttle the invocation of a function (just like Underscore#throttle) across a distributed system. It is built on top of Redis. It will currently always call the function on the leading edge and the trailing edge, just like Underscore's default implementation.
Installing
npm install node-distributed-throttle-function
Using
var distributedThrottle = ;var redis = ; var port = '6381';var hostname = 'localhost';var password = ''; var redisConnection = redis
Bugs & TODOs
See https://github.com/mixmaxhq/node-distributed-throttle-function/issues