go-redis
go-redis copied to clipboard
Redis Go client
Redis or Redis GO does not go well with Clustered PUBSUB of Redis ## Expected Behavior Redis GO works even when using the same PUBSUB pointer to subscribe to other...
There is the possibility that there are keyless commands that can be executed on any node/slot. This should make sure that we choose the slot for the keyed commands when...
https://github.com/redis/go-redis/issues/3402
Checking the connection whenever we get a connection from the connection pool can have a great impact on performance. https://github.com/redis/go-redis/blob/391798880cfb915c4660f6c3ba63e0c1a459e2af/internal/pool/pool.go#L486-L502 I recently did a test where I wrote a simple...
计算剩余额度的时候,存在精度问题 
Hello @ndyakov , Do you agree with replacing `interface{}` with `any` in non-constraint scenarios? If approved, we can migrate all `interface{}` occurrences. (similar to the commit: https://github.com/golang/go/commit/2580d0e08d5e9f979b943758d3c49877fb2324cb#diff-eca48ce939b837cddc0194885eff25247d2ef2c481b63a667ee14fafcc0f7c7c).
When using `Ring.Pipelined()` with an unreachable Redis address and a low `DialTimeout`, no error is returned, even though none of the commands are actually sent or executed. In contrast, `Client.Pipelined()`...
Command args printer (as seen in otel `db.statement`) is obscure. even when queries are simple and human readable. this leads to problems with debugging. ## Expected Behavior query should be...
[DOC-4439](https://redislabs.atlassian.net/browse/DOC-4439) I've had to "cheat" a little bit because although go-redis supports the [`AUTH`](https://redis.io/docs/latest/commands/auth/) command, it doesn't seem to support the commands to set up the ACLs for test purposes...