Stats display status, if he will pop up a lot of things after carriage return, some data we need to pay attention to
Such as:
Get_hits is a get query, the number of times it is queried
Get_misses with Get query, the number of times not queried
Cmd_get total number of queries executed
Curr_items the number of keys currently present (including expired)
Main view hit rate problem:
Get_hits/cmd_get the higher the ratio, the better the system.
Note that the setting of the data validity period
There are two kinds of settings
- Set the number of seconds directly, set the cache time using the number of seconds, you can not 30 days
- Set a time-out point for the time stamp to expire.
Regardless of the time stamp or the number of seconds are integers, how to distinguish and?
If less than 30*24*3600 is the number of seconds to set, if the value is more than the timestamp,
If the set cache validity period is greater than 30*24*3600 less than the current timestamp, it indicates that it is invalid
Kill lui lei Dog---memcache no:03 start display status and save mechanism, etc.