SOLVED

How long we should expect queue jobs to take?

Go to solution
Anonymous
Not applicable

How long we should expect queue jobs to take?

I created an export activity job with the following payload.

{

   "format": "CSV",

"filter": {

      "createdAt": {

        "startAt": "2018-04-16T22:59:58-00:00",

          "endAt": "2018-04-16T22:59:59-00:00"

                        }

   }

}

After en-queuing it, it took a long time for the en-queued message to be processed. Could you kindly let me know how long it usually takes for a job to be taken out of the queue and processed?

Regards,

Evanthika

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: How long we should expect queue jobs to take?

There's no general-purpose "usually".

You have to find out the baselines for your instance. Even something that seems to take only a tiny slice of your db (a) may need to cursor through millions of records and (b) is balanced against usage of the rest of your instance and pod.

View solution in original post

1 REPLY 1
SanfordWhiteman
Level 10 - Community Moderator

Re: How long we should expect queue jobs to take?

There's no general-purpose "usually".

You have to find out the baselines for your instance. Even something that seems to take only a tiny slice of your db (a) may need to cursor through millions of records and (b) is balanced against usage of the rest of your instance and pod.