QFiltr is a powerful but simple filter, limiter & queueing system that can be used to moderate or maintain a data stream. It was developed as part of a M2M/IoT cloud project in order to prevent devices from reporting data at too high rate, but has since been adapted as a standalone module for many possible uses.
Some use cases:
- Use within an API in order to rate limit incoming requests.
- Use with UI interactions, like a button that can be rapidly pressed, to run a function via queue or rate limit.
- Use on a chat server, to detect and block spam.
- Use with M2M/IoT Cloud Data to limit or queue devices that report too rapidly.
QFiltr on NPM: https://www.npmjs.com/package/qfiltr
QFiltr on GitHub: https://github.com/msudol/qfiltr