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.