I have a queue list of email and sms to send, and I'm wondering what is the best aproach to send them using php.
It has to be asyncronous, the user cannot wait because the list can be long. I thought a scheduled cron script to a php page, but if the queue is short the wait time to start can be too long.
What is the common way to consume a queue in php in async way?