Redka reimplements core Redis behavior on SQLite or PostgreSQL while speaking the Redis API and wire protocol. It runs in-process in Go apps or as a standalone server.
Overview
Redka offers Redis-like strings, lists, sets, hashes, and sorted sets while persisting data in a relational database instead of keeping everything in memory. Applications can keep using familiar Redis commands and clients over RESP. It is in maintenance mode, and no new features are planned.
Data does not have to fit entirely in RAM, and the backend supports ACID transactions. SQL views on the stored schema help inspection, analysis, and reporting compared with a purely in-memory key-value store.
You can embed Redka through a Go module for in-process use or run a standalone Redis-compatible server. The same codebase can back local integration tests, small production instances, or embedded caches in Go programs that already use SQLite.
Storage is SQLite or PostgreSQL with a simple relational schema. Throughput targets tens of thousands of operations per second rather than matching a dedicated in-memory engine; the project positions itself for testing and non-critical production rather than maximum raw performance.
Key features
- Redis API and RESP protocol
- SQLite or PostgreSQL backends
- ACID transactions
- SQL views for data inspection
- In-process Go embedding
- Standalone server mode
Use cases
- Embedded cache in Go applications
- Lightweight Redis substitute for tests
- Redis-like structures on PostgreSQL
- Small-scale production key-value service
Does the same job as
Redka doesn't name these products itself, but its own description shows it does the same job.