4 ms·
You don't want to use uvicorn with synchronous views though or you're limited to a single request in flight. If for some reason you need to mix sync/async view
by seabrookmx 2y ago
You don't want to use uvicorn with synchronous views though or you're limited to a single request in flight.
If for some reason you need to mix sync/async views (maybe during a migration) you can use uvicorn as a gunicorn worker type, and run multiple workers. But your async views will still scale much better.