Why I Wanted to Build My Own Database
The CRDT Promise
The Open Problems I Faced
Exploring the Solutions
How I Architected Carnelia
The Two-Layer Sync Model
- Layer A (Delta-interval anti-entropy): Uses delta-state anti-entropy with acknowledgements for causal merging and garbage collection.
- Layer B (Merkle-Clock summaries): Uses Merkle-Clock roots as compact frontier identifiers for discovery and gap repair.
Key Design Decision
