Engula is fully compatible with Valkey/Redis 7.2 configuration semantics. For most production environments, you can rely directly on the official Valkey configuration documentation and apply it without modification.
Authoritative reference: Valkey Configuration Documentation
This guide provides an overview of configuration management in Engula, including file-based and command-line configuration, runtime modification, and Engula-specific configuration parameters (reserved placeholders for future extensions).
Engula can start without a configuration file, using built-in defaults. However, for production deployments, a configuration file is strongly recommended to ensure predictable and reproducible settings.
engula.conf or redis.conf (supported interchangeably)When running multiple instances (e.g., replicas, clustered nodes), adjust the following parameters for isolation:
dirlogfileport (or bind address)replicaofrequirepassmasterauthExample launch:
Engula uses the same syntax and directive format as Valkey/Redis 7.2.
Form:
\)."\xff".For the full list of supported directives, refer to the Valkey Configuration Reference.
All configuration directives can also be passed as command-line options.
The format mirrors the configuration file, except that each keyword is prefixed by --.
Example:
Start a replica on port 6380 replicating a primary running on 127.0.0.1:6379:
Internally, Engula merges these flags with any provided configuration file into an in-memory temporary configuration, ensuring consistent treatment between CLI and file-based directives.
You can query and modify most configuration settings dynamically, as in Valkey/Redis, using:
CONFIG GET <pattern>CONFIG SET <parameter> <value>engula.conf.CONFIG REWRITE to automatically rewrite fields that differ from the current configuration.Engula can be configured as a high-performance in-memory cache, similar to Memcached.
Example (2MB maximum memory):
In this configuration:
EXPIRE.For more information about caching modes and eviction policies, see the Valkey Configuration Guide.
Engula maintains full configuration-level compatibility with Valkey/Redis 7.2:
--).CONFIG GET, CONFIG SET, and CONFIG REWRITE.When in doubt, refer to the authoritative Valkey reference documentation.
The following directives are Engula-specific placeholders, reserved for future extensions. They are not required for standard operation and have no effect unless supported by your Engula build.
| Option | Description |
|---|---|
engula.feature_toggle_foo |
Reserved for internal feature gating. |
engula.storage_engine |
Intended to select the internal storage engine backend. |
engula.compaction_tuning |
Placeholder for background compaction tuning. |
engula.observability.exporter |
Reserved for configuring metrics and log destinations. |
engula.threadpool.size |
Placeholder for customizing worker thread pool size. |
engula.security.enclave_mode |
Intended for enabling enhanced process isolation. |
engula.network.io_model |
Placeholder for selecting the network I/O driver (e.g., epoll, io_uring). |
Future documentation will specify detailed semantics, supported values, and default parameters.
CONFIG REWRITE to persist them before restarting.engula.conf as a read-only volume, andFor all non-Engula-specific configuration directives, behaviors, and defaults, consult the official Valkey documentation:
📘 Valkey Documentation – Configuration
Engula’s configuration system fully mirrors Valkey/Redis 7.2, ensuring predictable behavior and easy migration.