Abstract: Memcached is an in-memory key-value caching system, which is used to resolve the principal contradiction of the disk-based database between the CPU and input/output, has been widely used as an effective way to solve the distance and improve the capacity of the source server. We optimize the performance of Memcached memory access through two ways: improve the density of memory storage and ameliorate the usage of memory. In this paper, we first enhanced Memcached with data compression. Then, we analyze Memcached calcification problem and discuss the influence of the data compression functionality on this problem. At last, we solve the slab selection problem of Memcached memory reclamation with data compression. Experiment results show that to achieve the same hit rate, only 70% of memory is needed with data compression and our de-calcification method for Memcached with data compression increased hit rate of 10%.
Loading