What should I do with memcached?

Source: Internet
Author: User
Memcached shows on the Internet that the cache of the memcached architecture design scheme is divided into two levels. The first level is only a PHP array, and the effective range is Request. The second level is memcached. The reason for this is that a lot of data needs to be loaded multiple times in a Request cycle, which can reduce the network requests of memcached. In addition, our framework will try to send the memcached gets command as much as possible to obtain data, & nbsp; to reduce the network memcached
View the memcached architecture design scheme on the Internet
The cache is divided into two levels. The first level is only a PHP array, and the effective range is Request. The second level is memcached. The reason for this is that a lot of data needs to be loaded multiple times in a Request cycle, which can reduce the network requests of memcached. In addition, our framework will try to send memcached's gets command to obtain data, thus reducing network requests.

Who can give an example or implement it with pseudo code?
------ Solution --------------------
I don't know where you think it is from.
If php arrays can be used for caching, what should memcached do?

------ Solution --------------------
It's off ..

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.