Sign inSign up

rishabhverma17/hypercache

By rishabhverma17

•Updated 5 months ago

HyperCache is a high-performance distributed cache with integrated probabilistic data structures.

Image
Databases & storage
0

4.6K

rishabhverma17/hypercache repository overview

⁠HyperCache - Distributed Cache

Static Badge Status Go Version Redis Compatible Docker Hub Monitoring

CI Tests Unit Tests Coverage Cuckoo Filter Performance

HyperCache is a high-performance, Redis-compatible distributed cache with advanced memory management, integrated probabilistic data structures (Cuckoo filters), and comprehensive monitoring stack. Built in Go for cloud-native environments.

⁠Quick Start

curl -O https://raw.githubusercontent.com/rishabhverma17/HyperCache/main/docker-compose.cluster.yml
docker compose -f docker-compose.cluster.yml up -d

Starts a 3-node cluster + Elasticsearch + Grafana + Filebeat. No config files needed.

⁠Endpoints

ServiceURL
Node 1 HTTPhttp://localhost:9080⁠
Node 2 HTTPhttp://localhost:9081⁠
Node 3 HTTPhttp://localhost:9082⁠
Redis CLIredis-cli -p 8080
Grafanahttp://localhost:3000⁠ (admin/admin123)
Metricshttp://localhost:9080/metrics⁠

⁠Usage

# SET
curl -X PUT http://localhost:9080/api/cache/mykey \
  -H "Content-Type: application/json" -d '{"value":"hello"}'

# GET (from different node — auto-replicated)
curl http://localhost:9082/api/cache/mykey

# Redis CLI
redis-cli -p 8080 SET foo bar
redis-cli -p 8081 GET foo

# Health
curl http://localhost:9080/health

⁠Features

  • Redis compatible (GET, SET, DEL, EXISTS, PING, INFO, DBSIZE)
  • 3-node gossip cluster with consistent hashing
  • Cuckoo filter for fast negative lookups
  • AOF + snapshot persistence
  • Prometheus metrics on every node
  • 3 Grafana dashboards pre-configured
  • Structured JSON logging → Filebeat → Elasticsearch

⁠Single Node

docker run -p 8080:8080 -p 9080:9080 rishabhverma17/hypercache:latest

⁠Source

github.com/rishabhverma17/HyperCache⁠

Tag summary

Content type

Image

Digest

sha256:97058a4b1…

Size

9 MB

Last updated

5 months ago

docker pull rishabhverma17/hypercache