Production on Hyrex Cloud
Hyrex Cloud handles infrastructure, scaling, and monitoring automatically.Environment Setup
- Set Your API Key
- Configure App for Workers
Deployment
Deploy workers using Docker:Monitoring
Access production metrics at hyrex.io/cloud:- Task throughput and latency
- Worker health and utilization
- Error rates and alerts
- Queue depths and processing times
Best Practices
- Use separate API keys for dev/staging/prod
- Set num_processes based on task type
- Configure alerts in Hyrex Cloud dashboard
- Use queues to separate workload types
Production Checklist
Pre-Deployment
- Load test your tasks to determine resource needs
- Configure appropriate task timeouts
- Set up error tracking (Sentry, etc.)
- Plan queue structure for workload separation
- Document task dependencies
Deployment
- Use environment variables for configuration
- Set up secrets management
- Configure resource limits
- Enable health checks
- Set up log aggregation
Post-Deployment
- Configure monitoring dashboards
- Set up alerts for key metrics
- Create runbooks for common issues
- Schedule regular performance reviews
- Plan for capacity scaling
Scaling Strategies
Queue Design
Worker Scaling
Next Steps
- Join our Discord for production support
- Check GitHub for updates
- Contact support@hyrex.io for enterprise needs