# HDT3213/godis

A Golang implemented Redis Server and Cluster. Go 语言实现的 Redis 服务器和分布式集群

Repository: https://github.com/HDT3213/godis
Canonical: https://ross.abutalabs.com/products/godis
Homepage: https://www.cnblogs.com/Finley/category/1598973.html
Language: Go
License: GPL-3.0
License Family: copyleft
Topics: kv-cache, golang, redis-server, redis, godis, cluster, redis-cluster, go
Last push: 2025-09-14T08:05:30+00:00

## Health v2 (maintenance only)
Score: 42/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 42, release rhythm 8, longevity 100
- inputs: {"age_days": 2650, "days_push": 353, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3833, forks 601 (observed 2026-08-28T04:08:23.737382+00:00)

## What it is
Godis is a Redis-compatible server and cluster implemented in Go, supporting strings, lists, hashes, sets, sorted sets, bitmaps, TTL, pub/sub, GEO, AOF/RDB persistence, transactions, and replication. It also provides a server-side cluster with Raft-based metadata management, dynamic expansion, rebalancing, and failover, and serves as an educational example of writing high-concurrency middleware in Go.

## Use cases
- run a redis-compatible server without installing redis
- self-host a distributed kv cache cluster in go
- learn how redis protocol and persistence are implemented
- replace redis in a go microservices stack
- test redis clients against an alternative server
- study raft-based cluster metadata management
- set up a multi-node cache with replication and failover

## When to choose
- you want a redis-protocol server written in go that you can read and modify
- you need a learning resource for building concurrent network middleware
- you want a self-contained cluster with raft metadata and transparent client access
- you need aof/rdb persistence and transactions in a go-native server

## When to avoid
- you need full redis compatibility and production-grade maturity - use official redis or valkey
- you require redis modules, lua scripting, or streams
- you need battle-tested performance at extreme scale
- gpl-3.0 licensing is incompatible with your project

## Facets
- artifact type: service
- maturity: active
- function: caching, http-server, database, serialization, parser
- domain: databases, developer-tools, backend, microservices
- platform: go, cross-platform
- tags: redis-server, redis-cluster, kv-store, in-memory-database, raft, aof, rdb, pub-sub, geohash, tcp-server, linux, macos

## Member repositories
- HDT3213/godis (main) score 42

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:23.737382+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:26:18.227498+00:00, confidence not recorded.
  - readme: https://github.com/HDT3213/godis (fetched 2026-08-28T04:08:23.737382+00:00, sha a7cf12fcfa43)
  - homepage: https://www.cnblogs.com/Finley/category/1598973.html (fetched 2026-08-29T09:20:57.647812+00:00, sha 892b07a2d540)
- Data as of 2026-08-30T08:39:29.467469+00:00.
