After the Memcache server hangs up, what will the Memcache client do?

WBOY
Release: 2016-08-04 09:20:02
Original
1159 people have browsed it

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~

Reply content:

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

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template