Uvicorn
Uvicorn is a lightning-fast "ASGI" server.
It runs asynchronous Python web code in a single process.
Gunicorn
You can use Gunicorn to manage Uvicorn and run multiple of these concurrent processes.
That way, you get the best of concurrency and parallelism.
Uvicorn是单进程的ASGI server,
而Gunicorn是可以管理运行多个Uvicorn,也以达到并发与并行的最好效果。
浙公网安备 33010602011771号