Queues, and time consuming jobs.

Posted 3 years ago by brti

So I'm using the Laravel Queue service to process jobs that involve building servers as these jobs takes a long time to complete, about 1 - 3 minutes in total.

I have a concern about this however, lets assume that two servers are being built for two separate users, this means that the first job would take 1 - 3 minutes to complete for the first user, before processing the job for the second user, meaning that the second user would have to wait even longer for their server to be built, is there a way of avoiding this, or perhaps having jobs be processed in parallel on separate queues?

Please sign in or create an account to participate in this conversation.