redis

Pure-Crystal Redis client, supporting clustering, RedisJSON, RediSearch, RedisGraph, and RedisTimeSeries

MIT License

Stars
55

Bot releases are hidden (Show)

redis - v0.3.0 Latest Release

Published by jgaskins almost 3 years ago

  • Add Redis::Cluster to interact with cluster-mode Redis servers
    • Give it a URI for a single Redis server (defaulting to $REDIS_CLUSTER_URL), it will discover the rest of the cluster and automatically connect to all nodes as needed
    • Commands are routed to appropriate shards based on key names
    • Commands which do not change state are routed to shard replicas
  • Add RedisJSON support with Redis::JSON
  • Add RediSearch support with Redis::FullText
    • The FullText name was chosen because the RediSearch Redis module prefix is FT, which stands for FullText
  • Add initial RedisTimeSeries support with Redis::TimeSeries
    • This is still extremely limited, and will be improved over time
  • Add very early RedisGraph support with Redis::Graph
    • This is very much not in a production-usable state at the moment
  • Add support for UNLINK command for off-thread deletion
  • Explicitly unsubscribe from channels on close

Full Changelog: https://github.com/jgaskins/redis/compare/v0.2.0...v0.3.0

redis - v0.2.0

Published by jgaskins almost 3 years ago

Full Changelog: https://github.com/jgaskins/redis/compare/v0.1.13...v0.2.0

  • Add support for SCAN queries
  • Handle PSUBSCRIBE messages correctly
  • Added a lot of support for Redis streams
    • Added convenience structs for deserializing XREADGROUP, XPENDING, and XAUTOCLAIM responses
      • They live under the Redis::Streaming namespace, require "redis/streaming" to load them
    • Added a /examples directory which contains a minimal implementation of pub/sub via streams
redis - v0.1.4

Published by jgaskins about 4 years ago

Represent arrays with negative lengths as nil as specified in RESP v2