Skip to content

Instantly share code, notes, and snippets.

@leifcr
Created August 15, 2013 07:06
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 leifcr/6238842 to your computer and use it in GitHub Desktop.
Save leifcr/6238842 to your computer and use it in GitHub Desktop.
bitcask settings for example riak cluster
{bitcask, [
{max_file_size, 268435456}, %% maximum 256 mb files
{frag_merge_trigger, 35}, %% fragmentation >= 35%
{dead_bytes_merge_trigger, 134217728}, %% dead bytes > 128 MB
{frag_threshold, 20}, %% fragmentation >= 20%
{dead_bytes_threshold, 33554432}, %% dead bytes > 32 MB
{small_file_threshold, 10485760}, %% file is < 10MB
]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment