Store

torero can utilize multiple different key value store for its backend database. This guide gives a high level overview of the different store options.

Configuration

The type of store you would like to use can be configured via the TORERO_STORE_BACKEND configuration variable. This variable can be set to either local, memory, or etcd.

Local

The local backend is implemented as a key/value database on disk. It writes to a single file. The default filename for the local backend is TORERO_APPLICATION_WORKING_DIR/torero.db

Memory

The memory backend is implemented as a memory resident key/value database using a hashmap.

Etcd

And etcd store can be configured along with additional connection variables to connect to an etcd storage backend. An etcd store is required when running torero with runners. For more information on configuring an etcd cluster, please see the full guide etcd guide.