hashcache · research · also HashCache-Basic, HashCache-SetMem, HashCache-Log

HashCache

HashCache is a 2009 research cache storage engine whose indexing policies trade RAM use against disk lookup and write work.

Placement: Basic hashes object names to disk bins and checks full names before returning content. Colliding inserts replace occupants; even misses require disk access. Set adds associativity. SetMem keeps compact tags and replacement ranks in RAM, avoiding most miss reads when metadata is resident. Log adds offsets and generation state to support batched writes. [1]

Memory scope: Zero index RAM does not mean zero process RAM. The proxy also uses buffers and a hot-object cache. The paper illustrates 11-bit SetMem and 47-bit Log entries; these are configuration-specific index budgets. [1]

Worked budget: For an idealized 1 TiB payload budget with 8 KiB equal-size objects, 134217728 logical slots need 176 MiB at 11 bits each or 752 MiB at 47 bits. Halving object size doubles both totals. This packed-bit projection excludes allocation, table slack, disk metadata and other process memory; it is not a capacity or performance measurement. [2]

Evidence boundary: Evaluation used Polymix-4 and historical HDD systems. The large-drive experiment scattered 50 GB of data per drive rather than filling the drives. Neither that workload nor the reported throughput establishes modern SSD performance. [1]

Relations

related
FlashStore, SkimpyStash, Hash collision

Citations

  1. Badam, Park, Pai and Peterson. HashCache: Cache Storage for the Next Billion. NSDI 2009, pp. 123-136; design, implementation and evaluation; Tables 3 and 9. (accessed 2026-11-30)
  2. Hesela: idealized packed-index budget results (CC0; not benchmark data) (accessed 2026-11-30)

Further reading

  1. Hesela: exact integer index-budget model (CC0) (accessed 2026-11-30)
  2. Hesela: index-budget regression tests (CC0) (accessed 2026-11-30)
Sources & caveats
  • Primary-paper review and a separate deterministic arithmetic example; no HashCache implementation or performance replication.

JSON: /data/terms/hashcache.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. HashCache. Hesela. 2026-11-30. https://hesela.dev/terms/hashcache/