Questions tagged [kue]

Kue is a priority job queue backed by redis, built for node.js.

Kue is a feature-rich priority job queue for node.js backed by redis. A key feature of Kue is its clean user-interface for viewing and managing queued, active, failed, and completed jobs.
Kue provides an interactive GUI served by built-in expressjs to manipulate (remove, view, search) jobs from the browser. It also provides a RESTful API to interact with the queues and jobs in a programmatic way.

120 questions
37
votes
2 answers

How to communicate Web and Worker dynos with Node.js on Heroku?

Web Dynos can handle HTTP Requests and while Web Dynos handles them Worker Dynos can handle jobs from it. But I don't know how to make Web Dynos and Worker Dynos to communicate each other. For example, I want to receive a HTTP request by Web Dynos ,…
jwchang
  • 10,584
  • 15
  • 58
  • 89
14
votes
3 answers

Node.js Kue how to restart failed jobs

I am using kue for delayed jobs in my node.js application. I have some problems to figure out how I can restart a job using the API of kue without having to move the id of a job manually from the the list of failed jobs to the list of inactive jobs…
Matthias
  • 647
  • 5
  • 13
13
votes
2 answers

Is it possible to update an already created job in Kue Node.js?

I am creating jobs using Kue. jobs.create('myQueue', { 'title':'test', 'job_id': id ,'params': params } ) .delay(milliseconds) .removeOnComplete( true ) .save(function(err) { if (err) { …
Kanishka Panamaldeniya
  • 17,302
  • 31
  • 123
  • 193
10
votes
4 answers

How to make the client download a very large file that is genereted on the fly

I have an export function that read the entire database and create a .xls file with all the records. Then the file is sent to the client. Of course, the time of export the full database requires a lot of time and the request will soon end in a…
Simoyw
  • 681
  • 1
  • 9
  • 30
9
votes
3 answers

How can I run redis on a single server on different ports?

I'm using kue which uses node_redis, but I'm also already using node_redis for my sessions, so I'd like to have kue create a server on a specific port say the default 6379 and then kue listen on port 1234. How would I be able to do this? I found…
bob_cobb
  • 2,229
  • 11
  • 49
  • 109
9
votes
2 answers

How to retreieve jobs with specific status in kue?

I am using kue for my job queue, and I'd like to know without using the GUI how many jobs are still left, how many have failed, etc. How can I retrieve this kind of information? For example, after a few minutes of starting the processing of the job…
WindChimes
  • 2,955
  • 4
  • 25
  • 26
8
votes
2 answers

How to schedule a job once every Thursday using Kue?

Using Kue, how do I schedule a job to be executed once every Thursday? The Kue readme mentions that I can delay a Job, but what about repeatedly executing the Job at a specific time? I can do what I want with a cron job, but I like Kue's…
Sam
  • 6,414
  • 11
  • 46
  • 61
6
votes
0 answers

How to manage stuck jobs in Kue?

I'm using Kue to create jobs for my MEAN.js app. If the application is idle for some time the Redis connection is closed, apparently Kue is trying to process jobs while the connection is closed, and I get some errors. I'm watching for stuck jobs…
6
votes
4 answers

How is everyone going about implementing scheduled jobs / cloud jobs on parse-server?

According to the parse-server migration guide we could use something like Kue and Kue-UI to emulate the parse.com scheduled jobs functionality. I haven't implemented Kue or Kue-ui, but looking at the guides, it doesn't look like it provides anywhere…
asdf01
  • 93
  • 5
6
votes
1 answer

"Resequencing" messages after processing them out-of-order

I'm working on what's basically a highly-available distributed message-passing system. The system receives messages from someplace over HTTP or TCP, perform various transformations on it, and then sends it to one or more destinations (also using…
L.T.
  • 63
  • 5
6
votes
2 answers

Using kue-scheduler with ParseServer on Heroku

In running kue-scheduler on heroku with the heroku redis plugin, while I can get kue jobs to work, it seems that kue-scheduler is requiring certain configuration of redis not allowed for in the heroku redis environment. Has anyone had success…
silverdagger
  • 1,124
  • 13
  • 37
6
votes
4 answers

What is a good alternative to Kue that works with MongoDB instead of Redis?

I am building a web app with node.js and mongodb. I need to add delayed jobs. For example, sending users an email one month after signing up. I haven't found an existing solution for delayed jobs besides Kue, but it uses Redis, and I would prefer to…
Ita
  • 901
  • 6
  • 21
5
votes
1 answer

nodejs Kue job processing logic

I have a very simple logical question. I will be running job processing logic on a separate app server. My job processing app will be a standalone app, doing nothing just processing jobs. In my code, how do I make sure that my app continuously keep…
pkpk
  • 641
  • 1
  • 7
  • 18
5
votes
1 answer

Connecting to redis using kue always creates a connection to localhost

I can't connect to Redis using kue, I've followed this article, practically I'm creating the connection by using the kue redis client, and the connection code is this: var kue = require('kue'), redis = require('kue/node_modules/redis'); …
pedrommuller
  • 15,741
  • 10
  • 76
  • 126
4
votes
1 answer

When does it make sense to use a database for a job queue?

I'm designing an internal company web site where users can submit jobs for computation. An important factor in my design is to persist the job in the queue until it's completed, even if there is a system failure. It seems the internet is against the…
Leif
  • 325
  • 3
  • 14
1
2 3 4 5 6 7 8