Code Monkey home page Code Monkey logo

sidekiq.js's Introduction

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

sidekiq.js's People

Contributors

mperham avatar davydovanton avatar badboy avatar

Watchers

Nicolas Dermine avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.