Skip to content

Instantly share code, notes, and snippets.

@jrwest
Created June 3, 2013 21:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jrwest/e534ebc60f6a91456d4b to your computer and use it in GitHub Desktop.
Save jrwest/e534ebc60f6a91456d4b to your computer and use it in GitHub Desktop.
{riakc_pb_ips, [
{{127,0,0,1}, 10017}
]}.
{driver, basho_bench_driver_riakc_pb}.
{riakc_pb_replies, 1}.
{riakc_pb_bucket, <<"bryanitbs">>}.
%% load
{mode, max}.
{duration, 10000}.
{concurrent, 1}.
{operations, [{put, 1}]}.
{key_generator, {int_to_str, {sequential_int, 10000}}}.
{value_generator,
{function, basho_bench_driver_riakc_pb, mapred_ordered_valgen, []}}.
{riakc_pb_ips, [
{{127,0,0,1}, 10017},
{{127,0,0,1}, 10027},
{{127,0,0,1}, [10037, 10047]}
]}.
{driver, basho_bench_driver_riakc_pb}.
{riakc_pb_replies, 1}.
{riakc_pb_bucket, <<"bryanitbs">>}.
%% test
%% for computing expected bucket sum
{riakc_pb_preloaded_keys, 10000}.
{mode, max}.
{duration, 1}.
{concurrent, 1}.
{operations, [{mr_bucket_erlang, 1}]}.
{key_generator, {int_to_str, {uniform_int, 9999}}}.
{value_generator, {fixed_bin, 1}}.
{riakc_pb_keylist_length, 1000}.
{shutdown_on_error, true}.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment