Questions tagged [job-queue]

In system software, a job queue (sometimes batch queue), is a data structure maintained by job scheduler software containing jobs to run.

A job queue is a queue (that is, a First In First Out (FIFO) collection) of tasks to be carried out at an unspecified time in the future. Workers may take on the task at the head of the queue and carry it out, returning to take another when they are finished.

This is often applied to multi-threaded programming environments, in which there are fewer threads than available tasks so tasks must be queued until a thread is available to process them.

113 questions
1
vote
1 answer

NodeJS Bull Stop the queue jobs on a job failed

I have multiple Bull Queues in my NodeJS project which will run if previous queue is executed successfully. I'm trying to verify some email addresses here. Check the Email format (formatQueue) Email Existence using npm email-existence package…
rakcode
  • 2,256
  • 4
  • 19
  • 44
1
vote
1 answer

When is an ES6 promise fulfillment handler table examined?

Is it true that the resolve() function and then() function below are the only functions in the ES6 Promise mechanism that look at and add the fulfillment handlers to the job queue (and mark them as already added and never again)? let promise = new…
nonopolarity
  • 146,324
  • 131
  • 460
  • 740
1
vote
1 answer

Dask job queue design pattern?

Let's say I have a simple costly function that stores some results to a file: def costly_function(filename): time.sleep(10) with open('filename', 'w') as f: f.write("I am done!) Now let's say I would like to schedule a number of…
Raven
  • 648
  • 1
  • 7
  • 18
1
vote
0 answers

DBMS_JOB.SUBMIT ORACLE 11g 5 jobs submitted together but 1st job takes unusually longer than rest of 4 jobs although total records processed are same

I am submitting 5 jobs using below code but 1 st jobs takes around an hour more than rest of 4 jobs although number of records processed are same. loop V_SEQID := V_SEQID + 1; DBMS_JOB.SUBMIT(jobNUMBER,…
Atif
  • 2,011
  • 9
  • 23
1
vote
2 answers

Mojolicious - minion worker doesn't start automatically

I am using Mojolicious full app and loading Minion (backend sqlite). My question is why minion worker doesn't start by itself when I start mojolicious app with hypnotoad. According to the documentation Minion it should: Background worker processes…
Sachin Dangol
  • 504
  • 5
  • 13
1
vote
2 answers

Tfs 2017 Update 2 - "WorkItem user delivery" job stuck - no email/soap notifications

I have a job "WorkItem User Delivery" that seems to be stuck in TFS 2017 Update 2 (SQL Server 2016). It's been running for 4 days and is causing issues with the other mail/soap jobs and email alerts are very sporadic: Image of JobQueue in TFS…
UtahTim
  • 11
  • 3
1
vote
1 answer

How to write the callback function of a telegram bot for the job queue?

I'm confused about this job queue thing. In the callback function I want to get access to the users message and work on it but in the article says that the call back accepts only bot and job parameters. with those in hand I can not get access to the…
lameei
  • 184
  • 2
  • 11
1
vote
1 answer

how to manage jobs in job queue in android?

I am working on JOB queue. Here the scenario is i am storing 3 api calls in job queue. The first API is having more information in json. but last two is having less information. According to the priority when network is available it is calling those…
1
vote
0 answers

Python UDP binary data to job queue

I'm planning on replacing a simple Perl script (that is too slow) with a Python one that processes incoming UDP datagrams that contain binary data, and for performance reasons I don't want to process the binary data immediately but pass it on to…
Ron
  • 11
  • 1
1
vote
1 answer

Find out what JOBQ the RPG program is running on. AS400

Is there a way inside an RPG program to find out what JOBQ that program is running on? I am asking this because there is a program that can be called or submitted and I am interested in saving a log of the timestamp user and jobq that that program…
1
vote
2 answers

Any job queue systems that allow scheduling jobs by date?

I have a Django application. One of my models looks like this: class MyModel(models.Model): def house_cleaning(self): // cleaning up data of the model instance Every time when I update an instance of MyModel, I'd need to clean up the data…
Continuation
  • 12,722
  • 20
  • 82
  • 106
1
vote
1 answer

Retrieve current list of active jobs in android-priority-jobqueue

I'd like to know if there's a recommended way of retrieving a list of active jobs in https://github.com/yigit/android-priority-jobqueue That way, if I have persistent jobs still waiting, I can let the user know which ones.
gbhall
  • 13,139
  • 9
  • 37
  • 42
1
vote
0 answers

saving videos with Cloudinary and Parse, from android

One of Parse’s brutal Achilles heel is the fact that you cannot save videos to the database (their 10MB limit means videos less than 30 seconds long). And so to supplement Parse, I am using the Cloudinary Parse Module. But now I have a problem.…
Katedral Pillon
  • 14,534
  • 25
  • 99
  • 199
1
vote
0 answers

mongodb: building a job queue

I am building a job queue (Nodejs+Mongodb)which has this kind of structure : { "_id" : ObjectId("53e09abd23bbaeea776598e1"), "createDate" : ISODate("2014-08-05T08:50:05.643Z"), "status" : "new", ...... } I have defined 4 statuses in…
1
vote
1 answer

rxjava: queue scheduler with default idle job

I have a client server application and I'm using rxjava to do server requests from the client. The client should only do one request at a time so I intent to use a thread queue scheduler similar to the trampoline scheduler. Now I try to implement a…
Clemens
  • 86
  • 8