Sha256: 9632114170f8ba77c08007caf6c0a5e1b038be4c781ea7905d848b2881797b3c

Contents?: true

Size: 825 Bytes

Versions: 1

Compression:

Stored size: 825 Bytes

Contents

# Oxblood

An experimental Redis Ruby client.

## Usage

### Standalone

```ruby
require 'oxblood'
pool = Oxblood::Pool.new(size: 8)
pool.with { |c| c.ping }
```

### As [redis-rb](https://github.com/redis/redis-rb) driver

```ruby
[1] pry(main)> require 'redis/connection/oxblood'
=> true
[2] pry(main)> require 'redis'
=> true
# For implicit usage connection should be required before redis gem
[3] pry(main)> Redis.new.client.options[:driver]
=> Redis::Connection::Oxblood
# Explicitly
[4] pry(main)> Redis.new(driver: :oxblood).client.options[:driver]
=> Redis::Connection::Oxblood
```


## Contributing

Bug reports and pull requests are welcome on [GitHub](https://github.com/etehtsea/oxblood).


## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
oxblood-0.1.0.dev1 README.md