I installed Riak on my development machine (32 bit Lubuntu 13.04), and ran
stress test on it using siege (http://www.joedog.org/siege-home/). The test
is just a series of concurrent HTTP requests:

file riak-benchmark.siege:

    http://127.0.0.1:8098/riak/tweets/test PUT <./sample-tweet.json

where sample-tweet.json is a file with a sample tweet from twitter.com

and this is the command that I ran using the above file:

siege -c200 -r1000 --header"Content-Type: application/json"
-friak-benchmark.siege



I did the same with CouchDB, but using this file:

http://127.0.0.1:5984/tweets POST <./sample-tweet.json


I got the numbers below. Transaction rate for CouchDB is much larger than
that for Riak. I must be doing something wrong. I have just started looking
at Riak, I have not changed any settings, except for I enabled SSL and
riak-control. I have started one node and did not configure a cluster.
Using the default back-end.

Would appreciate any advice on how to get the numbers higher.

couchdb:

Transactions:      200000 hits
Availability:      100.00 %
Elapsed time:      634.41 secs
Data transferred:       18.12 MB
Response time:        0.09 secs
Transaction rate:      315.25 trans/sec
Throughput:        0.03 MB/sec
Concurrency:       27.04
Successful transactions:      200000
Failed transactions:           0
Longest transaction:        2.48
Shortest transaction:        0.00


riak:

Transactions:      200000 hits
Availability:      100.00 %
Elapsed time:     1529.91 secs
Data transferred:        0.00 MB
Response time:        0.99 secs
Transaction rate:      130.73 trans/sec
Throughput:        0.00 MB/sec
Concurrency:      129.95
Successful transactions:      200000
Failed transactions:           0
Longest transaction:        3.90
Shortest transaction:        0.00
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to