LogoTurboGo
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.go

Behind 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:

  • systemd (recommended for Linux)
  • PM2 (Node.js process manager)
  • Docker container runtime

Monitoring & Logging

Integrate with: