Saturday, November 1, 2025
Show HN: UnisonDB – Log-native KV database that replicates like a message bus https://ift.tt/xa2pPLf
Show HN: UnisonDB – Log-native KV database that replicates like a message bus Hi HN, For the past few months, I’ve been building UnisonDB — a log-native database where the Write-Ahead Log (WAL) is the database, not just a recovery mechanism. I started this because every time I needed data to flow — from core to edge, or between datacenters — I ended up gluing together a KV database + CDC + Kafka. It worked, but it always felt like overkill: too many moving parts for even small workloads, and too little determinism. What is it? UnisonDB unifies storage and streaming into a single log-based core. Every write is: • Durable (appended to the WAL), • Ordered (globally sequenced for safety), • Streamable (available to any follower in real time). It combines B+Tree storage (predictable reads, no LSM compaction storms) with WAL-based replication (sub-second fan-out to 100+ nodes). Key Ideas 1. Storage + Streaming = One System — no CDC, no Kafka, no sidecar pipelines 2. B+Tree-Backed — predictable reads, zero compaction overhead 3. Multi-Model — KV, wide-column, and large objects (LOB) in one atomic transaction 4. Replication-Native — WAL streams via gRPC; followers tail in real time 5. Reactive by Design — every write emits a ZeroMQ notification 6. Edge-Friendly — replicas can go offline and resync instantly Performance & Tradeoffs 1. Write throughput is lower than pure LSM stores (e.g. BadgerDB) — because writes are globally ordered for replication safety. Deliberate tradeoff: consistency > raw write speed. 2. Still ~2× faster than BoltDB with replication enabled. Tech Details Written in Go FlatBuffers for zero-copy serialization gRPC for streaming replication GitHub: https://ift.tt/3zuUEM6 https://unisondb.io November 2, 2025 at 12:31AM
Show HN: Just vibe coded a HN TV dashboard https://ift.tt/LzBrVUk
Show HN: Just vibe coded a HN TV dashboard https://ift.tt/61ZQqAp November 2, 2025 at 12:11AM
Show HN: Proxmox-GitOps: Container Automation Framework https://ift.tt/WFrXu2T
Show HN: Proxmox-GitOps: Container Automation Framework By encapsulating infrastructure within an extensible monorepository - recursively resolved from Git submodules at runtime - Proxmox-GitOps provides a comprehensive Infrastructure-as-Code (IaC) abstraction for an entire, automated, container-based infrastructure. Core Concepts: - Recursive Self-management: Control plane seeds itself by pushing its monorepository onto a locally bootstrapped instance, triggering a pipeline that recursively provisions the control plane onto PVE. - Monorepository: Centralizes infrastructure as comprehensive IaC artifact (for mirroring, like the project itself on Github) using submodules for modular composition. - Single Source of Truth: Git represents the desired infrastructure state. - Loose coupling: Containers are decoupled from the control plane, enabling runtime replacement and independent operation. https://ift.tt/zE91ZoF November 1, 2025 at 11:19PM
Subscribe to:
Comments (Atom)
Show HN: UnisonDB – Log-native KV database that replicates like a message bus https://ift.tt/xa2pPLf
Show HN: UnisonDB – Log-native KV database that replicates like a message bus Hi HN, For the past few months, I’ve been building UnisonDB — ...
-
Show HN: An AI logo generator that can also generate SVG logos Hey everyone, I've spent the past 2 weeks building an AI logo generator, ...
-
RoboPianist, a piano playing robot simulation in the browser https://ift.tt/zywcBo6 March 30, 2023 at 10:52PM
-
Show HN: I Made an AI Social Media Manager to Automate Content Creation Hey HN, I am a Solopreneur, and I love building apps to automate bor...