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

Architecture Overview

Six clear layers from FUSE to object storage — not a black box.

BrewFS separates filesystem semantics, metadata transactions, object-block storage, and background maintenance into clear layers that can be inspected, benchmarked, debugged, and extended.

The six layers

#LayerResponsibility
01CLI / DaemonStarts BrewFS, loads configuration, mounts, operational commands
02FUSEReceives kernel filesystem operations, maps them to VFS operations
03VFSPath lookup, inode management, file handles, rename, truncate, read, write
04MetadataNamespace, directory entries, inode attributes, chunk metadata, slice descriptors, transactions
05Chunk EngineChunk / Block / Slice layout, read/write mapping, sparse holes, compaction, GC
06Object BackendStores file data as object blocks on LocalFS or S3-compatible storage
Applications / Agents
        ↓ POSIX-like FUSE
      VFS Layer
        ↓
Metadata Layer   ·   Chunk Engine
        ↓
   Object Backend (LocalFS / S3)

Continue with the Read & Write Path.

CLI Reference

The brewfs command-line interface.

Read & Write Path

The IO path as a clear Rust pipeline — no hidden magic.

On this page

The six layers