Systems and Algorithms for High-Performance, Cost-Efficient Key-Value Storage