github.com/creadone/cord

Crystal shard for Tarantool with auto reconnect and connections pool based on original shard for Redis by kostya/redisoid but slightly adapted.

4 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  cord:
    github: creadone/cord
    version: ~> 0.0.5

Then run:

shards install

shard.yml

Crystal
0.27.2
License
MIT
Authors
Konstantin Makarchev, Sergey Fedorov

Dependencies

Runtime Dependencies

  • pool*github: ysbaddaden/pool

README

С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