On this page
Overview
redis-rb is a Ruby client that maps the Redis API to an idiomatic interface, covering direct and Unix-socket connections, authentication, pools, Sentinel, Cluster, and pipelining.
Features and best fit
Based on official documentation; not hands-on tested · Content checked:
Key features
Core capabilities
Redis#call sends arbitrary commands while common commands are exposed as Ruby methods; RESP2/RESP3 and the optional hiredis-client parser are supported.
Sentinel discovery and Cluster slot routing are built in, with configurable reconnect attempts and read/write timeouts.
Sources: [1]
Best fit
Where it fits
It fits Ruby services that use Redis for caches, job state, or short-lived data and may grow from one connection to Sentinel or Cluster.
Sources: [1]
Before adoption
Official sources
- [1]redis-rb v6.0.0 README(2026-10-04)
- [2]redis-rb v6.0.0 release(2026-10-04)
- [3]redis-rb license(2026-10-04)
Supplemental curator note
It fits Ruby services that use Redis for caches, job state, or short-lived data and may grow from one connection to Sentinel or Cluster.
Try it in 3 steps
- 1
Clone 6.0.0
Pin the reviewed release.
git clone --branch v6.0.0 --depth 1 https://github.com/redis/redis-rb.git redis-rb-6 - 2
Install dependencies
Enter the working directory and use Ruby 3.2+.
cd redis-rb-6 && ruby --version && bundle install - 3
Inspect test tasks
Remain in that directory and inspect test tasks without starting Redis.
bundle exec rake -T
Growth
Growth trends · Last 30 days
4,004 Stars
Trend data is still being collected.
Development activity
Last 90 days · weekly
- Commits (last 30 days)
- 11
- Open PRs
- 4
Development activity is still being collected.
Built with
Categories and tags
Categories
Tags
GitHub data
GitHub dataView detailed GitHub data
Related information
Write a related articleShare a guide or use case for this OSS in Markdown. Articles are published after administrator approval.
Explore next
- Vagrant27,211 Stars
1 shared tag(s) · Same language
define portable development environments across providers with a Vagrantfile
Ruby - GitLab CE/EE Mirror24,554 Stars
1 shared tag(s) · Same language
inspect GitLab's large DevOps codebase through its GitHub mirror
Ruby - Devise24,354 Stars
1 shared tag(s) · Same language
compose Rails authentication workflows from modular features on top of Warden
Ruby - Ruby23,771 Stars
1 shared tag(s) · Same language
one upstream for web scripting, the CRuby VM, GC, and YJIT/ZJIT
Ruby - OpenProject16,301 Stars
1 shared tag(s) · Same language
self-host Gantt, agile planning, time tracking, wikis, and meetings in one project platform
Ruby - Spree Commerce15,739 Stars
1 shared tag(s) · Same language
self-host DTC, B2B, and marketplace commerce through REST APIs, SDKs, and modular storefronts
Ruby
Report incorrect information
Tell us if any listing information is incorrect or outdated.