1+ {mode, max}.
2+
3+ {duration, 2880}.
4+
5+ {report_interval, 10}.
6+
7+ {node_name, testnode1}.
8+
9+ {concurrent, 100}.
10+
11+ {driver, basho_bench_driver_nhs}.
12+
13+ %% Ignored by alwaysget and unique operations
14+ {key_generator, {eightytwenty_int, 100000000}}.
15+
16+ {value_generator, {semi_compressible, 8000, 2000, 10, 0.2}}.
17+
18+ %% For alwaysget operations what is:
19+ %% - the maximum number of keys per worker (max number of keys = this * concurrent)
20+ %% - whether the inserts should be in key_order
21+ {alwaysget, {1000000, 300000, skew_order}}.
22+ {unique, {8000, skew_order}}.
23+
24+ {pb_ips, [{127,0,0,1}]}.
25+ {http_ips, [{127,0,0,1}]}.
26+
27+ {riakc_pb_replies, 1}.
28+
29+ {operations, [{alwaysget_pb, 621}, {alwaysget_updatewith2i, 130},
30+ {put_unique, 90}, {get_unique, 130}, {delete_unique, 25},
31+ {postcodequery_http, 3}, {dobquery_http, 1}]}.
32+
33+ %
34+
35+ %% Use {auto_reconnect, false} to get "old" behavior (prior to April 2013).
36+ %% See deps/riakc/src/riakc_pb_socket.erl for all valid socket options.
37+ {pb_connect_options, [{auto_reconnect, true}]}.
38+
39+ %% Overrides for the PB client's default 60 second timeout, on a
40+ %% per-type-of-operation basis. All timeout units are specified in
41+ %% milliseconds. The pb_timeout_general config item provides a
42+ %% default timeout if the read/write/listkeys/mapreduce timeout is not
43+ %% specified.
44+
45+ {pb_timeout_general, 60000}.
46+ {pb_timeout_read, 10000}.
47+ {pb_timeout_write, 10000}.
48+ {pb_timeout_listkeys, 60000}.
49+ %% The general timeout will be used because this specific item is commented:
50+ %% {pb_timeout_mapreduce, 50000}.
0 commit comments