TiloBox
Back to directory
go-redis project preview

go-redis

Redis Go client with support for Redis Cluster, Sentinel, Streams, and OpenTelemetry pipelines.

LicenseBSD-2-Clause
GitHub stars19.5k
Last commit6 days ago
Tags5 topics
Redis Cluster ClientRedis Streams GoGo Redis LibDeveloper ToolsGolang Redis Driver
Overview

Why consider go-redis?

go-redis is an open-source, type-safe Redis client for Go written by Vladimir Mihailenco. Supporting standalone instances, Redis Cluster, and Sentinel failover, go-redis features pipelining, transactions, pub/sub channels, and native OpenTelemetry tracing hooks.

Guided learning

Learn go-redis by building

Practical setup notes, real use cases, and copy-ready examples in one focused guide.

1 min read 2 sections
In this guide2 sections

Overview of go-redis

go-redis interacts with Redis Key-Value stores and pub/sub message streams in Go services.

Quickstart

bash
1go get github.com/redis/go-redis/v9
go
1import "github.com/redis/go-redis/v9"
2rdb := redis.NewClient(&redis.Options{ Addr: "localhost:6379" })
3err := rdb.Set(ctx, "session:101", "active", 0).Err()

go-redis is licensed under the BSD 2-Clause License.

Related tools

More options with a similar category or technology profile.

go-redis FAQs

go-redis is listed as a Developer Tools tool on TiloBox. Review the overview, features, and official documentation on this page to decide whether it solves your specific workflow.

Start with the project's GitHub repository and official website for supported installation and deployment instructions. Test the setup with representative data or a small project before rolling it out more widely.

go-redis is listed under the BSD-2-Clause license. Read the complete license text and the project's notices before using, modifying, or distributing the software.

Production readiness depends on your requirements. Review maintenance activity, security practices, documentation, backup and upgrade procedures, and compatibility with your stack; then validate it in a non-production environment.

go-redis is listed as an alternative to Jedis. Compare the core workflow, deployment model, integrations, and licensing against your must-have requirements before switching.