Home > Backend Development > PHP Tutorial > What exactly does the hit rate of memcache refer to?

What exactly does the hit rate of memcache refer to?

WBOY
Release: 2016-07-06 13:52:52
Original
1015 people have browsed it

What exactly does the hit rate of memcache refer to?

Reply content:

What exactly does the hit rate of memcache refer to?

Hit rate = get_hits/cmd_get * 100%

  • cmd_get #get command (get) total number of requests

  • get_hits #Total Hits

The hit rate of memcache usually refers to the probability of hitting the memcache cache when fetching data.
Usually when memcache is used, it is a cluster. In a cluster, there will be N memcached servers. Different servers store different data, so when fetching data: (Successfully fetched from memcached Data received/Total data requests) . This is the hit rate

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