php - Send 20,000 WeChat template messages at one time
ringa_lee
ringa_lee 2017-07-03 11:40:07
0
3
1044

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.

ringa_lee
ringa_lee

ringa_lee

reply all(3)
滿天的星座

In laravel, I use redis queue and supervisor to monitor 8 processes, which will be faster

洪涛

Use php-resque and open more processes

洪涛

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template