What is a good Sidekiq-like job system for node.js?

六月ゝ 毕业季﹏ 提交于 2020-04-12 09:41:13

问题


(Most of the questions asked here about this subject are a bit old, and I was wondering what had change in the Node ecosystem it all those years.)

I'm basically looking to implement a job queue in an app of mine in node.js. I've heard about and seen Sidekiq in action in the Ruby world and how great of a job it does, and was wondering if something similar existed in node.

Workers will be written in Javascript so it doesn't have to be polyglot (it's great if it is, but definitely not a requirement).

A big plus would be an easy way to visualize the jobs currently running, those that failed etc.

What do you guys use? What lib/service do you know about that fits these requirements?


回答1:


Try https://github.com/taskrabbit/node-resque.

Resque and Sidekiq share the same data structures. In node, getting multiple jobs to process at once is very simple.




回答2:


You can simply use Sidekiq, there are npm interfaces.

The npm package is at: https://www.npmjs.com/package/sidekiq



来源:https://stackoverflow.com/questions/35790924/what-is-a-good-sidekiq-like-job-system-for-node-js

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!