Deployment strategies
NexaTech supports three deployment strategies, selectable per-environment.
Rolling deployment
Replaces instances one at a time. Zero downtime for most workloads but in-flight requests can hit old code during the window.
strategy: rolling
max_unavailable: 25%
max_surge: 25%
Blue-green deployment
Spins up a complete parallel environment, runs health checks, then atomically shifts traffic. Instant rollback by flipping traffic back.
strategy: blue-green
health_check:
path: /api/health
threshold: 95%
window: 60s
Canary deployment
Sends a configurable percentage of traffic to the new version. Automatically promotes or rolls back based on error rate or latency thresholds.
strategy: canary
initial_weight: 5
increment: 10
interval: 5m
success_criteria:
error_rate: "< 0.1%"
p99_latency: "< 500ms"