Why Blink Store?
A lightweight cache that gets out of your way. No drivers, no SDKs, no infrastructure overhead.
Single Binary, Zero Config
One curl command to install. One flag to start. No config files, no daemon setup, no package manager required.
Any Language
Plain-text TCP protocol. Python, Node.js, Go, Rust, Shell โ if it can open a socket, it works.
Smart Memory Management
Set a byte limit with --memory-limit. Sampled eviction (like Redis) automatically reclaims space when full.
Blazing Fast
Sub-50 ยตs p50 latency. 16K+ ops/sec on a single connection. Lock-free DashMap and async Tokio runtime.
Written in Rust
No unsafe code. Result-based error handling โ no panics in production paths. Structured logging via tracing.
Cross-Platform
Pre-built binaries for Linux, macOS, and Windows (x86_64 + ARM64). Docker images for linux/amd64 and linux/arm64.
Blink Store vs. the alternatives
Blink Store fills the gap between in-process caches and full-featured distributed stores.
| Blink Store | Redis / Valkey | In-process cache | |
|---|---|---|---|
| Setup | Single binary, one flag | Package manager or Docker | Library import |
| Cross-language | Any language via TCP | Any language via RESP | Same language only |
| Protocol | 5 text commands | 400+ commands | Function calls |
| Persistence | None (ephemeral) | RDB / AOF | None |
| Clustering | Single node | Built-in | Single process |
| Memory control | --memory-limit + eviction | maxmemory + policies | Manual |
| Dependencies | None | libc, jemalloc | Language runtime |
| Best for | Local/sidecar cache, CI, prototyping | Production distributed cache | Single-app hot path |
Quick Start
Install and run in two commands โ no Git clone, no Rust toolchain:
# Install the latest release
curl -sSLf https://raw.githubusercontent.com/ashokdudhade/blink-store/main/scripts/install-from-github.sh \
| bash -s -- latest ./bin
# Start the server
./bin/blink-store serve --tcp 127.0.0.1:8765
Then from another terminal:
echo "SET user alice" | nc 127.0.0.1 8765 # โ OK
echo "GET user" | nc 127.0.0.1 8765 # โ VALUE YWxpY2U=
echo "USAGE" | nc 127.0.0.1 8765 # โ USAGE 9
echo "DELETE user" | nc 127.0.0.1 8765 # โ OK