12 — Chunked storage
Strand-Blobs
Multi-megabyte payloads split into BLAKE3-addressed chunks (64 KiB default), compressed with zstd, lz4, or snappy, and streamed end-to-end. A metadata Strand records the manifest; a data Strand holds the chunks. Deduplication follows the configured store boundary; cross-writer deduplication is not implied.
A closer lookBigger files. A precise address.
Content-addressed payloads sit beside signed records. A reference identifies the content an agent requests.
- 01Address the content
- 02Attach the reference
- 03Retrieve the payload
01 — Concepts
01
BLAKE3 chunking — 64 KiB default, tunable per writer.
02
Chunk-level deduplication within the configured store.
03
zstd, lz4, snappy compression negotiated per blob.
04
Streaming read / write with backpressure — multi-GB files stay flat in memory.
05
Metadata Strand records the manifest; Data Strand holds the chunks.
02 — Code
A handful of lines.
// Given a BlobStore bound to metadata/data Strands.
let id = store.put(&payload[..], None).await?;
let reader = store.get(&id).await?;
// Verify retrieval; store-level dedup is not universal availability.