go-redis
go-redis copied to clipboard
Redis Go client
While migrating one of my projects to v8, I realized that there are still `context` fields left, which don't server any purpose anymore after https://github.com/go-redis/redis/pull/1493. So I propose to remove...
Part of: #1392 ### Description This PR adds read/write metrics to go-redis/redis. The following instruments were added: - The number of reads - The number of bytes written - The...
### Discussed in https://github.com/go-redis/redis/discussions/2069 Originally posted by **ray2011** April 7, 2022  Is this safe for all redis commands?
Does go-redis plan to support redis stack?
Reviving this issue: https://github.com/go-redis/redis/issues/563 `SELECT` doesn't work with clustered Redis, so it's not an appropriate replacement for key prefixing in that case.
Issue tracker is used for reporting bugs and discussing new features. Please use [stackoverflow](https://stackoverflow.com) for supporting issues. go-redis/redis version: v8.11.4 ``` sentinelOptions = &redis.FailoverOptions{ MasterName: options.SentinelMaster, SentinelUsername: options.SentinelUser, SentinelPassword: options.SentinelPass,...
According to https://redis.io/commands/expire the `EXPIRE` command can have the `NX` parameter. I can't find a command like `ExpireNX()` or a parameter for `Expire()` Am I missing something ? Thanks 🙏
We have a ElasticCache Redis cluster with cluster mode enabled. It has two shards. When we call ClusterClient.Scan(0, "{partition}*", ....), it randomly picks a node to scan instead of finding...