Production server for best performance
See original GitHub issueWhich gives the best performance in production? For deploying in production we use docker. And what better use gunicorn -w or uvicorn --workers?
In uvicorn docs recommends use gunicorn (https://www.uvicorn.org/#running-with-gunicorn):
This allows you to increase or decrease the number of worker processes on the fly, restart worker processes gracefully, or perform server upgrades without downtime.
But i think it not actual when using docker.
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Building High-Performance Application Servers - TeskaLabs
A production-grade application server has to deal with the bandwidth management particularly gateway-type of servers that sit between networks with different ...
Read more >Server Performance Guide: Key Metrics and How to Optimize
This post talks about server performance metrics and how to optimize them, and addresses how monitoring helps improve server performance.
Read more >5 Ways to Improve your Production Web Application Server ...
5 Ways to Improve your Production Web Application Server Setup · Server Optimization · Backups · Logging · Conceptual · Load Balancing ·...
Read more >Performance Best Practices Using Express in Production
Use gzip compression; Don't use synchronous functions; Do logging correctly; Handle exceptions properly. Things to do in your environment / setup (the ops...
Read more >10 Best Server Monitoring Tools & Software [2022 Review]
Of all the server performance tools discussed in this article, Sematext is an all-around winner for any enterprise monitoring needs—whether for ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
For production deployments we recommend using gunicorn with the uvicorn worker class.
It’s recommended by
uvicorn
itself: https://www.uvicorn.org/deployment/#using-a-process-managerBut talking about numbers (performance), I didn’t find any comparison between those…