kue-sweeper

0.1.1 • Public • Published

kue-sweeper

a simple nodejs service to avoid memory leaking when use kue to process millions of jobs by removing kue job immediately upon its completion

Why need this module:

kue is a handy redis-backed job processing module. But when using kue for processing millions of jobs, we have met following circumstances incuring memory leaking.

So I wrote this little tool to run as a standalone service (via forever) which will keep watching kue and remove kue job immediately upon its completion

Install

Install forever tool

npm install forever -g

Install the kue-sweeper

npm install kue-sweeper

Usage

# start kue-sweeper with forever 
./forever-start-kue-sweep.sh

Configure

  • -p --port , redis service port
  • -h, --host [VALUE], redis service host

License

Copyright (c) 2013 yi Licensed under the MIT license.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    1
  • 0.1.0
    0

Package Sidebar

Install

npm i kue-sweeper

Weekly Downloads

1

Version

0.1.1

License

none

Last publish

Collaborators

  • yi