{"repo":"whatyouhide/redix","free":true,"listed":false,"github":"https://github.com/whatyouhide/redix","clone":"git clone https://github.com/whatyouhide/redix.git","description":"Fast, pipelined, resilient Redis driver for Elixir. 🛍","language":"Elixir","stars":1138,"topics":["redis","redis-sentinel","redis-pubsub","redis-client","elixir","elixir-library"],"license":"MIT","category":"databases-storage","readme_excerpt":"Redix [ ][docs] Fast, pipelined, resilient Redis client for Elixir. Redix is a [Redis][redis] and [Valkey][valkey] client written in pure Elixir with focus on speed, correctness, and resiliency (that is, being able to automatically reconnect to Redis in case of network errors). This README refers to the main branch of Redix, not the latest released version on Hex. Make sure to check [the documentation][docs] for the version you're using. Features Idiomatic interface for sending commands to Redis Pipelining Resiliency (automatic reconnections) Pub/Sub SSL Redis Sentinel Installation Add the :redix dependency to your mix.exs file. If you plan on connecting to a Redis server [over SSL][docs-ssl] you may want to add the optional [ :castore ][castore] dependency as well: Then, run mix deps.get in your shell to fetch the new dependencies. Usage Redix is simple: it doesn't wrap Redis commands with Elixir functions. It only provides functions to send any Redis command to the Redis server. A Redis command is expressed as a list of strings making up the command and its arguments. Connections are started via start link/0,1,2 : Commands can be sent using Redix.command/2,3 : Pipelines are just lists of commands sent all at once to Redis for which Redis replies with a list of responses. They can be used in Redix via Redix.pipeline/2,3 : Redix.command/2,3 and Redix.pipeline/2,3 always return {:ok, result} or {:error, reason} . If you want to access the result directly and raise in case ther","default_branch":null,"files":null,"tree":[],"storefront":"/r/whatyouhide","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/whatyouhide/redix/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."}