Abstract
We present a self-designing key-value storage engine, Cosine, which can always take the shape of the close to "perfect" engine architecture given an input workload, a cloud budget, a target performance, and required cloud SLAs. By identifying and formalizing the first principles of storage engine layouts and core key-value algorithms, Cosine constructs a massive design space comprising of sextillion (10
36
) possible storage engine designs over a diverse space of hardware and cloud pricing policies for three cloud providers - AWS, GCP, and Azure. Cosine spans across diverse designs such as Log-Structured Merge-trees, B-trees, Log-Structured Hash-tables, in-memory accelerators for filters and indexes as well as trillions of hybrid designs that do not appear in the literature or industry but emerge as valid combinations of the above. Cosine includes a unified distribution-aware I/O model and a learned concurrency-aware CPU model that with high accuracy can calculate the performance and cloud cost of any possible design on any workload and virtual machines. Cosine can then search through that space in a matter of seconds to find the best design and materializes the actual code of the resulting storage engine design using a templated Rust implementation. We demonstrate that on average Cosine outperforms state-of-the-art storage engines such as write-optimized RocksDB, read-optimized WiredTiger, and very write-optimized FASTER by 53x, 25x, and 20x, respectively, for diverse workloads, data sizes, and cloud budgets across all YCSB core workloads and many variants.
Publisher
Association for Computing Machinery (ACM)
Subject
General Earth and Planetary Sciences,Water Science and Technology,Geography, Planning and Development
Reference123 articles.
1. 2014. Viber Replacing MongoDB with Couchbase. https://www.youtube.com/watch?v=mMuMAjgXWIc. 2014. Viber Replacing MongoDB with Couchbase. https://www.youtube.com/watch?v=mMuMAjgXWIc.
2. 2019. Amazon Web Services. https://aws.amazon.com/ec2/pricing/on-demand/. 2019. Amazon Web Services. https://aws.amazon.com/ec2/pricing/on-demand/.
3. 2019. Aria Storage Engine. http://mariadb.com/kb/en/library/aria-storage-engine. 2019. Aria Storage Engine. http://mariadb.com/kb/en/library/aria-storage-engine.
4. 2019. AWS Calculator. https://calculator.s3.amazonaws.com/index.html. 2019. AWS Calculator. https://calculator.s3.amazonaws.com/index.html.
5. 2019. Azure Calculator. https://azure.microsoft.com/en-us/pricing/. 2019. Azure Calculator. https://azure.microsoft.com/en-us/pricing/.
Cited by
15 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献