Skip to content

Instantly share code, notes, and snippets.

@drewkerrigan
drewkerrigan / riak_moss.log
Created June 1, 2012 08:37
First Riak Moss BB Run Test
root@s01:~/basho_bench# ./basho_bench /root/riak_moss/bench/moss.config
INFO: Loaded basho_bench_driver_moss (/root/riak_moss/bench/basho_bench_driver_moss.erl)
INFO: Est. data size: 5.00 KB
INFO: Starting 250.0 ms/req fixed rate worker: <0.59.0>
DEBUG:Driver basho_bench_driver_moss crashed: {badarg,
[{io,format,
[<0.52.0>,"~s",
[{url,
"http://sl.basho.com:80/test/2",
"sl.basho.com",80,
root@s01:~/basho_bash_bench/results/cs-2-mb-60-min-2-wr-create# curl -v -w "time:%{time_total},status:%{http_code}" -k -s -H "Authorization: AWS TO4-TUG1PBVPULDERE0P:PFrn6M/GYsIbaGOAnEljE/cq/7g=" -H "Content-Type: application/octet-stream" -H "Date: Wed, 30 May 2012 15:21:40 CDT" -XPUT --proxy1.0 http://10.80.83.68:8077 http://sl.basho.com:80/test/dd41aebc50a9 -T ./files/32
curl: Can't open './files/32'!
curl: try 'curl --help' or 'curl --manual' for more information
root@s01:~/basho_bash_bench/results/cs-2-mb-60-min-2-wr-create# cd ../../
root@s01:~/basho_bash_bench# curl -v -w "time:%{time_total},status:%{http_code}" -k -s -H "Authorization: AWS TO4-TUG1PBVPULDERE0P:PFrn6M/GYsIbaGOAnEljE/cq/7g=" -H "Content-Type: application/octet-stream" -H "Date: Wed, 30 May 2012 15:21:40 CDT" -XPUT --proxy1.0 http://10.80.83.68:8077 http://sl.basho.com:80/test/dd41aebc50a9 -T ./files/32
* About to connect() to proxy 10.80.83.68 port 8077 (#0)
* Trying 10.80.83.68... connected
* Connected to 10.80.83.68 (10.80.83.68) p
results=`curl -o /dev/null -w "time: "%{time_total}" status: "%{http_code} -k -s -H "Authorization: $auth_header" -H "Content-Type: application/octet-stream" -H "Date: $header_date" -XDELETE --proxy1.0 http://10.80.83.68:8077 http://sl.basho.com:80$path -T ./files/$filenumber`
should be
results=`curl -o /dev/null -w "time: "%{time_total}" status: "%{http_code} -k -s -H "Authorization: $auth_header" -H "Content-Type: application/octet-stream" -H "Date: $header_date" -XDELETE --proxy1.0 http://10.80.83.68:8077 http://sl.basho.com:80$path`
echo $results >> stats.txt
#!/bin/bash
moss_access_key="<your_access_key>"
moss_secret_key="<your_secret_key>"
method="PUT"
endtime=$(date '+%s')
endtime=$((endtime + 1800))
nowtime=$(date '+%s')
mv stats.txt{,.bak}
result=`curl -o /dev/null -w "time: "%{time_total}" status:"%{http_code} -k -s -H "Authorization: $auth_header" -H "Content-Type: application/octet-stream" -H "Date: $header_date" -XPUT --proxy1.0 http://10.80.83.68:8077 http://sl.basho.com:80$path -T ./files/$filenumber`
echo $result >> stats.txt