Multi-Region Deployment
Deploy KnoxCall across multiple geographic regions to provide low-latency API access worldwide, meet data residency requirements, and ensure high availability.Why Multi-Region?
Performance
Reduce latency by routing requests to the nearest region:Compliance
Meet data residency and sovereignty requirements:- GDPR: EU data must stay in EU
- CCPA: California data preferences
- HIPAA: Healthcare data location requirements
High Availability
If one region goes down, traffic automatically routes to another:Planned Regions
The planned region model defines four regions:π¦πΊ New Zealand / Australia
Sydney, Australia (
nz)- NZ + Australia data residency
- Serves NZ, AU
πΊπΈ United States
Oregon, United States (
us)- Americas + Asia coverage
- Primary region
π©πͺ Europe
Frankfurt, Germany (
eu)- GDPR-aligned EU data residency
- Serves UK + EU
π Global
global- For tenants that opt out of regional pinning
- Served from any region
How It Works
Automatic Routing
Requests are automatically routed to the optimal region:Data Synchronization
Your configuration is synchronized across all regions:- Routes: Instantly synchronized
- Secrets: Replicated encrypted
- Clients: Available in all regions
- Logs: Aggregated centrally
Region Selection
Three modes for region selection:1. Automatic (Recommended)
KnoxCall automatically routes to the nearest region:2. Pinned Region
Pin a tenant to a specific region so its data is only served from that region. Region pinning is planned to be driven by the tenantβs residency configuration (theSERVER_REGION of each regional deployment plus the tenantβs assigned region), not a per-request header.
Best for: Data residency requirements
3. Per-Route Region
Configure default region per route:Setting Up Multi-Region
Step 1: Enable Multi-Region (Enterprise)
Multi-region is available on Enterprise plans:- Contact sales or support
- Enable multi-region for your tenant
- Select regions to deploy to
Step 2: Configure Routes
For each route, choose regional strategy:- Navigate to Routes β Select route
- Go to Regional Configuration tab
- Select mode:
- Save configuration
Step 3: Test Regional Routing
Test from different locations by confirming requests resolve to the expected regional endpoint:us (Oregon) deployment, while a request from an EU-based client resolves to the eu (Frankfurt) deployment, based on the tenantβs residency configuration.
Data Residency Configuration
For compliance, ensure data stays in specific regions:GDPR Compliance (EU)
US Data Residency
Multi-Regional with Restrictions
Failover & High Availability
Automatic Failover
If a region becomes unhealthy:Health Checks
KnoxCall performs continuous health checks:- Frequency: Every 10 seconds
- Threshold: 3 consecutive failures triggers failover
- Checks:
- API endpoint responsiveness
- Database connectivity
- Latency < 1000ms
- Success rate > 95%
Regional Status Page
Monitor regional health: π’ US East: Operational (99.99% uptime) π’ US West: Operational (99.98% uptime) π’ EU West: Operational (100% uptime) π’ EU Central: Operational (99.97% uptime) π’ APAC: Operational (99.99% uptime) Visit:https://status.knoxcall.com
Performance Benefits
Latency Reduction
Average API latency by region:| User Location | Single Region (US East) | Multi-Region | Improvement |
|---|---|---|---|
| New York | 20ms | 20ms | - |
| Los Angeles | 80ms | 25ms | 69% faster |
| London | 120ms | 15ms | 88% faster |
| Singapore | 250ms | 30ms | 88% faster |
| Sydney | 200ms | 50ms | 75% faster |
Global Coverage Map
Monitoring Multi-Region
Regional Metrics Dashboard
Monitor performance per region:- Request volume per region
- Average latency per region
- Error rate per region
- Failover events
Alerts
Set up regional alerts:Cost Considerations
Data Transfer
Data transfer between regions incurs costs:- Within region: Free
- Cross-region: $0.02/GB
- Pin routes to single region when possible
- Use multi-region only for global applications
Regional Pricing
Some regions have different pricing:- US Regions: Standard pricing
- EU Regions: +10% due to GDPR compliance costs
- APAC Regions: +15% due to infrastructure costs
Best Practices
1. Use Automatic Routing by Default
Unless you have specific compliance needs:2. Pin Compliance-Sensitive Routes
For GDPR, HIPAA, or other compliance:3. Test Failover
Regularly test failover:- Simulate region failure
- Verify traffic switches to backup
- Ensure data consistency
4. Monitor Regional Performance
Set up dashboards per region:- Latency trends
- Error rates
- Traffic distribution
5. Configure Appropriate Failover
Critical routes:Troubleshooting
High latency despite multi-region
Check:- DNS propagation (24-48 hours)
- Regional assignment correct
- Client using correct endpoint
Requests going to wrong region
Causes:- DNS caching
- VPN routing
- Pinned region configuration
- Clear DNS cache
- Verify the tenantβs assigned residency region
- Verify route configuration
Failover not working
Check:- Health checks enabled
- Backup region configured
- Failover policy active
Next Steps
Rate Limiting
Protect your APIs
Alerts
Monitor regional health
Security
Secure your routes
Analytics
Monitor regional performance
π Statistics
- Level: advanced
- Time: 15 minutes
π·οΈ Tags
multi-region, global, performance, compliance, high-availability