Deployment Strategies
Deploy with confidence. Test in production safely. Roll back instantly.Understanding Deployment in Edgit
Deployment in Edgit is just metadata. When you “deploy,” you’re creating a Git tag that points to a version:- Deployments are instant (just Git tags)
- Rollbacks are instant (update the tag)
- You can deploy different versions to different environments simultaneously
- Perfect audit trail (Git history)
Strategy 1: Traditional (Staging Production)
The safe, predictable approach.Setup
Workflow
- Simple to understand
- Clear separation of environments
- Easy to test before production
- Slower (requires testing in each environment)
- Staging might not catch all issues (different data, traffic patterns)
Strategy 2: Canary Deployments
Deploy to a small percentage of production traffic first.Setup
Workflow
Configure Traffic Splitting
In your Conductor ensemble:- Test with real production traffic
- Catches issues that staging misses
- Can roll back without affecting everyone
- More complex setup
- Need monitoring to detect issues
- Some users get different versions
Strategy 3: Blue-Green Deployment
Run two complete environments, switch instantly.Setup
Workflow
- Zero-downtime deployments
- Instant rollback (switch back to blue)
- Can test green with production-like environment
- Requires double the infrastructure
- More expensive
- Need to keep data in sync between blue/green
Strategy 4: Feature Flags / A/B Testing
Deploy multiple versions, control who gets what.Setup
Workflow
- Data-driven decisions
- Can test multiple variants
- Users get consistent experience (sticky sessions)
- Need analytics infrastructure
- Requires statistical significance
- More complex to set up
Strategy 5: Progressive Rollout
Gradually increase percentage over time.Workflow
Configure Gradual Rollout
- Can pause at any percentage
- Easy to roll back (decrease percentage)
- Gradual impact on systems
- Requires feature flag infrastructure
- More complex than binary on/off
Strategy 6: Ring Deployment
Deploy to concentric “rings” of users.Ring Structure
Workflow
- Very safe (catch issues early with small groups)
- Can get feedback from beta users
- Clear rollout plan
- Slowest approach
- Need user segmentation
- Complex configuration

