Hasty Briefsbeta

Show HN: UnisonDB – B+Tree DB with sub-second replication to 100+ nodes

8 days ago
  • #database
  • #edge-computing
  • #real-time
  • UnisonDB is a log-native, real-time database designed for Edge AI and Edge Computing.
  • It combines B+Tree storage with WAL-based replication for strong consistency and durability.
  • Features include multi-modal storage (Key-Value, Wide-Column, LOB), streaming replication, and real-time notifications.
  • Optimized for edge-first architectures, reducing latency and enabling real-time responsiveness.
  • Supports namespace isolation for multi-tenancy and co-locates data with services for instant reactivity.
  • Built with a pluggable storage backend, supporting BoltDB and LMDB.
  • Benchmarks show performance comparisons with BadgerDB and BoltDB.
  • WALFS is a core component, providing efficient random access and replication capabilities.
  • Engine layer combines WAL, MemTable, and B-Tree for efficient reads and writes.
  • Replication is WAL-based, enabling efficient streaming and catch-up from any offset.
  • Supports atomic multi-key transactions and large object handling with transactional guarantees.
  • Column-aware replication allows efficient syncing of wide-column updates.
  • UnisonDB eliminates the need for separate database and message bus systems, unifying storage and streaming.