Configuration
This page covers the runtime settings that affect networking, persistence, auth, replication, and operational limits.
Since version: 0.1.0; replication-related flags expanded across 0.5.x through 0.9.0.
Caveat: Some defaults are conservative because Vaylix is designed for operational state, not cache workloads.
Core paths
Section titled “Core paths”- Native and local runs default to
./default.vaylix. - Docker images override
VAYLIX_DATA_DIRto/var/lib/vaylix. VAYLIX_BACKUP_DIRdefaults under the active data directory unless overridden.
Identity and credentials
Section titled “Identity and credentials”VAYLIX_USERVAYLIX_PASSWORDVAYLIX_DISABLE_AUTH
Authentication is enabled by default. Disabling it is appropriate only for trusted local testing.
Network and TLS
Section titled “Network and TLS”VAYLIX_BINDVAYLIX_PORTVAYLIX_SSLVAYLIX_TLS_CERTVAYLIX_TLS_KEYVAYLIX_TLS_CLIENT_CA
If VAYLIX_TLS_CLIENT_CA is configured, clients must present certificates signed by that CA. There is no plaintext fallback on a TLS listener.
Persistence
Section titled “Persistence”VAYLIX_WAL_SYNCVAYLIX_WAL_SEGMENT_SIZE_BYTESVAYLIX_WAL_RETAIN_SEGMENTSVAYLIX_SNAPSHOT_INTERVAL_SECONDS
VAYLIX_WAL_SYNC is the main durability/latency tradeoff. Vaylix is intended to run with durable settings, so benchmark expectations should be set accordingly.
Replication and HA
Section titled “Replication and HA”VAYLIX_REPLICATION_ROLEVAYLIX_NODE_IDVAYLIX_REPLICATION_GROUP_IDVAYLIX_REPLICATION_ADVERTISE_ADDRVAYLIX_CLUSTER_PEERSVAYLIX_WRITE_ACK_MODEVAYLIX_REPLICATION_ACK_TIMEOUT_MS
For HA deployments, use three voting nodes in one region. majority / replica acknowledgement is the intended production mode.
Operational guards
Section titled “Operational guards”VAYLIX_MAX_CONNECTIONSVAYLIX_MAX_REQUEST_PAYLOAD_BYTESVAYLIX_MAX_KEY_BYTESVAYLIX_MAX_VALUE_BYTESVAYLIX_MAX_KEYS_PER_BATCHVAYLIX_MAX_TRANSACTION_QUEUE_LENVAYLIX_REQUESTS_PER_SECONDVAYLIX_REQUEST_BURSTVAYLIX_IDLE_TIMEOUT_SECONDS
These are backpressure and abuse-surface controls, not tuning knobs for arbitrary throughput gains.
Audit and security controls
Section titled “Audit and security controls”VAYLIX_AUDIT_LOG_PATHVAYLIX_AUDIT_COMMANDSVAYLIX_SLOW_COMMAND_THRESHOLD_MSVAYLIX_AUTH_FAILURE_WINDOW_SECONDSVAYLIX_AUTH_FAILURE_LIMITVAYLIX_AUTH_LOCKOUT_SECONDS
Lockout state is process-local. A restart clears counters, so persistent abuse throttling should also exist at the deployment boundary.