keep your data in sync in your Erlang application
summary
Barrel is an Erlang-built database/framework that synchronizes partial or full data views inside apps or over HTTP, developed over three years and running in production with customers. It uses a RocksDB binding for storage, maintains per-document revision trees for conflict-aware replication, offers real-time persistent views and streaming queries, and supports push/pull and peer-to-peer replication with topology decisions driven by gossip-based discovery (Partisan/libp2p style).
AI-written summary · about
chapters (16)
- 0:00Introduction
- 0:57Context
- 1:35What is Barrel
- 1:56Main feature
- 2:58Btree
- 4:56Document
- 5:51Remote
- 6:13Operation
- 7:21Metadata
- 8:10Indexing
- 8:32Persistent views
- 12:47Subscribe to view changes
- 13:08Keep it simple
- 13:49Replication tags
- 15:03Parallel collaborators
- 17:21Topology








