An open API service indexing awesome lists of open source software.

https://github.com/valkey-io/valkey-glide-ruby

A Ruby client library for Valkey
https://github.com/valkey-io/valkey-glide-ruby

Last synced: 6 months ago
JSON representation

A Ruby client library for Valkey

Awesome Lists containing this project

README

          

# Valkey

A Ruby client library for [Valkey][valkey-home] built with [Valkey Glide Core][valkey-glide-home] that tries to provide a drop in replacement for redis-rb.

## Getting started

Install with:

```
$ gem install valkey
```

You can connect to Valkey by instantiating the `Valkey` class:

```ruby
require "valkey"

valkey = Valkey.new

valkey.set("mykey", "hello world")
# => "OK"

valkey.get("mykey")
# => "hello world"
```

Checkout [the implementation status of the Valkey commands][commands-implementation-progress].

[valkey-home]: https://valkey.io
[valkey-glide-home]: https://github.com/valkey-io/valkey-glide
[commands-implementation-progress]: https://github.com/valkey-io/valkey-glide-ruby/wiki/The-implementation-status-of-the-Valkey-commands