It was an interview question. What I already knew at the time was: Memcache’s consistency algorithm is implemented on the client side, but I don’t know how to solve this question. What knowledge points need to be examined? I don’t know what everyone thinks. If you have ideas, you can comment directly. Thank you~
It was an interview question. What I already knew at the time was: Memcache’s consistency algorithm is implemented on the client side, but I don’t know how to solve this question. What knowledge points need to be examined? I don’t know what everyone thinks. If you have ideas, you can comment directly. Thank you~
The data in memcached is all cached after checking it in mysql. If it fails, check mysql, and the mysql data will be synchronized with the new cache
Shouldn’t it be that the client reported a connection exception
http://php.net/manual/en/memc...