Crystal shard for Tarantool with auto reconnect and connections pool
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
spec
src
.gitignore Init Nov 8, 2018
.travis.yml
LICENSE
README.md Init Nov 8, 2018
shard.lock
shard.yml Bump version Nov 12, 2018

README.md

Сord

Crystal shard for Tarantool with auto reconnect and connections pool based on original shard for Redis by kostya/redisoid but slightly adapted. Also shard uses ysbaddaden/pool and vladfaust/tarantool.cr of course.

Installation

Add this to your application's shard.yml:

dependencies:
  cord:
    github: creadone/cord

Usage

require "cord"

tarantool = Сord::Connection.new(host: "localhost", port: 6379, pool: 50)
tarantool.ping #=> 00:00:00.000159976

Tests

TODO