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