unisondb  by ankur-anand

A log-native, streaming multimodal database for Edge AI

Created 10 months ago
355 stars

Top 78.7% on SourcePulse

GitHubView on GitHub
Project Summary

UnisonDB addresses the challenge of unifying data persistence and real-time streaming for Edge AI and Edge Computing. It targets developers building reactive, local-first distributed systems, offering a log-native database that enables near-instant replication and low-latency responsiveness across numerous edge nodes without complex external pipelines.

How It Works

UnisonDB is a log-native, multi-model database that fuses storage and streaming. It utilizes a B+Tree engine (BoltDB/LMDB) for durable, queryable data and Write-Ahead Logging (WAL) for high-throughput ingest and efficient streaming replication. Every write becomes a durable stream, enabling sub-second fan-out to hundreds of nodes and simplifying distributed application architectures.

Quick Start & Requirements

  • Install/Run: Clone the repository, build with go build -o unisondb ./cmd/unisondb, and run ./unisondb --config config.toml replicator. An example HTTP API PUT request is provided.
  • Prerequisites: Go toolchain for building. Development section mentions mkcert for local TLS certificate generation.
  • Links: Official repository: https://github.com/ankur-anand/unisondb. Documentation includes Getting Started, Configuration, Architecture, API Reference, and Deployment guides.

Highlighted Details

  • Multi-Modal Storage: Supports Key-Value, Wide-Column, and Large Objects (LOB).
  • WAL-Based Streaming Replication: Achieves sub-second fan-out to 100+ edge replicas, with multi-hop relaying scaling to 10,000+ nodes within seconds.
  • Real-Time Notifications: ZeroMQ-based side-car provides sub-millisecond latency change notifications.
  • Edge-First Design: Optimized for local-first and distributed edge computing scenarios.
  • Performance Claims: Propagates updates across 10,000+ nodes within seconds, even at high write loads, without external brokers.

Maintenance & Community

No specific details regarding maintainers, community channels (e.g., Discord, Slack), or roadmap content were present in the provided README excerpt.

Licensing & Compatibility

  • License: Apache License, Version 2.0.
  • Compatibility: Permissive license suitable for commercial use and integration into closed-source applications.

Limitations & Caveats

The README focuses on core functionality and benefits. Specific limitations such as alpha/beta status, known bugs, unsupported platforms, or detailed performance degradation factors under various conditions are not explicitly detailed. The development section implies TLS setup is required for secure communication.

Health Check
Last Commit

4 days ago

Responsiveness

Inactive

Pull Requests (30d)
30
Issues (30d)
5
Star History
338 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.