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?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-06 13:52:52
Original
1047 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:
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template