In-memory
key-value store.
A blazing-fast, Redis-inspired database built from scratch. LRU eviction, TTL, persistence, TCP & HTTP — all in one lightweight binary.
memQ-cli
Everything you need
11 production-ready features built from the ground up. No dependencies, no bloat — just pure Go performance.
In-Memory Store
High-performance hashmap-backed store with O(1) Get, Set, and Delete. Built on a custom doubly-linked list.
LRU Eviction
Least Recently Used eviction policy automatically removes stale entries when capacity is reached.
Time-To-Live (TTL)
Set expiration on any key with SETEX and EXPIRE. Background cleaner automatically purges expired entries.
TCP Server (RESP)
Redis-compatible TCP server using RESP serialization. Connect with netcat or any Redis client library.
HTTP REST API
Full REST API with JSON endpoints for key management, statistics, and snapshot operations.
Interactive CLI
Full-featured terminal REPL with 15+ commands including SET, GET, SETEX, TTL, STATS, SAVE, and LOAD.
Quick Start
Clone, build, connect. Three steps to your own in-memory store.
1Install & Run
2Connect
Roadmap
Planned features for production deployment.
- Multiple Data Types (Lists, Sets)
- Memory-Based Eviction
- Pub/Sub Messaging
- Benchmarks & Profiling
- CI/CD workflow
- Prometheus Metrics