Last active
August 29, 2015 14:21
-
-
Save dictcp/48bdc9278f108325c718 to your computer and use it in GitHub Desktop.
Tasting Dynomite (dynamo implementation for redis) in 1 minute
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# assuming we are on Ubuntu 14.04 with docker proper installed | |
apt-get install -y build-essential dh-autoreconf git libssl-dev libtool | |
git clone https://github.com/Netflix/dynomite | |
cd dynomite | |
git checkout v0.4.0 | |
autoreconf -fvi | |
./configure | |
make -j4 | |
docker run -d -p "127.0.0.1:22122:6379" redis | |
docker run -d -p "127.0.0.1:22123:6379" redis | |
src/dynomite -c conf/redis_node1.yml -a 127.0.0.1 & | |
src/dynomite -c conf/redis_node2.yml -a 127.0.0.2 & | |
redis-benchmark -h 127.0.0.1 -p 8102 -n 1000000 -c 20 -t set -r 100000 | |
redis-benchmark -h 127.0.0.1 -p 8102 -n 1000000 -c 20 -t get -r 100000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment