A Clojure library designed to test Raftis, a Redis protocol raft cluster implemented by Floyd.
Raftis = Raft + Redis protocol
Raftis support redis's kv interface for now. We implement the redis protocol consistent system with Floyd, a library that could be easily embeded into users' application. Raftis is just like zookeeper, etcd.
- git clone https://github.com/Qihoo360/floyd.git
- Compile Floyd and Raftis according to Floyd README and Raftis README
- Move compiled raftis to
/opt/raftis
on testing machines. - Copy raftis manager script
start_raftis
stop_raftis
clean_raftis
to testing machines'/usr/bin
directory. - Add hostname
n1 n2 n3 n4 n5
to/etc/hosts
TODO: More flexible installing.
lein run test --help
lein run test --time-limit 40 --concurrency 10 --test-count 10
Copyright © 2017 Qihoo360
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.