Deploy
Redis multi-proxy sync
Hot-reload configuration across many data-plane nodes.
Goal
Scale Proxies horizontally with consistent config.
How it works
- Control plane publishes a snapshot and bumps
ConfigVersion. - Redis publishes on
shieldgate:config:{tenantId}(and optionally…:all). - Each Proxy pulls the snapshot over the internal API and atomically swaps runtime state.
Steps
- Set
Redis:Enabled=trueand a shared connection string on Api, Worker, and all Proxies. - Use the same
DataPlane:InternalApiKeyeverywhere. - Deploy N Proxy replicas with the same
TenantId(or shard by tenant with dedicated fleets). - Publish a change; confirm every replica’s
/readyversion matches.
Verify
- Pub/sub message received (Proxy logs).
- No restart required for policy/route updates.
Pitfalls
- Without Redis, proxies still load on startup/pull but will not get live notifications.
- Split-brain keys across Redis DBs cause silent missed updates.