prerequisites.sh
. It will try to do the best thing.sudo apt-get install libboost-all-dev
sudo apt-get install log4cxx
or sudo apt-get install liblog4cxx-dev
on Ubuntu 16.04sudo apt-get install libjemalloc-dev
sudo apt-get install libmicrohttpd-dev
sudo apt-get install libapr1-dev libaprutil1-dev libaprutil1-dbd-sqlite3
sudo apt-get install libsqlite3-dev
sudo apt-get install cmake
cmake .
make -j4
prerequisites.sh
. It will try to do the best thing.sudo yum install boost boost-devel
sudo yum install log4cxx log4cxx-devel
sudo yum install jemalloc-devel
sudo yum install libmicrohttpd-devel
sudo yum install apr-devel apr-util-devel apr-util-sqlite
sudo yum install sqlite sqlite-devel
sudo yum install cmake
cmake .
make -j4
make
~/.akumulid
. This configuration file contains default settings and comments. Two main configuration parameters are path
and nvolumes
. First should contain path to directory when database files should be stored. By default akumuli stores files in ~/.akumuli
directory. You can change this to whatever you like (I'm using path=/tmp
to run tests most often). Second parameter nvolumes
should contain number of volumes that akumuli can use to store data. By default every volume is 4GB but this can be changed in configuration.--config
flag to provide alternative configuration file location for this and every other command.~/.akumuli
. This directory shouldn't be empty. (NOTE: you can delete all this files by running the following command: akumulid --delete
)~/.akumulid
). You can read parameter's descriptions in configuration file. The most important parameters are:path
- tells Akumuli where database volumes should be stored (default value is ~/.akumuli)nvolumes
- number of volumes that should be created (this parameter is only used when you run akumulid --create
command). If nvolumes
is set to 0 the storage will be expanded on demand without deleting old data.volume_size
- size of the individual volume (this parameter is only used when you run akumulid --create
command)HTTP.port
- port used by HTTP serverTCP.port
- port used by TCP serverTCP.pool_size
- number of threads that should be used to process data (should be less then number of CPUs, if you set this value to 0 the system will try to chose optimal size on start)UDP.port
- port used by UDP serverUDP.pool_size
- number of threads that should be used to process data (should be less then the number of CPUs)akumulid
as a server - just run it without parameters: