#Gunicorn

Rowland Mosbergenrowlandm@disabled.social
2025-05-15

I think I'm going to end up hosting the flask application on #Oracle #cloud free tier, because I don't feel that the amount of website hits to the flask application should crash the server.

It's a bit of a shame because now I have to remember how to do #nginx and #gunicorn on a straight VM because I think that's all that's available in the Oracle free tier.

2025-05-04

Doing some yak shaving today. I am trying to run a #lighttpd container alongside #gunicorn to serve up a #Django app with static resources, but there's no official build on Dockerhub and mostly the community ones are out of date.

So I'm setting up my own CI project to rebuild a fresh lighttpd container weekly which I can then use as a base for my web app...

2025-04-28

So #Python people what's your favourite way to check for vulnerabilities in your #PyPi supply chain?

My app lives inside a pipenv and everything's installed in that, from #Django to #gunicorn.

2025-02-20

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.

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.




A screenshot of a terminal printout after launching the docker container I just built. It looks like it is running correctly and the result from access it from a browser is what is expected.
Kushal Das :python: :tor:kushal@toots.dgplug.org
2025-02-17

How can we #profile a particular module inside of a #gunicorn #python application? Any tips? Or if we can profile the full application properly?

Have to use local tools, can not use any internet based service. Please boost for more reach.

2025-01-17

Архитектура для средненагруженных приложений: делюсь опытом и ищу ваши советы

Привет, коллеги! Меня зовут Санжар, я бэкенд-разработчик с опытом в настройке серверной инфраструктуры и контейнеризации для средних проектов. Сегодня хочу поделиться схемой архитектуры, которую я часто использую в своих проектах. Это не руководство к действию и не утверждение, что так нужно делать. Скорее, это возможность для меня получить обратную связь и узнать, как сделать лучше. Так что прошу вас, пишите свои идеи и советы в комментариях — это очень важно для меня. 🙂

habr.com/ru/articles/874414/

#nextjs #архитектура_приложений #балансировка #python #gunicorn #fastapi #data_base

2024-12-29

Holy crap I think I have #django + #gunicorn + #nginx running without warnings or errors. Woo!

🪑Dr Rockstar ♫ajaxStardust@vivaldi.net
2024-12-27

@zombiewarrior seriously, no big deal. i was thinking out loud again.

I had the #gunicorn setup on my dev server. i can't rem if that's ... it's something that lets you deploy Python apps on #NGINX. if i recall correctly

god i hate going in reverse. i suppose it's better than not going at all.

Thank you, mister!
:D

:python_logo: Code || Coffee ☕CodeAndCoffee@hachyderm.io
2024-11-04

Google was indeed clement! Thank you David Lukeš from 4 years ago!

dlukes.github.io/flask-wsgi-ur

#python #flask #wsgi #proxy #nginx #gunicorn

Quote reading: "may Google be more clement than it was to me and rank this article on the first page of its results when you hit this particular roadblock ;)"
2024-09-30

Today is the day where we officially switched to using #uWSGI instead of #Gunicorn.

After a bunch of read&try&fail&loop, it seems we have a decent uWGSI configuration that is properly managed by our custom #OpenBSD rc.d file. There shouldn’t be any service outage as uwsgi has been running via tmux for 2 weeks now :)

It seems uWSGI uses less memory that Gunicorn. And it provides information regarding Bot detection.

2024-09-28

Настройка сервера для Django. Nginx + Gunicorn

peervideo.ru/videos/watch/9216

Alex Deathway :django:alexdeathway@fosstodon.org
2024-08-19

Developed a dockerized #Django template with #PostgreSQL, #Nginx, and #Gunicorn, with automated SSL certificate issuance and renewal using #Certbot.

github.com/alexdeathway/headst

2024-08-02

Давайте сделаем крупное приложение на Flask (язык Python)

На Хабре я часто вижу статьи о реализации тех или иных фич на Python-фреймворках. Я объединил все эти фичи в реальный проект с открытым исходным кодом , чтобы у вас сложилась целостная картина. Мы с вами создадим UX/UI на Figma, напишем фронтенд на HTML, CSS, SASS, Bootstrap и JavaScript, создадим ER-диаграмму в MySQL Workbench, напишем бекэнд на Flask, создадим регистрацию через социальные сети OAuth 2.0 в один клик, используем брокер сообщений и асинхронную очередь Celery для отправки писем на электронную почту, сделаем WYSIWYG-редактор, реализуем полнотекстовый поиск Elasticsearch, закешируем Redis, покроем тестами pytest и запустим в Docker-контейнерах, поговорим о многопроцессности для WSGI-шлюза Gunicorn.

habr.com/ru/articles/833446/

#python #javascript #flask #redis #celery #elasticsearch #sqlalchemy #gunicorn #nginx #cicd

2024-07-31

Оптимизация Gunicorn для быстрых клиентов

Самая распространённая конфигурация из мануалов по настройке: gunicorn --workers 3 wsgi:app Какое количество воркеров оптимально? Считается формулой: (Количество ядер процессора)*2+1 А также, у Sync воркеров есть Gthread класс: gunicorn --workers 5 --threads 2 wsgi:app Указывая параметр тредов, воркеры автоматически становятся класса Gthread.

habr.com/ru/articles/832712/

#Nginx #Gunicorn #optimization #highload

2024-06-06

Good morning,

Thinking about moving (definitely maybe if I am convinced) from Python / Flask / Gunicorn to Go for a REST API I maintain....
Any suggestion about choosing between pure net/http, gorilla/mix and gin ?

Thanks for your insights.

#python #golang #flask #gunicorn #gorilla #gin

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst