Banyan trees - an indexed log data structure on IPFS
summary
Banyan is a Rust crate that implements an indexed, compressed and encrypted append only log used for distributed event sourcing over IPFS; it claims "insanely good" compression by packing many events per block and compressing with Zstandard compression before encryption using a fast stream cipher. It provides random access by numeric offset, tag/time queries via summaries, range deletions that keep stable-offset deletions (removed ranges don’t renumber later items), and extracts IPFS links out of compressed blocks so link resolution works.
AI-written summary · about
chapters (10)
- 0:00Introduction and background
- 0:25Distributed event sourcing needs
- 1:48Key requirements for storage
- 3:32Encryption and compression strategies
- 5:39Banyan tree data structure
- 8:08Link types and Rust traits
- 9:12Chunky node structure
- 10:57Block format for IPFS
- 11:38Sibo42 format choice
- 13:06Banyan usage examples
