A Log-Structured Merge Tree-aware Message Authentication Scheme for Persistent Key-Value Stores
Ig-Jae Kim, J. Hyun Kim, Minu Chung, Hyungon Moon, Sam H. Noh
Abstract
Persistent key-value stores (KVSs) are fundamental building blocks of modern software products. A KVS stores persistent states for the products in the form of objects associated with their keys. Confidential computing (e.g., Intel Software Guard Extensions (SGX)) can help KVS protect data from unwanted leaks or manipulation if the KVS is adapted to use the protected memory efficiently. The characteristics of KVSs accommodating a large volume of data amplify one of the well-known performance bottlenecks of SGX, the limited size of the protected memory. An existing mechanism, Speicher, applied common techniques to overcome this. However, its design decision does not scale because the required protected memory size increases rapidly as the KVS receives additional data, resulting from the design choice to hide the long latency of Merkle tree-based freshness verification. We find that the unique characteristics of the log-structured merge (LSM) tree, a data structure that most popular persistent KVSs have, help reduce the high cost of protected memory consumption. We design TWEEZER on top of this observation by extending RocksDB, one of the most popular open-source persistent KVSs. We compare the performance of TWEEZER with the reproduced version of Speicher. Our evaluation using the standard db_bench reveals that TWEEZER outperforms Speicher by 1.94∼6.23× resulting in a reduction of slowdown due to confidential computing from 16∼30× to 4∼9×.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext f656adba-8474-4ccf-868c-c53bca6a0923Cited by top-tier papers2
- Anchor: A Library for Building Secure Persistent Memory SystemsDimitrios Stavrakakis, Dimitra Giantsidi, Maurice Bailleu, Philip Sändig et al.SIGMOD 2024 · 3 citations
- SACK: Shielding Dynamic Attribute-based Access Control in Persistent Key-Value StoresYanjing Ren, Jingwei Li, Patrick LeeVLDB 2026
Builds on13
- Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order ExecutionJo Van Bulck, Marina Minkin, Ofir Weisse, Daniel Genkin et al.USENIX Security 2018 · 1,175 citations
- Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch ShadowingSangho Lee, Ming-Wei Shih, Prasun Gera, Taesoo Kim et al.USENIX Security 2017 · 536 citations
- EnclaveDB: A Secure Database Using SGXChristian Priebe, Kapil Vaswani, Manuel CostaS&P 2018 · 329 citations
- Panoply: Low-TCB Linux Applications With SGX EnclavesShweta Shinde, Dat Le Tien, Shruti Tople, Prateek SaxenaNDSS 2017 · 274 citations
- ROTE: Rollback Protection for Trusted ExecutionSinisa Matetic, Mansoor Ahmed, Kari Kostiainen, Aritra Dhar et al.USENIX Security 2017 · 249 citations
Related papers
- PinK: High-speed In-storage Key-value Store with Bounded TailsJunsu Im, Jinwook Bae, Chanwoo Chung, Arvind et al.USENIX ATC 2020 · 85 citations
- GRF: A Global Range Filter for LSM-Trees with Shape EncodingHengrui Wang, Te Guo, Junzhao Yang, Huanchen ZhangSIGMOD 2024 · 15 citations
- SHIELD: Encrypting Persistent Data of LSM-KVS from Monolithic to Disaggregated StorageViraj Thakkar, Dongha Kim, Yingchun Lai, Hokeun Kim et al.SIGMOD 2025 · 5 citations
- Aria: Tolerating Skewed Workloads in Secure In-memory Key-value StoresFan Yang, Youmin Chen, Youyou Lu, Qing Wang et al.ICDE 2021 · 7 citations
- Toleo: Scaling Freshness to Tera-scale Memory Using CXL and PIMJuechu Dong, Jonah Rosenblum, Satish NarayanasamyASPLOS 2024 · 8 citations
