I want to execute a Job
in background. But I don't want it to be queued. I want the job to execute instantly, just without blocking the request thread.
I have thought of a cron task to process all background jobs at once. But it's not instant. And it may have scalability issue as stated here.
I have also looked into laravel-async-queue. But it uses DatabaseQueue
, and redis would be better for me.
Also I've thought of increasing number of queue process. But it still is a queue, which I don't want.
Is there any way to achieve it?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire