getting-started.md
docs
getting-started.md
🛠️ Quick Start Guide
Ready to experience high-performance Python serving? This guide will show you how to launch your first Asteri-powered application in seconds.
Basic Usage
Run a standard WSGI application:
1 | |
Run with 4 workers and bind to multiple ports:
1 | |
Running Examples
Flask (WSGI)
Run with thread-based workers:
1 | |
FastAPI (ASGI)
Run with modern async workers:
1 | |
Production with Nginx (uWSGI)
Run Asteri in uWSGI mode (automatic detection) and use the provided example_uwsgi_nginx.conf:
1 | |
HTTP/3 (QUIC) — New in v2.2.2
Enable native HTTP/3 support with the --http-protocols flag:
1 | |
Prometheus Metrics — New in v2.2.2
Asteri exposes a /metrics endpoint automatically with no extra configuration needed:
1 | |