rcm

Redis Cluster Manager cluster redis
0.1.0 released
maiha/rcm.cr
45 4 1
maiha

rcm.cr Build Status

Redis Cluster Manager in Crystal

  • (still in beta stage)

Usage

nodes

% rcm -p 7001 nodes
2afb4d [127.0.0.1:7001]   master(*)   0-5460
56f195 [127.0.0.1:7004]     +slave(*)   (connected 127.0.0.1:7001)
7fc615 [127.0.0.1:7007]     +slave(*)   (connected 127.0.0.1:7001)
7f193d [127.0.0.1:7002]   master(*)   5461-10922
51fba7 [127.0.0.1:7005]     +slave(*)   (connected 127.0.0.1:7002)
053dd7 [127.0.0.1:7003]   master(*)   10923-16383
1c8f39 [127.0.0.1:7006]     +slave(*)   (connected 127.0.0.1:7003)
b80784 [127.0.0.1:7008]   master(*)
6644fc [127.0.0.1:7009]   master(*)

meet

% rcm -p 7002 meet 127.0.0.1 7001

replicate

% rcm -p 7004 replicate 2afb4d

Installation

% make
% cp bin/rcm ~/bin/

TODO

  • [ ] Dryrun
  • [ ] Check
    • [ ] Nodes health check
    • [ ] Slots coverage check
  • [ ] Debug
    • [ ] Slots filler

Contributing

  1. Fork it ( https://github.com/maiha/rcm.cr/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • maiha maiha - creator, maintainer
rcm:
  github: maiha/rcm.cr
  version: ~> 0.1.0
License MIT
Crystal none

Authors

Dependencies 2

  • crc16 0.1.0
    {'github' => 'maiha/crc16.cr', 'version' => '0.1.0'}
  • redis ~> 1.6.2
    {'github' => 'stefanwille/crystal-redis', 'version' => '~> 1.6.2'}

Development Dependencies 0

Dependents 0

Last synced .
search fire star recently