Configuration
Persistence
state: # a place to store the feature values for the ML inference and the trained model
# Local memory
# A node-local in-memory storage without any persistence.
# Feature values and the trained model is stored in-memory.
# Suitable only for local testing, as in case of a restart it will loose all the data.
type: memory
# Remote redis, with persistence.
# Saves the computed features and trained model in a Redis instance.
# You can use remote or local Redis installation.
#type: redis
#host: localhost
#port: 6369
#format: binary # optional, default=binary, possible values: json, binary
# Metarank implements several optimization strategies when using Redis: caching and pipelining
# Check https://docs.metarank.ai/reference/overview/persistence#redis-persistence for more details
#cache: # optional
# maxSize: 4096 # size of in-memory client-side cache for hot keys, optional, default=4096
# ttl: 1h # how long should key-values should be cached, optional, default=1h
#pipeline: # optional
# maxSize: 128 # batch write buffer size, optional, default=128
# flushPeriod: 1s # buffer flush interval, optional, default=1s
# enabled: true # toggle pipelining, optional, default=true
# can be also overridden from environment variables, see the
# https://docs.metarank.ai/reference/overview/persistence#redis-persistence for details
#auth: # optional
# user: <username> # optional when Redis ACL is disabled
# password: <password> # required if Redis server is run with requirepass argument
# tls: # optional, defaults to disabled
# enabled: true # optional, defaults to false
# ca: <path/to/ca.crt> # optional path to the CA used to generate the cert, defaults to the default keychain
# verify: full # optional, default=full, possible values: full, ca, off
# full - verify both certificate and hostname
# ca - verify only certificate
# off - skip verification
#timeout: # optional, defaults to 1s for all sub-timeouts
# connect: 1s # optional, defaults to 1s
# socket: 1s # optional, defaults to 1s
# command: 1s # optional, defaults to 1s
Training

Features
Models
Inference
API
Data sources
Core
Click-through joining
Anonymous usage analytics
Error logging
Last updated
Was this helpful?