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