Home
Categories
EXPLORE
True Crime
Comedy
Society & Culture
Business
Sports
TV & Film
Technology
About Us
Contact Us
Copyright
© 2024 PodJoint
00:00 / 00:00
Sign in

or

Don't have an account?
Sign up
Forgot password
https://is1-ssl.mzstatic.com/image/thumb/Podcasts221/v4/d5/5c/87/d55c8700-ceaf-f9f2-47f9-b77841560143/mza_17377174697774825118.jpg/600x600bb.jpg
Data Science Tech Brief By HackerNoon
HackerNoon
143 episodes
6 days ago
Learn the latest data science updates in the tech world.
Show more...
Tech News
News
RSS
All content for Data Science Tech Brief By HackerNoon is the property of HackerNoon and is served directly from their servers with no modification, redirects, or rehosting. The podcast is not affiliated with or endorsed by Podjoint in any way.
Learn the latest data science updates in the tech world.
Show more...
Tech News
News
https://img.transistor.fm/KaHlFAhTkRahzKAqm3XTqSRHUMjjGDuADZmZK0_YZ3o/rs:fill:0:0:1/w:1400/h:1400/q:60/mb:500000/aHR0cHM6Ly9pbWct/dXBsb2FkLXByb2R1/Y3Rpb24udHJhbnNp/c3Rvci5mbS85ZGNm/NGFiMjIzZTkyYTYz/Yjc0NWEwNzU5NjA5/Yzg1ZS5qcGc.jpg
Why You Should (Almost) Always Choose Sync Gunicorn Workers
Data Science Tech Brief By HackerNoon
6 minutes
2 months ago
Why You Should (Almost) Always Choose Sync Gunicorn Workers

This story was originally published on HackerNoon at: https://hackernoon.com/why-you-should-almost-always-choose-sync-gunicorn-over-workers-ze9c32wj.
Anyone working on a WSGI web application frameworks like Flask would know that as a best practice it is very important to use a WSGI HTTP Server like Gunicorn to deploy the app outside your development servers.
Check more stories related to data-science at: https://hackernoon.com/c/data-science. You can also check exclusive content about #python-programming, #gevent, #gunicorn, #python-web-development, #flask, #flask-deployment, #latest-tech-stories, #what-are-gunicorn-worker-types, and more.

This story was written by: @shamik-ray. Learn more about this writer by checking @shamik-ray's about page, and for more stories, please visit hackernoon.com.

Gunicorn is a widely popular WSGI Server and its popularity is because it is lightweight, fast, simple yet can support most of the requirements you would have to host an app on production. The default worker type is Sync and I will be arguing for it. Async workers like Gevent create new greenlets (lightweight pseudo threads) Every time a new request comes they are handled by greenlets spawned by the worker threads. At the same time, the resources needed to serve the requests will be less.

Data Science Tech Brief By HackerNoon
Learn the latest data science updates in the tech world.