About Scoket Communications

Source: Internet
Author: User
About Scoket Communications
I help a friend to get a mobile message Mass interface (CMPP), now send a single text message no problem, then the problem came, if suddenly mass sms, what is the idea?
is not the two sides to establish scoket after the loop to send text messages, until all sent out, and then close scoket it.
------to solve the idea----------------------
The idea is right, open, loop write, then close
It takes time to build communications.
------to solve the idea----------------------
Generally solve the concurrency problem, the individual think not PHP real-time processing, the proposed asynchronous processing, and in order to ensure that load balance does not produce a spike caused by the snowball phenomenon, you can add a layer of Message queuing, such as RABBITMQ, and then call PHP script.
  • 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.