-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'contrib-sargun/master' into slf-merge-s…
…argun-master
- Loading branch information
Showing
7 changed files
with
274 additions
and
47 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{mode, max}. | ||
|
||
{duration, 10}. | ||
{report_interval,1}. | ||
|
||
{concurrent, 50}. | ||
|
||
{driver, basho_bench_driver_riakc_pb}. | ||
|
||
{key_generator, {int_to_bin_bigendian, {uniform_int, 10000}}}. | ||
|
||
{value_generator, {fixed_bin, 10000}}. | ||
|
||
{riakc_pb_ips, [{127,0,0,1}]}. | ||
|
||
{riakc_pb_replies, 1}. | ||
|
||
%%% {operations, [{get, 1}]}. | ||
{operations, [{get, 1}, {update, 1}]}. | ||
|
||
%% Use {auto_reconnect, false} to get "old" behavior (prior to April 2013). | ||
%% See deps/riakc/src/riakc_pb_socket.erl for all valid socket options. | ||
{pb_connect_options, [{auto_reconnect, true}]}. | ||
|
||
%% Overrides for the PB client's default 60 second timeout, on a | ||
%% per-type-of-operation basis. All timeout units are specified in | ||
%% milliseconds. The pb_timeout_general config item provides a | ||
%% default timeout if the read/write/listkeys/mapreduce timeout is not | ||
%% specified. | ||
|
||
{pb_timeout_general, 30000}. | ||
{pb_timeout_read, 5000}. | ||
{pb_timeout_write, 5000}. | ||
{pb_timeout_listkeys, 50000}. | ||
%% The general timeout will be used because this specific item is commented: | ||
%% {pb_timeout_mapreduce, 50000}. | ||
|
||
|
||
%% Remote_nodes must be in the format of [{fqdn, nodename}] | ||
%% basho_bench / distributed Erlang use longnames | ||
{remote_nodes, [{'3c075477e55e-2.local', 'bb25'}]}. | ||
{distribute_work, true}. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ | |
|
||
{escript_incl_apps, [lager, getopt, bear, folsom, ibrowse, riakc, riak_pb, mochiweb, protobuffs, velvet, goldrush]}. | ||
|
||
{escript_emu_args, "%%! +K true\n"}. | ||
{escript_emu_args, "%%! +K true -rsh ssh\n"}. | ||
%% Use this for the Java client bench driver | ||
%% {escript_emu_args, "%%! +K true -name [email protected] -setcookie YOUR_ERLANG_COOKIE\n"}. | ||
{escript_emu_args, "%%! +K true -name [email protected] -setcookie YOUR_ERLANG_COOKIE\n"}. | ||
{escript_emu_args, "%%! +K true -name [email protected] -setcookie YOUR_ERLANG_COOKIE -rsh ssh\n"}. |
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
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
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
Oops, something went wrong.