How is the "friend Dynamics" stream of 100,000-level active users efficiently implemented?

Source: Internet
Author: User
For a 100,000-level active user social network, how does MySQL and Redis database design for the user's homepage stream (which is the friend dynamic)? Are there any requirements for PHP?
Note: limited to single machine, or two servers. Large clusters are not considered.

In addition, I would like to know how Sina Weibo this tens active user's friend Dynamic Data sheet is implemented?

Reply content:

For a 100,000-level active user social network, how does MySQL and Redis database design for the user's homepage stream (which is the friend dynamic)? Are there any requirements for PHP?
Note: limited to single machine, or two servers. Large clusters are not considered.

In addition, I would like to know how Sina Weibo this tens active user's friend Dynamic Data sheet is implemented?

Similar to the real-time information flow, such as microblogging, need to have a sound cache system, everyone's information flow is directly pushed over, of course, according to some user policies can also be pulled by the way. This will ensure timeliness.
100,000 level 2 can be enough.

Redis+mysql, hot and cold data stored separately, high-frequency reading data memory, should be anti-millions of users no problem. Now there is a high-end fusion IO solution, SSD read and write performance has been greatly improved. Weibo should adopt a poll rather than push strategy.

  • Related Article

    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.