The design scheme of the letter in the sending station

Source: Internet
Author: User
With the increase of registered users, the previous old Send station letter function is not suitable for use (need to send a long time), how do you solve this problem?
Crontab Server background Timer?
How is it implemented?

Reply content:

With the increase of registered users, the previous old Send station letter function is not suitable for use (need to send a long time), how do you solve this problem?
Crontab Server background Timer?
How is it implemented?

Have to look at the existing station inside the letter procedure have what problem, why take a long time? Did you use APM to monitor performance? Are there any performance indicators? There is no specific data, there is no specific optimization plan.

Where you are time consuming. We split the private messages table by 20 minutes, directly with SQL or quickly.

Attention table, Fan table, the station letter similar to the single table more than 100w proposed sub-table, the table name user_id to take surplus.

Landlord problems need to track the sending station letter time card where, that is, the system bottleneck.

  • 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.