- Library: redis-rb
- Library version : 4.2.2
- Runtime Version: 2.7.1
- RS version: 6.0.8-32
- OSS Redis: 6.0.6
Simple | Sentinel | Cluster | |
---|---|---|---|
Y | Y | Y | |
TLS | Y | Y | Y |
- N/A : Not Available
- N/C : Not researched or checked
Main ruby library. Excellent examples. ToDo: Add hook to verify IP's manually for sentinel/cluster TLS
Install Ruby On MacOS you need root permission to install gems if when using Apple bundled ruby. It is easier to install ruby using above link.
cd ruby/redis-rb
and run bundle
to install the gem
Password is optional for all samples
ruby simple.rb host port password
ruby sentinel.rb sentinelhost sentinelport service password
ruby cluster.rb host port password
ruby simpleTLS.rb host port password
ruby sentinelTLS.rb sentinelhost sentinelport service password
ruby clusterTLS.rb host port password