Deployment
Production
How to deploy and run TurboGo in production environments.
Production Setup
To run TurboGo in production environments, follow these steps:
Requirements
-
Go 1.23+ is recommended for the latest features and performance.
-
TurboGo is built on a custom engine based on fasthttp, designed for minimal allocations, high efficiency, and fast handler chaining.
Build Your App
go build -o app main.goBehind Reverse Proxy
Use a reverse proxy to handle TLS, compression, and more:
Example (Nginx):
location / {
proxy_pass http://localhost:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}Process Management
Keep your app running with:
Monitoring & Logging
Integrate with:
- Prometheus for metrics
- Grafana for dashboards
- Logging systems like Loki or Logtail