BrewFSBrewFS
BrewFSBrewFS
Get started
Architecture OverviewRead & Write PathChunk LayoutMetadata LayerObject BackendCache · Compaction · GC
Architecture

Cache · Compaction · GC

Keeping the object layout clean over time.

BrewFS writes data in Slice form. Overwrites, truncates, and file updates may leave older slices and object blocks behind.

  • Cache — read caching keeps hot blocks close to the mount (disk read cache is on the roadmap).
  • Compaction — reduces slice fragmentation by rewriting heavily-sliced chunks.
  • GC — removes object data that is no longer referenced by any slice.
brewfs gc --dry-run   # report what would be removed
brewfs gc             # actually remove unreferenced blocks

Object Backend

LocalFS and S3-compatible object storage for file data.

Benchmarks Overview

Benchmark-driven development: RandRW, metadata, scaling, object backends.