Lune

CCS2023Top-tier venue

The Locality of Memory Checking

Weijie Wang, Yujie Lu, Charalampos Papamanthou, Fan Zhang

Abstract

Motivated by the extended deployment of authenticated data structures (e.g., Merkle Patricia Tries) for verifying massive amounts of data in blockchain systems, we begin a systematic study of the I/O efficiency of such systems. We first explore the fundamental limitations of memory checking, a previously-proposed abstraction for verifiable storage, in terms of its locality-a complexity measure that we introduce for the first time and is defined as the number of non-contiguous memory regions a checker must query to verifiably answer a read or a write query. Our central result is an Ω(log n/log log n) lower bound for the locality of any memory checker. Then we turn our attention to (dense and sparse) Merkle trees, one of the most celebrated memory checkers, and provide stronger lower bounds for their locality. For example, we show that any dense Merkle tree layout will have average locality at least (1/3)log n. Furthermore, if we allow node duplication, we show that if any write operation has at most polylog complexity, then the read locality cannot be less than log n/log log n. Our lower bounds help us construct two new locality-optimized authenticated data structures (DupTree and PrefixTree) which we implement and evaluate on random operations and real workloads, and which are shown to outperform traditional Merkle trees, especially as the number of leaves increases.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

its abstract · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. On Scalable Integrity Checking for Secure Cloud DisksQuinn Burke, Ryan Sheatsley, Rachel King, Owen Hines et al.FAST 2025 · 5 citations
  2. Auspex: Unveiling Inconsistency Bugs of Transaction Fee Mechanism in BlockchainZheyuan He, Zihao Li, Jiahao Luo, Feng Luo et al.USENIX Security 2025
  3. vCause: Efficient and Verifiable Causality Analysis for Cloud-based Endpoint AuditingQiyang Song, Qihang Zhou, Xiaoqi Jia, Zhenyu Song et al.USENIX Security 2026

Related papers

  1. LVMT: An Efficient Authenticated Storage for BlockchainChenxing Li, Sidi Mohamed Beillahi, Guang Yang, Ming Wu et al.OSDI 2023 · 4 citations
  2. Accelerating Merkle Patricia Trie with GPUYangshen Deng, Muxi Yan, Bo TangVLDB 2024 · 8 citations
  3. MEST: An Efficient Authenticated Secondary Index in Blockchain SystemsJinping Jia, Yichen Gao, Yifei Zhen, Zhao Zhang et al.ICDE 2025 · 2 citations
  4. FastVer: Making Data Integrity a CommodityArvind Arasu, Badrish Chandramouli, Johannes Gehrke, Esha Ghosh et al.SIGMOD 2021 · 15 citations
  5. Merkle2: A Low-Latency Transparency Log SystemYuncong Hu, Kian Hooshmand, Harika Kalidhindi, Seung Jin Yang et al.S&P 2021 · 51 citations
Dusk over the sea between two cliffs drawn in fine vertical lines