Skip to content

Commit d73e4f8

Browse files
committed
Add clincials basho_bench
clincials environment has a different profile - add a specific basho_bench for this
1 parent 83f2260 commit d73e4f8

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{mode, max}.
2+
3+
{duration, 1440}.
4+
{report_interval, 10}.
5+
6+
{concurrent, 100}.
7+
8+
{driver, basho_bench_driver_nhs}.
9+
10+
%% Ignored by alwaysget and unique operations
11+
{key_generator, {eightytwenty_int, 100000000}}.
12+
13+
{value_generator, {semi_compressible, 80000, 20000, 2, 0.1}}.
14+
15+
%% For alwaysget operations what is:
16+
%% - the maximum number of keys per worker (max number of keys = this * concurrent)
17+
%% - whether the inserts should be in key_order, or whether the order should be skewed by a 1 byte hash at the head of the key
18+
{alwaysget, {600000, skew_order}}.
19+
20+
{pb_ips, [{127,0,0,1}]}.
21+
{http_ips, [{127,0,0,1}]}.
22+
23+
{riakc_pb_replies, 1}.
24+
25+
{operations, [{alwaysget_pb, 700}, {alwaysget_updatewith2i, 120},
26+
{put_unique, 70}, {get_unique, 110}]}.
27+
28+
%% Use {auto_reconnect, false} to get "old" behavior (prior to April 2013).
29+
%% See deps/riakc/src/riakc_pb_socket.erl for all valid socket options.
30+
{pb_connect_options, [{auto_reconnect, true}]}.
31+
32+
%% Overrides for the PB client's default 60 second timeout, on a
33+
%% per-type-of-operation basis. All timeout units are specified in
34+
%% milliseconds. The pb_timeout_general config item provides a
35+
%% default timeout if the read/write/listkeys/mapreduce timeout is not
36+
%% specified.
37+
38+
{pb_timeout_general, 60000}.
39+
{pb_timeout_read, 10000}.
40+
{pb_timeout_write, 10000}.
41+
{pb_timeout_listkeys, 60000}.
42+
%% The general timeout will be used because this specific item is commented:
43+
%% {pb_timeout_mapreduce, 50000}.

0 commit comments

Comments
 (0)