finds.dev← search

// the find

EchoVault/SugarDB

★ 538 · Go · Apache-2.0 · updated Apr 2025

Embeddable and distributed in-memory alternative to Redis.

SugarDB is a Redis-compatible in-memory data store written in Go that can run as a standalone server or be imported directly as a library into your Go application. It implements RAFT-based replication, AOF/snapshot persistence, ACL auth, and pub/sub. The embedded mode is the genuinely interesting angle — you get a Redis-like store with no separate process.

The embedded library API is well-designed: you get typed Go methods (server.Set, server.Get) rather than stringly-typed commands, which makes it actually pleasant to use in-process. RAFT replication is implemented properly rather than bolted on, so the embedded instance can still participate in a cluster. The extension system is unusually flexible — custom commands via shared objects, Lua, or JavaScript modules, which is more than Redis offered for years. RESP protocol compatibility means you can point any existing Redis client at it without changes.

538 stars and last pushed April 2025 is a yellow flag — active enough to not be abandoned, not active enough to trust in production without watching closely. No streams support yet, which rules it out for any event-sourcing or queue use case. The sharding roadmap item being listed but unimplemented means horizontal scale-out requires running a full RAFT cluster, which is operationally heavier than Redis Cluster for most teams. No benchmark numbers are published in the README — the Makefile has a target but you have to run it yourself, so you're flying blind on performance relative to Redis.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →