PHP development of Bulk SMS platform for some questions, ask Master

Source: Internet
Author: User
Company to develop a mass messaging platform, to take a number of channels, and give them a combination of membership channels, advertising channels and so on different types of combination, each channel combination has mobile, unicom, 3 channels of telecommunications. My question is, when the customer service sends the text message, and the quantity is very big, this demand how to do, my idea is that the customer submits the information to put into the warehouse first, then the system scans the database every 20 seconds. Run a sendmsg.php send message within 20 seconds. There are other better ways to do it. There is no expert in this direction pointing. I see online with PHP to do the web mass is quite a lot of. How did they all come true?


Reply to discussion (solution)

With Message Queuing, Baidu a bit amqp, certainly not 20 seconds to sweep the database

Thanks, I'll see. I have used a short message platform. The slowest 20 seconds, the information in the library is sent out.

Ask the master to give a solution.

The information submitted by the customer is first stored in the database, and the auto-send page is not searched for 20 seconds but is always looking for
If there is a queue message sent to change the lock status of this message each channel supports a different length of content supported long and short letters are not supported
This can be encapsulated as a public method call or a different send page can be opened according to different channels.

Have you ever done this aspect of the expert AH. Give me a little bit of advice.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.