antoniovpires's avatar

Observer not dispatching random jobs - Help needed!

I have an application that dispatches a lot of jobs every day, we do have some peaks of operations but our hardware is handling it well. For some reason, some jobs (e.g 2 out of 12000) are not being dispatched in the service! There is no error in the log, but we are sure it reaches the ::dispatch line of code. It doesn't have a time pattern nor any kind of input similarity.

We are using Laravel 6.x, with Redis for the queue. The same application is running for different companies, some handle even more requests/job dispatches, but only one has this problem.

In more details, this is part of the process: The user pays his order, we get its confirmation through a webhook, the observer catches it and it calls the service. In this point, it sometimes just won't dspatch the job. In this application in particular, this process occurs around 12.000 times a day.

If you need any more information, let me know! Thank you in advance :D

0 likes
1 reply
antoniovpires's avatar

Well, for anyone that may be facing the issue, it was a miscalculation of Redis processing power. Increasing it solved the problem

Please or to participate in this conversation.