{
  "slug": "tokufs",
  "term": "TokuFS",
  "aliases": [
    "TokuFS Streaming File System"
  ],
  "definition": "TokuFS is a research filesystem that uses Fractal Tree indexes and buffered updates to organize file data and metadata.",
  "note": "The 2012 design separates metadata and data indexes. Data keys combine a full pathname with a block number for 512-byte blocks; metadata keys sort by directory depth before pathname. Renaming a directory rewrites descendant keys, and the prototype does not support hard links. [paper]\n\nUpsert messages describe changes without first reading the old block. A partial write specifies a byte range; a previously absent block begins with zero-valued bytes. But exclusive creation must determine whether a file already exists before returning success or an error. A deferred update cannot eliminate every search. [slides]\n\nThe reported evaluation uses a user-space library, not the FUSE path, on an Opteron system with a 1 TB, 7200 rpm disk. Those results do not establish current SSD performance. [paper] Later BetrFS work moved write-optimized indexing into the kernel and discusses the extra queries imposed by the historical FUSE path. [betrfs]\n\nFigure 4 prints 72 MB, 15.74 s and 1.7 MB/s for TokuFS. Applying its size/time definition gives about 4.57 MB/s. Which printed field is wrong remains unresolved; this quotient is not a corrected benchmark. Stored size/time also is not a device-written-byte counter. Download the checked arithmetic and ordering example. [paper] [audit] [results]\n\nThe available source snapshot is from 2014 and names TokuKV as a prerequisite. It is not identified as the exact 2012 experimental revision. Source availability alone does not establish reproducibility of the published timings. [source]",
  "status": "research",
  "advantages": [],
  "limitations": [],
  "related": [
    "betrfs",
    "buffered-upsert",
    "full-path-indexing"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "citations": [
    {
      "id": "paper",
      "title": "Esmet, Bender, Farach-Colton and Kuszmaul. The TokuFS Streaming File System. HotStorage 2012, sections 3-4 and Figure 4.",
      "url": "https://www.usenix.org/system/files/conference/hotstorage12/hotstorage12-final52.pdf",
      "accessed": "2026-12-01"
    },
    {
      "id": "slides",
      "title": "TokuFS authors. HotStorage 2012 slides, pages 22-32: ordering, buffered updates and exclusive creation.",
      "url": "https://www.usenix.org/sites/default/files/conference/protected-files/esmet_hotstorage12_slides.pdf",
      "accessed": "2026-12-01"
    },
    {
      "id": "betrfs",
      "title": "Jannen et al. BetrFS: A Right-Optimized Write-Optimized File System. FAST 2015, sections 5.2 and 8.",
      "url": "https://files.usenix.org/s3fs-public/cdn/fast15-paper-jannen_william.pdf",
      "accessed": "2026-12-01"
    },
    {
      "id": "source",
      "title": "esmet/tokufs README at baab5445b02705977e389156e41d1b0c9a3f2d7d, committed 2014-02-19.",
      "url": "https://github.com/esmet/tokufs/blob/baab5445b02705977e389156e41d1b0c9a3f2d7d/README",
      "accessed": "2026-12-01"
    },
    {
      "id": "audit",
      "title": "Hesela: runnable TokuFS table audit and synthetic ordering example (Python standard library).",
      "url": "https://hesela.dev/research/tokufs/audit.py",
      "accessed": "2026-12-01"
    },
    {
      "id": "results",
      "title": "Hesela: transcribed cells, exact quotients and conditional rounding checks.",
      "url": "https://hesela.dev/research/tokufs/results.json",
      "accessed": "2026-12-01"
    },
    {
      "id": "hesela",
      "title": "Hesela: full-path indexing and the cost of rename.",
      "url": "https://hesela.com/analyses/full-path-indexing-range-rename/",
      "accessed": "2026-12-01"
    }
  ],
  "updated": "2026-12-01",
  "provenance": [
    "Primary-source review, arithmetic audit and synthetic ordering counterexample; no native TokuFS benchmark or crash experiment."
  ]
}
