head to head · open source

go-redis vs libhv

go-redis has 22,285 GitHub stars, 2,631 forks, 66 open issues and last shipped 2 days ago. libhv has 7,572 stars, 1,371 forks, 41 open issues and last shipped 8 days ago. go-redis leads on adoption by 194% (22,285 vs 7,572 stars). go-redis is written in Go under BSD-2-Clause; libhv is written in C under BSD-3-Clause. go-redis has attracted 12% as many forks as stars, libhv 18%. go-redis was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 1 topic tag (redis), so they are genuine substitutes rather than adjacent tools.

Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.

go-redis ★ 22K libhv ★ 7.6K category Infrastructure & Operations

← all 20902 open source comparisons

Side by side

go-redis libhv
GitHub stars ★ 22K ★ 7.6K
License BSD-2-Clause BSD-3-Clause
Written in Go C
Last push 2026-11-03 2026-10-28
Forks ⑂ 2.6K ⑂ 1.4K
Self-hosting Yes Yes
Data ownership Your server Your server

pick go-redis if

  • You weight community size — 22K stars and counting
  • You want the BSD-2-Clause license terms
  • Your stack matches Go
  • You value the larger contributor base for long-term maintenance

full go-redis profile →

pick libhv if

  • You want the libhv feature set and don't need the biggest community
  • You prefer the BSD-3-Clause license terms
  • Your stack matches C
  • You evaluated both and libhv fits your workflow better

full libhv profile →

About go-redis

Redis client for Go go redis is the official Redis client library for the Go programming language. It offers a straightforward interface for interacting with Redis servers. Supported versions In go redis we are aiming to support the last three releases of Redis. Currently, this means we do support: Redis 8.0 using Redis CE 8.0 Redis 8.2 using Redis CE 8.2 Redis 8.4 using Redis CE 8.4 Redis 8.8 using Redis CE 8.8 Redis 8.10 using Redis CE 8.10 Although the go.mod states it requires at minimum go 1.24 , our CI is configured to run the tests against all supported versions of Redis and multiple versions of Go (1.24…

read the full go-redis overview →

About libhv

English 中文 libhv Like libevent, libev, and libuv , libhv provides event loop with non blocking IO and timer, but simpler api and richer protocols. ✨ Features Cross platform (Linux, Windows, macOS, Android, iOS, BSD, Solaris) High performance EventLoop (IO, timer, idle, custom, signal) TCP/UDP client/server/proxy TCP supports heartbeat, reconnect, upstream, MultiThread safe write and close, etc. Built in common unpacking modes (FixedLength, Delimiter, LengthField) RUDP support: WITH KCP SSL/TLS support: (via WITH OPENSSL or WITH GNUTLS or WITH MBEDTLS) HTTP client/server (support https http1/x http2 grpc) HTTP…

read the full libhv overview →

More in Infrastructure & Operations

Related comparisons

More Databases projects

Compare either of these against the rest of the Databases field.

Frequently asked questions

Is go-redis or libhv more popular?

go-redis has 22,285 GitHub stars and libhv has 7,572. go-redis has the larger community by that measure.

Are go-redis and libhv free?

Both are open source. go-redis is licensed under BSD-2-Clause and libhv under BSD-3-Clause. Neither carries a licence fee.

What is the difference between go-redis and libhv?

go-redis is written in Go and libhv in C. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.

Which should I choose, go-redis or libhv?

Choose go-redis if you want the larger community (22,285 stars) or its BSD-2-Clause licence terms. Choose libhv if its feature set, stack or BSD-3-Clause licence fits better. Both are self-hostable.