Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DO NOT use this library if you need sequential order execution your jobs. #703

Closed
misterjt opened this issue Aug 31, 2015 · 6 comments
Closed

Comments

@misterjt
Copy link

I spent two week of development with kue, and just yesterday i noticed weird sorting.
Just think twice before using this library, if you need sequential order execution your jobs.
Developers probably forgot about kue and will never fix it.
#691
#693

@punmechanic
Copy link

Developers probably forgot about kue and will never fix it.

I know certainly that TJ holoway (one of the lead devs) stopped using node a while ago and only wants to continue to maintain koa

@pursual
Copy link

pursual commented Sep 11, 2015

Any suggestions on a sequential task library?

@misterjt
Copy link
Author

@hockeytim11
Copy link
Contributor

#708
Just wanted to reference a fix I worked on.

@behrad
Copy link
Collaborator

behrad commented Sep 14, 2015

I spent two week of development with kue, and just yesterday i noticed weird sorting.

If you've read the docs and searched issues carefully you would find out that Kue is a priority Queue not a sequential task library (however you can use it as a sequential task library) and that there exists an issue with specific task ids (10, 100, 1000, ...) in job orderings...
That means you are infected if you are creating many jobs concurrently or your queue contains many jobs. e.g. you will be hit by job id 10 for the first time, (if 9 and 10 are queued up, 10 will be run sooner)

Developers probably forgot about kue and will never fix it

I'm trying to improve Kue for about 2 years now. Since this is a one-man work for now, my busy hours delays kue 1.0 release, however any members, helpers, ... are welcome.

DO NOT use this library if you need sequential order execution your jobs

I can't figure out why are you trying to achieve with this kind of statement. You are free to use everything you want/need/prefer. However this is not normal to open up an issue with such a title.

@behrad
Copy link
Collaborator

behrad commented Sep 14, 2015

Just wanted to reference a fix I worked on.

I'll try to check you PR thank you @hockeytim11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants