mirror of
https://github.com/valitydev/cache.git
synced 2024-11-06 01:45:19 +00:00
28 lines
499 B
Plaintext
28 lines
499 B
Plaintext
{code_paths, ["./ebin"]}.
|
|
{log_level, info}.
|
|
{report_interval, 1}.
|
|
{driver, cache_benchmark}.
|
|
|
|
%%
|
|
%% workload
|
|
{mode, max}.
|
|
{duration, 1}.
|
|
{concurrent, 10}.
|
|
{key_generator, {uniform_int, 1000000}}.
|
|
{value_generator, {fixed_bin, 1000}}.
|
|
|
|
{operations, [
|
|
{put, 5}
|
|
,{get, 5}
|
|
%,{remove, 1}
|
|
]}.
|
|
|
|
%{cache, {mycache, 'cache@127.0.0.1'}}.
|
|
{local, [
|
|
{ttl, 20}
|
|
,{n, 10}
|
|
,{policy, lru}
|
|
%,{size, 500000}
|
|
%,{memory, 400000000}
|
|
]}.
|