How many customers will reach the 10K purchase milestone? does it make sense to push a Job to queue for every single purchase while there's a huge chance that this job will just do nothing at all? IMHO this is a waste of resources, you might end up filling your queue with thousands of unnecessary jobs. It might be a good thing if we can check for that condition before queueing the listener.
Conditionally pushing event listeners to queue
Posted on | Freek Van der Herten