arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.08832cs.DBcs.CR
收藏

对抗环境中的LSM树

LSM Trees in Adversarial Environments

Hayder Tirmazi

AI总结:

针对对抗性工作负载影响LSM树中布隆过滤器准确性导致读取性能急剧下降的问题,本文定义对抗模型与安全定义,在LevelDB和RocksDB中实现对抗弹性,缓解了性能下降。

摘要:

日志结构合并(LSM)树是键值存储的热门选择,它在保持高性能、可用于生产环境的读取延迟的同时,专注于优化写入吞吐量。为优化读取性能,LSM存储依赖一种名为布隆过滤器(BF)的概率数据结构。本文聚焦于对抗性工作负载,这类负载通过影响LSM存储中使用的BF的准确性,导致读取性能急剧下降。我们的评估显示,热门LSM存储的查找读取延迟最多增加800%。我们为LSM存储定义了对抗模型和安全定义,并在两个热门LSM存储LevelDB和RocksDB中实现了对抗弹性。我们使用这些实现展示了如何缓解对抗性工作负载下的性能下降问题。

英文摘要:

The Log Structured Merge (LSM) Tree is a popular choice for key-value stores that focus on optimized write throughput while maintaining performant, production-ready read latencies. To optimize read performance, LSM stores rely on a probabilistic data structure called the Bloom Filter (BF). In this paper, we focus on adversarial workloads that lead to a sharp degradation in read performance by impacting the accuracy of BFs used within the LSM store. Our evaluation shows up to $800\%$ increase in the read latency of lookups for popular LSM stores. We define adversarial models and security definitions for LSM stores. We implement adversary resilience into two popular LSM stores, LevelDB and RocksDB. We use our implementations to demonstrate how performance degradation under adversarial workloads can be mitigated.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑