persist_io – Persistent IO Wrapper

March 26, 2020

The persist_io module provides a non-volatile cache wrapper for any other IO wrapper. For example, one could load a file over the HTTP IO wrapper, such that if the HTTP server is down then the consumer of the file will be provided with the locally cached copy. This module is loaded automatically as required and does not need to be explicitly included.

Configuration

persist_io {
  dirmode = 0700
}

It should not be necessary to configure this module since the configuration repository functionality provides for persistent configurations that can be centrally managed. Should you need to configure the module, refer to the configuration options below:

dirmode

The octal representation of the permissions for the directory that holds the cached files. The default value is 0700.

filemode

The octal representation of the permissions for cached files. The default value is 0600.

persist_path

The path to the directory that holds the cached files. The default value is /var/log/ecelerity/persist.