mirror of
https://github.com/valitydev/cache.git
synced 2024-11-06 01:45:19 +00:00
25 lines
440 B
Plaintext
25 lines
440 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}
|
|
]}.
|
|
|
|
%{cache, {mycache, 'cache@127.0.0.1'}}.
|
|
{local, [
|
|
{ttl, 20}
|
|
,{n, 10}
|
|
,{policy, lru}
|
|
]}.
|