PHP distributed and massive data processing-php Tutorial

Source: Internet
Author: User
PHP distributed and a large number of data processing problems our company now needs to build a microblog system, with a large number of users and a requirement to support millions of users online at the same time. let's talk about what cache technology is used, some people suggest using C ++ to write data to the background, and some suggest using memcache for caching, because our system also has an IM, which needs to interact with the website, C ++ is required to write data to the background, but does the cache use memcache or C ++. ------ Solution --------- PHP distributed and massive data processing problems
Now, our company needs to build a Weibo system with a large number of users, requiring support for millions of users online at the same time. let's talk about what cache technology is used, some people suggest using C ++ to write data to the background, and some suggest using memcache for caching, because our system also has an IM, which needs to interact with the website, C ++ is required to write data to the background, but does the cache use memcache or C ++.

------ Solution --------------------
Memcache is originally written in C/C ++. is it different from redo with C ++.
------ Solution --------------------
What language is not the key, the key is to build a multi-level "storage layer", like the cpu, there are level-1 cache, level-2 cache, level-3 cache, you need to fully consider data storage on disks, databases, and MEM, and properly organize the data.

If you have any questions, please feel free to ask.

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.