Skip to content

nicoder/sidekiq.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sidekiq.js

Simple, efficient background jobs for Node.js.

Sidekiq is well known in the Ruby community as a fast, friendly background job framework. Now we're bringing the same functionality to Node.js.

Wait, Node is async so why do I need Sidekiq.js? A few reasons:

  1. Jobs give you a common pattern for scaling your application's work to many machines and processes. You can create millions of Sidekiq jobs and run hundreds of sidekiq processes to process them in parallel.
  2. Jobs are persisted in Redis and queues monitored via the Web UI.
  3. Jobs handle unexpected errors automatically via retry.
  4. Jobs can be scheduled far in the future, even months or years.

By default, each sidekiq process will execute up to 25 jobs concurrently. While Node.js is single-threaded, sidekiq will switch between jobs while waiting for I/O.

Status

Sidekiq.js is not ready for any usage at all. It is still under construction as I learn JavaScript but your help is welcome. I want to make Sidekiq.js native and idiomatic, not just port the Ruby straight over - if something looks off, please let me know!

The goal is to make Sidekiq.js 100% compatible with Sidekiq.rb with regard to the data stored in Redis.

Installation

All official Sidekiq packages use the @mperham scope. Any top-level sidekiq packages are 3rd party and not part of this project.

npm install @mperham/sidekiq

Want More?

If there is enough demand for them, I will port Sidekiq Pro and Sidekiq Enterprise to Sidekiq.js. If you are interested in buying them and supporting this project, please email me and let me know so I can gauge interest: mike AT contribsys.com.

Support

Open an issue if you think you have found a bug. Official documentation is in the GitHub wiki.

License

Sidekiq.js is licensed under the Gnu LGPLv3 license. Project members are expected to adhere to the Contributor Convenant v1.4.

Author

Mike Perham, mike AT contribsys.com, http://www.mikeperham.com

About

Simple, efficient background jobs for Node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%