{
  "id": "2025/218",
  "url": "https://opencryptology.org/2025/218",
  "original_url": "https://eprint.iacr.org/2025/218",
  "title": "LSM Trees in Adversarial Environments",
  "authors": [
    "Hayder Tirmazi"
  ],
  "affiliations": null,
  "abstract": "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.",
  "category": "Applications",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“LSM Trees in Adversarial Environments” by Hayder Tirmazi, Cryptology ePrint Archive, Paper 2025/218, https://eprint.iacr.org/2025/218. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-02-12T22:42:07Z",
    "updated": "2025-02-14T23:23:46Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/218.pdf",
    "sha256": "6ae5c6159ae51d124fdb9f54f775badfe514fff35381cc3b308c19aa0ca6343c",
    "size": 795588,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/218/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/218.pdf",
      "size": 795588,
      "sha256": "6ae5c6159ae51d124fdb9f54f775badfe514fff35381cc3b308c19aa0ca6343c",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2025/218/versions/20250214T073040Z.pdf",
      "captured_at": "2025-02-14T07:30:40Z",
      "label": "copy captured 2025-02-14",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20250214073040id_/https://eprint.iacr.org/2025/218.pdf",
      "size": 808664,
      "sha256": "6838d0c021ba0ac48eb115b64e21bbf4ddfeb1b6884bc2e72d037d383af88675",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260926210940id_/https://eprint.iacr.org/2025/218.pdf",
      "captured_at": "2026-09-26T21:09:40Z",
      "size": 745616
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/218.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 795588
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/218,\n      author = {Hayder Tirmazi},\n      title = {LSM Trees in Adversarial Environments},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/218},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/218}\n}"
}
