Home > Backend Development > PHP Tutorial > memcache命中率的有关问题

memcache命中率的有关问题

WBOY
Release: 2016-06-13 12:47:45
Original
911 people have browsed it

memcache命中率的问题
使用memcache缓存单条数据,在对数据进行更新的时候,删除掉这个缓存,但是memcache的命中率很低,即使达到99%也还是会有没命中的情况,有可能并没有删除
就是有可能数据库中更改了数据,但是缓存并没有更改,那么在读取这个缓存的时候就可能导致数据不一致,请问这个怎么解决

memcache Cache
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