-
Notifications
You must be signed in to change notification settings - Fork 192
Expand file tree
/
Copy pathbasho_bench.app.src
More file actions
80 lines (70 loc) · 2.05 KB
/
basho_bench.app.src
File metadata and controls
80 lines (70 loc) · 2.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{application, basho_bench,
[{description, "Riak Benchmarking Suite"},
{vsn, git},
{modules, []},
{registered, [ basho_bench_sup ]},
{applications, [kernel,
stdlib,
sasl]},
{mod, {basho_bench_app, []}},
{env, [
%% Run mode: How should basho_bench started as a separate node, or part of an
%% other node. The default is standalone, other option is included.
{app_run_mode, standalone},
%%
%% Mode of load generation:
%% max - Generate as many requests as possible per worker
%% {rate, Rate} - Exp. distributed Mean reqs/sec
%%
{mode, {rate, 5}},
%%
%% Default log level
%%
{log_level, debug},
%%
%% Base test output directory
%%
{test_dir, "tests"},
%%
%% Test duration (minutes)
%%
{duration, 5},
%%
%% Number of concurrent workers
%%
{concurrent, 3},
%%
%% Driver module for the current test
%%
{driver, basho_bench_driver_http_raw},
%%
%% Stats Sink Driver module for the current test
%% By default:
%% csv - csv file
%% riemann - riemann server
%% {stats, {csv}},
%%
%% Operations (and associated mix). Note that
%% the driver may not implement every operation.
%%
{operations, [{get, 4},
{put, 4},
{delete, 1}]},
%%
%% Interval on which to report latencies and status (seconds)
%%
{report_interval, 10},
%%
%% Key generators
%%
%% {uniform_int, N} - Choose a uniformly distributed integer between 0 and N
%%
{key_generator, {uniform_int, 100000}},
%%
%% Value generators
%%
%% {fixed_bin, N} - Fixed size binary blob of N bytes
%%
{value_generator, {fixed_bin, 100}}
]}
]}.