fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

8.8K
active users

#gunicorn

0 posts0 participants0 posts today
Gea-Suan Lin<p><a href="https://blog.gslin.org/archives/2025/06/23/12484/apscheduler-requests-%e9%81%87%e5%88%b0-oserror-errno-24-too-many-open-files-%e7%9a%84%e5%95%8f%e9%a1%8c/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.gslin.org/archives/2025/0</span><span class="invisible">6/23/12484/apscheduler-requests-%e9%81%87%e5%88%b0-oserror-errno-24-too-many-open-files-%e7%9a%84%e5%95%8f%e9%a1%8c/</span></a></p><p>APScheduler + requests 遇到 OSError: [Errno 24] Too many open files 的問題</p><p><a href="https://abpe.org/tags/apscheduler" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>apscheduler</span></a> <a href="https://abpe.org/tags/bug" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bug</span></a> <a href="https://abpe.org/tags/code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>code</span></a> <a href="https://abpe.org/tags/collection" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>collection</span></a> <a href="https://abpe.org/tags/flask" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>flask</span></a> <a href="https://abpe.org/tags/gc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gc</span></a> <a href="https://abpe.org/tags/gunicorn" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gunicorn</span></a> <a href="https://abpe.org/tags/pypy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pypy</span></a> <a href="https://abpe.org/tags/pypy3" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pypy3</span></a> <a href="https://abpe.org/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://abpe.org/tags/requests" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>requests</span></a> <a href="https://abpe.org/tags/source" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>source</span></a> <a href="https://abpe.org/tags/urllib" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>urllib</span></a> <a href="https://abpe.org/tags/urllib3" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>urllib3</span></a> <a href="https://abpe.org/tags/workaround" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>workaround</span></a></p>
Rowland Mosbergen<p>I think I'm going to end up hosting the flask application on <a href="https://disabled.social/tags/Oracle" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Oracle</span></a> <a href="https://disabled.social/tags/cloud" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cloud</span></a> free tier, because I don't feel that the amount of website hits to the flask application should crash the server.</p><p>It's a bit of a shame because now I have to remember how to do <a href="https://disabled.social/tags/nginx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nginx</span></a> and <a href="https://disabled.social/tags/gunicorn" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gunicorn</span></a> on a straight VM because I think that's all that's available in the Oracle free tier.</p>
diffractcolours<p>Doing some yak shaving today. I am trying to run a <a href="https://tech.lgbt/tags/lighttpd" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lighttpd</span></a> container alongside <a href="https://tech.lgbt/tags/gunicorn" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gunicorn</span></a> to serve up a <a href="https://tech.lgbt/tags/Django" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Django</span></a> app with static resources, but there's no official build on Dockerhub and mostly the community ones are out of date.</p><p>So I'm setting up my own CI project to rebuild a fresh <code>lighttpd</code> container weekly which I can then use as a base for my web app...</p>
diffractcolours<p>So <a href="https://tech.lgbt/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> people what's your favourite way to check for vulnerabilities in your <a href="https://tech.lgbt/tags/PyPi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PyPi</span></a> supply chain?</p><p>My app lives inside a <code>pipenv</code> and everything's installed in that, from <a href="https://tech.lgbt/tags/Django" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Django</span></a> to <a href="https://tech.lgbt/tags/gunicorn" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gunicorn</span></a>.</p>
Dustin<p>It seems like I've made it to the remote island of understanding or at least getting something running. I have been able to generate a docker container for the NOAA Space Weather view agent, which runs under gunicorn. I can access the graphs through my browser when the container is running locally.</p><p>My next step for understanding how things work is to figure out if/why I need to use Nginx on top of gunicorn. It seems the container is accessible fine without it.</p><p><a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a><br><a href="https://mastodon.social/tags/Docker" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Docker</span></a><br><a href="https://mastodon.social/tags/Gunicorn" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Gunicorn</span></a><br><a href="https://mastodon.social/tags/Nginx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Nginx</span></a></p>
Kushal Das :python: :tor:<p>How can we <a href="https://toots.dgplug.org/tags/profile" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>profile</span></a> a particular module inside of a <a href="https://toots.dgplug.org/tags/gunicorn" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gunicorn</span></a> <a href="https://toots.dgplug.org/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> application? Any tips? Or if we can profile the full application properly? </p><p>Have to use local tools, can not use any internet based service. Please boost for more reach.</p>
Rad Web Hosting<p>Step-by-Step Guide to Install NetBox on Ubuntu VPS<br><a href="https://mastodon.social/tags/certbot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>certbot</span></a> <a href="https://mastodon.social/tags/gunicorn" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gunicorn</span></a> <a href="https://mastodon.social/tags/installguide" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>installguide</span></a> <a href="https://mastodon.social/tags/ipaddressmanagement" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ipaddressmanagement</span></a> <a href="https://mastodon.social/tags/letsencrypt" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>letsencrypt</span></a> <a href="https://mastodon.social/tags/netbox" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>netbox</span></a> <a href="https://mastodon.social/tags/nginx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nginx</span></a> <a href="https://mastodon.social/tags/postgresql" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>postgresql</span></a> <a href="https://mastodon.social/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://mastodon.social/tags/redis" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>redis</span></a> <a href="https://mastodon.social/tags/ubuntu" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ubuntu</span></a> <a href="https://mastodon.social/tags/Cloud" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Cloud</span></a> <a href="https://mastodon.social/tags/Guides" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Guides</span></a> <a href="https://mastodon.social/tags/VPS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VPS</span></a> <br><a href="https://blog.radwebhosting.com/step-by-step-guide-to-install-netbox-on-ubuntu-vps" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.radwebhosting.com/step-by</span><span class="invisible">-step-guide-to-install-netbox-on-ubuntu-vps</span></a></p>
Habr<p>Архитектура для средненагруженных приложений: делюсь опытом и ищу ваши советы</p><p>Привет, коллеги! Меня зовут Санжар, я бэкенд-разработчик с опытом в настройке серверной инфраструктуры и контейнеризации для средних проектов. Сегодня хочу поделиться схемой архитектуры, которую я часто использую в своих проектах. Это не руководство к действию и не утверждение, что так нужно делать. Скорее, это возможность для меня получить обратную связь и узнать, как сделать лучше. Так что прошу вас, пишите свои идеи и советы в комментариях — это очень важно для меня. 🙂</p><p><a href="https://habr.com/ru/articles/874414/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">habr.com/ru/articles/874414/</span><span class="invisible"></span></a></p><p><a href="https://zhub.link/tags/nextjs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nextjs</span></a> <a href="https://zhub.link/tags/%D0%B0%D1%80%D1%85%D0%B8%D1%82%D0%B5%D0%BA%D1%82%D1%83%D1%80%D0%B0_%D0%BF%D1%80%D0%B8%D0%BB%D0%BE%D0%B6%D0%B5%D0%BD%D0%B8%D0%B9" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>архитектура_приложений</span></a> <a href="https://zhub.link/tags/%D0%B1%D0%B0%D0%BB%D0%B0%D0%BD%D1%81%D0%B8%D1%80%D0%BE%D0%B2%D0%BA%D0%B0" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>балансировка</span></a> <a href="https://zhub.link/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://zhub.link/tags/gunicorn" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gunicorn</span></a> <a href="https://zhub.link/tags/fastapi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fastapi</span></a> <a href="https://zhub.link/tags/data_base" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>data_base</span></a></p>
Gene Boggs<p>Holy crap I think I have <a href="https://fosstodon.org/tags/django" class="mention hashtag" rel="tag">#<span>django</span></a> + <a href="https://fosstodon.org/tags/gunicorn" class="mention hashtag" rel="tag">#<span>gunicorn</span></a> + <a href="https://fosstodon.org/tags/nginx" class="mention hashtag" rel="tag">#<span>nginx</span></a> running without warnings or errors. Woo!</p>
🪑Dr Rockstar ♫<p><span class="h-card" translate="no"><a href="https://social.vivaldi.net/@zombiewarrior" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>zombiewarrior</span></a></span> seriously, no big deal. i was thinking out loud again. </p><p>I had the <a href="https://social.vivaldi.net/tags/gunicorn" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gunicorn</span></a> setup on my dev server. i can't rem if that's ... it's something that lets you deploy Python apps on <a href="https://social.vivaldi.net/tags/NGINX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NGINX</span></a>. if i recall correctly</p><p>god i hate going in reverse. i suppose it's better than not going at all. </p><p>Thank you, mister!<br>:D</p>
Rad Web Hosting<p>Step-by-Step Guide to Install NetBox on Ubuntu VPS<br><a href="https://mastodon.social/tags/certbot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>certbot</span></a> <a href="https://mastodon.social/tags/gunicorn" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gunicorn</span></a> <a href="https://mastodon.social/tags/installguide" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>installguide</span></a> <a href="https://mastodon.social/tags/ipaddressmanagement" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ipaddressmanagement</span></a> <a href="https://mastodon.social/tags/letsencrypt" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>letsencrypt</span></a> <a href="https://mastodon.social/tags/netbox" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>netbox</span></a> <a href="https://mastodon.social/tags/nginx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nginx</span></a> <a href="https://mastodon.social/tags/postgresql" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>postgresql</span></a> <a href="https://mastodon.social/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://mastodon.social/tags/redis" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>redis</span></a> <a href="https://mastodon.social/tags/ubuntu" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ubuntu</span></a> <a href="https://mastodon.social/tags/Cloud" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Cloud</span></a> <a href="https://mastodon.social/tags/Guides" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Guides</span></a> <a href="https://mastodon.social/tags/VPS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VPS</span></a> <br><a href="https://blog.radwebhosting.com/step-by-step-guide-to-install-netbox-on-ubuntu-vps" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.radwebhosting.com/step-by</span><span class="invisible">-step-guide-to-install-netbox-on-ubuntu-vps</span></a></p>
Rad Web Hosting<p>Step-by-Step Guide to Install NetBox on Ubuntu VPS<br><a href="https://mastodon.social/tags/certbot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>certbot</span></a> <a href="https://mastodon.social/tags/gunicorn" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gunicorn</span></a> <a href="https://mastodon.social/tags/installguide" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>installguide</span></a> <a href="https://mastodon.social/tags/ipaddressmanagement" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ipaddressmanagement</span></a> <a href="https://mastodon.social/tags/letsencrypt" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>letsencrypt</span></a> <a href="https://mastodon.social/tags/netbox" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>netbox</span></a> <a href="https://mastodon.social/tags/nginx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nginx</span></a> <a href="https://mastodon.social/tags/postgresql" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>postgresql</span></a> <a href="https://mastodon.social/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://mastodon.social/tags/redis" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>redis</span></a> <a href="https://mastodon.social/tags/ubuntu" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ubuntu</span></a> <a href="https://mastodon.social/tags/Cloud" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Cloud</span></a> <a href="https://mastodon.social/tags/Guides" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Guides</span></a> <a href="https://mastodon.social/tags/VPS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VPS</span></a> <br><a href="https://blog.radwebhosting.com/step-by-step-guide-to-install-netbox-on-ubuntu-vps" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.radwebhosting.com/step-by</span><span class="invisible">-step-guide-to-install-netbox-on-ubuntu-vps</span></a></p>
:python_logo: Code || Coffee ☕<p>Google was indeed clement! Thank you David Lukeš from 4 years ago! </p><p><a href="https://dlukes.github.io/flask-wsgi-url-prefix.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">dlukes.github.io/flask-wsgi-ur</span><span class="invisible">l-prefix.html</span></a></p><p><a href="https://hachyderm.io/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://hachyderm.io/tags/flask" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>flask</span></a> <a href="https://hachyderm.io/tags/wsgi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>wsgi</span></a> <a href="https://hachyderm.io/tags/proxy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>proxy</span></a> <a href="https://hachyderm.io/tags/nginx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nginx</span></a> <a href="https://hachyderm.io/tags/gunicorn" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gunicorn</span></a></p>
Rad Web Hosting<p>New Post: Step-by-Step Guide to Install NetBox on Ubuntu VPS<br><a href="https://mastodon.social/tags/certbot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>certbot</span></a> <a href="https://mastodon.social/tags/gunicorn" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gunicorn</span></a> <a href="https://mastodon.social/tags/installguide" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>installguide</span></a> <a href="https://mastodon.social/tags/ipaddressmanagement" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ipaddressmanagement</span></a> <a href="https://mastodon.social/tags/letsencrypt" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>letsencrypt</span></a> <a href="https://mastodon.social/tags/netbox" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>netbox</span></a> <a href="https://mastodon.social/tags/nginx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nginx</span></a> <a href="https://mastodon.social/tags/postgresql" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>postgresql</span></a> <a href="https://mastodon.social/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://mastodon.social/tags/redis" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>redis</span></a> <a href="https://mastodon.social/tags/ubuntu" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ubuntu</span></a> <a href="https://mastodon.social/tags/Cloud" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Cloud</span></a> <a href="https://mastodon.social/tags/Guides" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Guides</span></a> <a href="https://mastodon.social/tags/VPS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VPS</span></a><br><a href="https://blog.radwebhosting.com/step-by-step-guide-to-install-netbox-on-ubuntu-vps" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.radwebhosting.com/step-by</span><span class="invisible">-step-guide-to-install-netbox-on-ubuntu-vps</span></a></p>
NoGoo.me<p>Today is the day where we officially switched to using <a href="https://gts.nogoo.me/tags/uwsgi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>uWSGI</span></a> instead of <a href="https://gts.nogoo.me/tags/gunicorn" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Gunicorn</span></a>.<br><br>After a bunch of read&amp;try&amp;fail&amp;loop, it seems we have a decent uWGSI configuration that is properly managed by our custom <a href="https://gts.nogoo.me/tags/openbsd" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenBSD</span></a> rc.d file. There shouldn’t be any service outage as uwsgi has been running via tmux for 2 weeks now :)<br><br>It seems uWSGI uses less memory that Gunicorn. And it provides information regarding Bot detection.</p>
FoxMaSk 🌵<p>Créer un environnement "tout automatique et integré " ^_^ </p><p><a href="https://framapiaf.org/tags/Django" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Django</span></a> <a href="https://framapiaf.org/tags/Nginx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Nginx</span></a> <a href="https://framapiaf.org/tags/Gunicorn" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Gunicorn</span></a> <a href="https://framapiaf.org/tags/Supervisord" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Supervisord</span></a> <a href="https://framapiaf.org/tags/Virtualenv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Virtualenv</span></a><br><a href="https://michal.karzynski.pl/blog/2013/06/09/django-nginx-gunicorn-virtualenv-supervisor/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">michal.karzynski.pl/blog/2013/</span><span class="invisible">06/09/django-nginx-gunicorn-virtualenv-supervisor/</span></a></p>
Alex Deathway :django:<p>Developed a dockerized <a href="https://fosstodon.org/tags/Django" class="mention hashtag" rel="tag">#<span>Django</span></a> template with <a href="https://fosstodon.org/tags/PostgreSQL" class="mention hashtag" rel="tag">#<span>PostgreSQL</span></a>, <a href="https://fosstodon.org/tags/Nginx" class="mention hashtag" rel="tag">#<span>Nginx</span></a>, and <a href="https://fosstodon.org/tags/Gunicorn" class="mention hashtag" rel="tag">#<span>Gunicorn</span></a>, with automated SSL certificate issuance and renewal using <a href="https://fosstodon.org/tags/Certbot" class="mention hashtag" rel="tag">#<span>Certbot</span></a>.</p><p><a href="https://github.com/alexdeathway/headstart-django" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/alexdeathway/headst</span><span class="invisible">art-django</span></a></p>
Habr<p>Давайте сделаем крупное приложение на Flask (язык Python)</p><p>На Хабре я часто вижу статьи о реализации тех или иных фич на Python-фреймворках. Я объединил все эти фичи в реальный проект с открытым исходным кодом , чтобы у вас сложилась целостная картина. Мы с вами создадим UX/UI на Figma, напишем фронтенд на HTML, CSS, SASS, Bootstrap и JavaScript, создадим ER-диаграмму в MySQL Workbench, напишем бекэнд на Flask, создадим регистрацию через социальные сети OAuth 2.0 в один клик, используем брокер сообщений и асинхронную очередь Celery для отправки писем на электронную почту, сделаем WYSIWYG-редактор, реализуем полнотекстовый поиск Elasticsearch, закешируем Redis, покроем тестами pytest и запустим в Docker-контейнерах, поговорим о многопроцессности для WSGI-шлюза Gunicorn.</p><p><a href="https://habr.com/ru/articles/833446/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">habr.com/ru/articles/833446/</span><span class="invisible"></span></a></p><p><a href="https://zhub.link/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://zhub.link/tags/javascript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>javascript</span></a> <a href="https://zhub.link/tags/flask" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>flask</span></a> <a href="https://zhub.link/tags/redis" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>redis</span></a> <a href="https://zhub.link/tags/celery" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>celery</span></a> <a href="https://zhub.link/tags/elasticsearch" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>elasticsearch</span></a> <a href="https://zhub.link/tags/sqlalchemy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sqlalchemy</span></a> <a href="https://zhub.link/tags/gunicorn" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gunicorn</span></a> <a href="https://zhub.link/tags/nginx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nginx</span></a> <a href="https://zhub.link/tags/cicd" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cicd</span></a></p>
Habr<p>Оптимизация Gunicorn для быстрых клиентов</p><p>Самая распространённая конфигурация из мануалов по настройке: gunicorn --workers 3 wsgi:app Какое количество воркеров оптимально? Считается формулой: (Количество ядер процессора)*2+1 А также, у Sync воркеров есть Gthread класс: gunicorn --workers 5 --threads 2 wsgi:app Указывая параметр тредов, воркеры автоматически становятся класса Gthread.</p><p><a href="https://habr.com/ru/articles/832712/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">habr.com/ru/articles/832712/</span><span class="invisible"></span></a></p><p><a href="https://zhub.link/tags/Nginx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Nginx</span></a> <a href="https://zhub.link/tags/Gunicorn" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Gunicorn</span></a> <a href="https://zhub.link/tags/optimization" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>optimization</span></a> <a href="https://zhub.link/tags/highload" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>highload</span></a></p>
MountITfox<p>Good morning,</p><p>Thinking about moving (definitely maybe if I am convinced) from Python / Flask / Gunicorn to Go for a REST API I maintain....<br>Any suggestion about choosing between pure net/http, gorilla/mix and gin ?</p><p>Thanks for your insights.</p><p><a href="https://social.linux.pizza/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://social.linux.pizza/tags/golang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>golang</span></a> <a href="https://social.linux.pizza/tags/flask" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>flask</span></a> <a href="https://social.linux.pizza/tags/gunicorn" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gunicorn</span></a> <a href="https://social.linux.pizza/tags/gorilla" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gorilla</span></a> <a href="https://social.linux.pizza/tags/gin" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gin</span></a></p>