Cox, Alan L.2016-01-252016-01-252014-122014-05-15December 2Li, Conglong. "GD-Wheel: A Cost-Aware Replacement Policy for Key-Value Stores." (2014) Master’s Thesis, Rice University. <a href="https://hdl.handle.net/1911/88084">https://hdl.handle.net/1911/88084</a>.https://hdl.handle.net/1911/88084Various memory-based key-value stores, such as Memcached and Redis, are used to speed up dynamic web applications. Specifically, they are used to cache the results of computations, such as database queries. Currently, these key-value stores use either LRU or an LRU approximation as the replacement policy for choosing a key-value pair to be evicted from the store. However, if the cost of recomputing cached values varies significantly, as in the RUBiS and TPC-W benchmarks, then neither of these replacement policies are the best choice. When deciding what key-value pair to replace, it can be advantageous to take the cost of recomputation into consideration. To that end, this thesis proposes a new cost-aware replacement policy, GD-Wheel, which seamlessly integrates recency of access and cost of recomputation. This thesis applies GD-Wheel to Memcached and evaluates its performance using the Yahoo! Cloud Serving Benchmark. The evaluation shows that GD-Wheel, when compared to LRU, greatly reduces the total recomputation cost, as well as the average and 99th percentile read access latency for the application.application/pdfengCopyright is held by the author, unless otherwise indicated. Permission to reuse, publish, or reproduce the work beyond the bounds of fair use or other exemptions to copyright law must be obtained from the copyright holder.Key-Value StoreReplacement PolicyDistributed SystemGD-Wheel: A Cost-Aware Replacement Policy for Key-Value StoresThesis2016-01-25