FeatureHub Dacha1: legacy NATS-only feature cache (use dacha2 for new installs)
100K+
Dacha (Dacha1) is FeatureHub's original "active" feature cache. It sits between the Management Repository (MR) and Edge, and holds the environments, service accounts and features Edge needs to answer SDK requests.
When it starts, Dacha1 fills its whole cache, either from another Dacha instance or from MR. This shields MR from miss traffic. The cost is slower start-up when you have many environments, and MR must be available during the fill. Dacha1 requires NATS.
New installations should use
dacha2, the lazy, CloudEvents-based cache that supports NATS, Kafka and Google Pub/Sub. It has been recommended since FeatureHub 1.5.9. See Architectural Choices for Dacha.
Full documentation: https://docs.featurehub.io
docker run --user 999:999 -e nats.urls=nats://nats:4222 featurehub/dacha:latest
| Port | Purpose |
|---|---|
8902 | Dacha API (server.port) |
8279 | Prometheus metrics and health checks (monitor.port) |
You can set any configuration property as an environment variable with the same name and case. You can also mount
/etc/app-config/application.properties and /etc/app-config/secrets.properties. See
Run configuration.
| Property | Description |
|---|---|
nats.urls | Comma-separated NATS servers. See NATS. |
cache.name | Name of the cache group (default default). |
cache.timeout | Time in ms to find and resolve a master cache (default 5000). |
cache.complete-timeout | Time in ms to wait for data after another cache becomes master (default 15000). |
cache.pool-size | Worker thread pool size (default 10). |
See Dacha1 Config and the NATS channels Dacha1 uses.
/health/liveness and /health/readiness: see Health and Liveness checks/metrics: see MonitoringLicense: Apache 2 with Commons Clause.
Content type
Image
Digest
sha256:36b4f8b2f…
Size
105.9 MB
Last updated
4 months ago
docker pull featurehub/dacha