Workload analysis of a large-scale key-value store
Top Cited Papers
Open Access
- 7 June 2012
- journal article
- conference paper
- Published by Association for Computing Machinery (ACM) in ACM SIGMETRICS Performance Evaluation Review
- Vol. 40 (1) , 53-64
Abstract
Key-value stores are a vital component in many scale-out enterprises, including social networks, online retail, and risk analysis. Accordingly, they are receiving increased attention from the research community in an effort to improve their performance, scalability, reliability, cost, and power consumption. To be effective, such efforts require a detailed understanding of realistic key-value workloads. And yet little is known about these workloads outside of the companies that operate them. This paper aims to address this gap. To this end, we have collected detailed traces from Facebook's Memcached deployment, arguably the world's largest. The traces capture over 284 billion requests from five different Memcached use cases over several days. We analyze the workloads from multiple angles, including: request composition, size, and rate; cache efficacy; temporal patterns; and application use cases. We also propose a simple model of the most representative trace to enable the generation of more realistic synthetic workloads by the community. Our analysis details many characteristics of the caching workload. It also reveals a number of surprises: a GET/SET ratio of 30:1 that is higher than assumed in the literature; some applications of Memcached behave more like persistent storage than a cache; strong locality metrics, such as keys accessed many millions of times a day, do not always suffice for a high hit rate; and there is still room for efficiency and hit rate improvements in Memcached's implementation. Toward the last point, we make several suggestions that address the exposed deficiencies.Keywords
This publication has 19 references indexed in Scilit:
- SILT2011
- Many-core key-value store2011
- FlashStoreProceedings of the VLDB Endowment, 2010
- FAWN2009
- Easy and Efficient Disk I/O Workload Characterization in VMware ESX Server2007
- The workload on parallel supercomputers: modeling the characteristics of rigid jobsJournal of Parallel and Distributed Computing, 2003
- Workload Modeling for Performance Evaluation2002
- LIRS2002
- Workload characterization of a Web proxy in a cable modem environmentACM SIGMETRICS Performance Evaluation Review, 1999
- Internet Web servers: workload characterization and performance implicationsIEEE/ACM Transactions on Networking, 1997