{"repo":"redis-rb/redis-cluster-client","free":true,"listed":false,"github":"https://github.com/redis-rb/redis-cluster-client","clone":"git clone https://github.com/redis-rb/redis-cluster-client.git","description":"Redis cluster-aware client for Ruby","language":"Ruby","stars":28,"topics":["redis","ruby"],"license":"MIT","category":"databases-storage","readme_excerpt":"Redis Cluster Client =============================================================================== This library is a client for Redis cluster. It depends on redis-client. So it would be better to read redis-client documents first. Background This gem underlies the official gem redis-clustering. The redis-clustering gem was decoupled from the redis gem as of v5 . Both are maintained by the repository in the official organization. The redis gem supported cluster mode since the pull request was merged until v4 . You can see more details and reasons in the issue if you are interested. Installation Initialization key type default description --- --- --- --- :nodes String or Hash or Array ['redis://127.0.0.1:6379'] node addresses for startup connection :replica Boolean false true if client should use scale read feature :replica affinity Symbol or String :random scale reading strategy, :random , random with primary or :latency are valid :fixed hostname String nil required if client should connect to single endpoint with SSL :slow command timeout Integer -1 timeout used for slow commands that fetch metadata, e.g. CLUSTER SHARDS, COMMAND :concurrency Hash { model: :none } concurrency settings, :on demand , :pooled and :none are valid models, size is a max number of workers, :none model is no concurrency, Please choose the one suited to your environment if needed. :connect with original config Boolean false true if client should retry the connection using the original endpoint that w","default_branch":null,"files":null,"tree":[],"storefront":"/r/redis-rb","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/redis-rb/redis-cluster-client/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."}