JSON Schema Valkey
Properties
| Property | Type | Required | Description |
|---|---|---|---|
acl_channels_default | string | no | Determines default pub/sub channels’ ACL for new users if ACL is not supplied. When this option is not defined, all_channels is assumed to keep backward compatibility. This option doesn’t affect Valkey configuration acl-pubsub-default. Allowed values: allchannels, resetchannels. |
active_expire_effort | integer | no | Valkey reclaims expired keys both when accessed and in the background. The background process scans for expired keys to free memory. Increasing the active-expire-effort setting (default 1, max 10) uses more CPU to reclaim expired keys faster, reducing memory usage but potentially increasing latency. Min: 1. Max: 10. Default: 1. |
frequent_snapshots | boolean | no | When enabled, Valkey will create frequent local RDB snapshots. When disabled, Valkey will only take RDB snapshots when a backup is created, based on the backup schedule. This setting is ignored when valkey_persistence is set to off.Default: true. |
io_threads | integer | no | Set Valkey IO thread count. Changing this will cause a restart of the Valkey service. Min: 1. Max: 32. |
lfu_decay_time | integer | no | Min: 1. Max: 120. Default: 1. |
lfu_log_factor | integer | no | Min: 0. Max: 100. Default: 10. |
maxmemory_policy | string | no | Allowed values: noeviction, allkeys-lru, volatile-lru, allkeys-random, volatile-random, volatile-ttl, volatile-lfu, allkeys-lfu.Default: noeviction. |
notify_keyspace_events | string | no | Default: ``. Max length: 32. |
number_of_databases | integer | no | Set number of Valkey databases. Changing this will cause a restart of the Valkey service. Min: 1. Max: 128. |
persistence | string | no | When persistence is ‘rdb’, Valkey does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to backup schedule for backup purposes. When persistence is ‘off’, no RDB dumps and backups are done, so data can be lost at any moment if service is restarted for any reason, or if service is powered off. Also service can’t be forked. Allowed values: off, rdb. |
pubsub_client_output_buffer_limit | integer | no | Set output buffer limit for pub / sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan. Min: 32. Max: 512. |
ssl | boolean | no | Default: true. |
timeout | integer | no | Min: 0. Max: 3.1536e+07. Default: 300. |
Last updated on