Skip to content

Commit 60c3c61

Browse files
committed
Fastest & dumbest example for riak_kv_yessir_backend
1 parent 1a4ea77 commit 60c3c61

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

examples/kv_backend.config

+13-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{mode, max}.
22

3-
{duration, 5}.
3+
{duration, 1}.
44
{report_interval, 1}.
55

66
{concurrent, 16}.
@@ -16,17 +16,21 @@
1616
{value_generator, {fixed_bin, 102480}}.
1717

1818
%{be_disable_uses_r_object, true}.
19-
%{be_backend_mod, riak_kv_yessir_backend}.
20-
%{be_config, [
21-
% {yessir_aae_mode_encoding, constant_binary},
22-
% {yessir_default_size, 102480} % coordinate with value_generator!
23-
% ]}.
19+
{be_backend_mod, riak_kv_yessir_backend}.
20+
{be_config, [
21+
{yessir_return_same_r_obj, true}, % fastest & dumbest method
22+
{yessir_default_size, 102480} % coordinate with value_generator!
23+
]}.
2424

25-
{be_backend_mod, riak_kv_memory_backend}.
26-
{be_config, [ ]}.
25+
%{be_backend_mod, riak_kv_memory_backend}.
26+
%{be_config, [ ]}.
27+
28+
%{be_backend_mod, riak_kv_yesmaam_backend}.
29+
%{be_config, [ ]}.
2730

2831
%% Our ops: 75% of 'absolutely_nothing'
2932
%% 15% of 'do_something'
3033
%% 10% of 'do_something_else'
3134
%{operations, [{get, 15}, {put, 15}]}.
32-
{operations, [{put, 15}]}.
35+
%{operations, [{put, 15}]}.
36+
{operations, [{get, 15}]}.

0 commit comments

Comments
 (0)