host | The host TCP IP. | 127.0.0.1 |
port | The port to which PaperCache will listen. | 3145 |
max_size | The maximum size of the cache. | 2GiB |
policies[] | A list of configured eviction poliices. Policies are added by repeating the key with new values. The 2Q eviction policy is configured as '2Q-<K_in>-<K_out>'. The S3-FIFO eviction policy is configured as 'S3-FIFO-<|S|>'. | LFU, FIFO, CLOCK, SIEVE, LRU, MRU, 2Q-0.25-0.5, ARC, S3-FIFO-0.1 |
policy | The initial eviction policy of the cache. | auto |
max_connections | The maximum number of TCP connections the cache will accept. Any clients attempting to connect to the cache after the limit has been reached will be rejected. | 50 |
auth_token | An optional authorization token. If configured, the server will require the client to provide the token using the 'auth' command before use. If not provided, attempts to access the cache's data will be rejected. | - |