1. The company’s WeChat service account held a reservation event, and nearly two users made reservations. Now we want to send them a scheduled template message.
Our current approach is to send all the messages to be sent to a queue, and then use crontab to run it. It will take a long time to send each message one by one.
So now I want to ask you how to deal with this kind of large-scale sending of template messages.
滿天的星座2017-07-03 11:42:07
In laravel, I use redis queue and supervisor to monitor 8 processes, which will be faster
PHP中文网2017-07-03 11:42:07
2w items are okay. . . It will be sent out soon. . . Just start a process and keep running. . It mainly depends on the frequency limit given by the WeChat interface. Don’t send too fast