|
| 1 | +{mode, max}. |
| 2 | + |
| 3 | +{duration, 10}. |
| 4 | +{report_interval,1}. |
| 5 | + |
| 6 | +{concurrent, 50}. |
| 7 | + |
| 8 | +{driver, basho_bench_driver_riakc_pb}. |
| 9 | + |
| 10 | +{key_generator, {int_to_bin_bigendian, {uniform_int, 10000}}}. |
| 11 | + |
| 12 | +{value_generator, {fixed_bin, 10000}}. |
| 13 | + |
| 14 | +{riakc_pb_ips, [{127,0,0,1}]}. |
| 15 | + |
| 16 | +{riakc_pb_replies, 1}. |
| 17 | + |
| 18 | +%%% {operations, [{get, 1}]}. |
| 19 | +{operations, [{get, 1}, {update, 1}]}. |
| 20 | + |
| 21 | +%% Use {auto_reconnect, false} to get "old" behavior (prior to April 2013). |
| 22 | +%% See deps/riakc/src/riakc_pb_socket.erl for all valid socket options. |
| 23 | +{pb_connect_options, [{auto_reconnect, true}]}. |
| 24 | + |
| 25 | +%% Overrides for the PB client's default 60 second timeout, on a |
| 26 | +%% per-type-of-operation basis. All timeout units are specified in |
| 27 | +%% milliseconds. The pb_timeout_general config item provides a |
| 28 | +%% default timeout if the read/write/listkeys/mapreduce timeout is not |
| 29 | +%% specified. |
| 30 | + |
| 31 | +{pb_timeout_general, 30000}. |
| 32 | +{pb_timeout_read, 5000}. |
| 33 | +{pb_timeout_write, 5000}. |
| 34 | +{pb_timeout_listkeys, 50000}. |
| 35 | +%% The general timeout will be used because this specific item is commented: |
| 36 | +%% {pb_timeout_mapreduce, 50000}. |
| 37 | + |
| 38 | + |
| 39 | +%% Remote_nodes must be in the format of [{fqdn, nodename}] |
| 40 | +%% basho_bench / distributed Erlang use longnames |
| 41 | +{remote_nodes, [{'3c075477e55e-2.local', 'bb25'}]}. |
| 42 | +{distribute_work, true}. |
0 commit comments