{"repo":"redis/rueidis","free":true,"listed":false,"github":"https://github.com/redis/rueidis","clone":"git clone https://github.com/redis/rueidis.git","description":"A fast Golang Redis client that supports Client Side Caching, Auto Pipelining, RDMA, etc.","language":"Go","stars":2970,"topics":["go","golang","redis","redis-client","resp3-client","resp3","client-side-caching","generics","cache","distributed"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"rueidis A fast Golang Redis client that does auto pipelining and supports server-assisted client-side caching. Features - Auto pipelining for non-blocking redis commands - Server-assisted client-side caching - Generic Object Mapping with client-side caching - Cache-Aside pattern with client-side caching - Distributed Locks with client-side caching - Helpers for writing tests with rueidis mock - OpenTelemetry integration - Hooks and other integrations - Go-redis like API adapter by @418Coffee - Pub/Sub, Sharded Pub/Sub, Streams - Redis Cluster, Sentinel, RedisJSON, RedisBloom, RediSearch, RedisTimeseries, etc. - Probabilistic Data Structures without Redis Stack - Availability zone affinity routing --- Getting Started Check out more examples: Command Response Cheatsheet Developer Friendly Command Builder client.B() is the builder entry point to construct a redis command: \\ Recorded by @FZambia Improving Centrifugo Redis Engine throughput and allocation efficiency with Rueidis Go library Once a command is built, use either client.Do() or client.DoMulti() to send it to redis. You ❗️SHOULD NOT❗️ reuse the command to another client.Do() or client.DoMulti() call because it has been recycled to the underlying sync.Pool by default. To reuse a command, use Pin() after Build() and it will prevent the command from being recycled. Pipelining Auto Pipelining All concurrent non-blocking redis commands (such as GET , SET ) are automatically pipelined by default, which reduces the overall rou","default_branch":null,"files":null,"tree":[],"storefront":"/r/redis","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/redis/rueidis/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}