home.social

#gunicorn — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #gunicorn, aggregated by home.social.

  1. If you are using chroot for your gunicorn applications I’d like to chat about a few things.

    #chroot #django #djangochannels
    #pyconus #gunicorn

  2. Отказоустойчивый запуск WSGI приложения. Обзор архитектуры Gunicorn

    Gunicorn кажется простым, пока не сталкиваешься с эксплуатацией: внезапные ошибки 502, зависшие воркеры и странное поведение при перезапусках. За этими симптомами стоят вполне конкретные причины — от медленных клиентов и отсутствия буферизации до особенностей реализации GThread и механики Graceful Shutdown. В этой статье разберём реальные сценарии отказов, посмотрим, как менялась архитектура GThread в разных версиях Gunicorn, и соберём практичную конфигурацию с Nginx, Docker и Kubernetes, которая ведёт себя предсказуемо под нагрузкой.

    habr.com/ru/companies/domclick

    #python #gunicorn #wsgi #prefork #gthread #graceful_shutdown #keepalive #nginx #docker

  3. Отказоустойчивый запуск WSGI приложения. Обзор архитектуры Gunicorn

    Gunicorn кажется простым, пока не сталкиваешься с эксплуатацией: внезапные ошибки 502, зависшие воркеры и странное поведение при перезапусках. За этими симптомами стоят вполне конкретные причины — от медленных клиентов и отсутствия буферизации до особенностей реализации GThread и механики Graceful Shutdown. В этой статье разберём реальные сценарии отказов, посмотрим, как менялась архитектура GThread в разных версиях Gunicorn, и соберём практичную конфигурацию с Nginx, Docker и Kubernetes, которая ведёт себя предсказуемо под нагрузкой.

    habr.com/ru/companies/domclick

    #python #gunicorn #wsgi #prefork #gthread #graceful_shutdown #keepalive #nginx #docker

  4. Had a good evening with music and chat via the Doof, pottering around with some CI builds and container hosting, and fixing @bright_helpings 's laptop which had run out of disk space for some reason.

    Finally have a live Django app using gunicorn for the app code and a separate lighttpd container for the static assets.

    #gunicorn #django #lighttpd #docker #cicd

  5. 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...

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

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

    habr.com/ru/articles/874414/

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

  7. 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.

  8. Should I add the `async` keyword to my API methods that call opensearch, redis, postgres, & other microservices?

    context:
    #connexion + #starlette + #uvicorn + #gunicorn + supervisord, #python 3.12

    #asyncio

  9. Are there #Django devs out there using anything other than #Gunicorn? If so, what and why?

    Has anyone tried #Granian and seen any benefits?

    Gunicorn is perfectly fine; I'm just curious.

    github.com/emmett-framework/gr

  10. Are there devs out there using anything other than ? If so, what and why?

    Has anyone tried and seen any benefits?

    Gunicorn is perfectly fine; I'm just curious.

    github.com/emmett-framework/gr

  11. Are there #Django devs out there using anything other than #Gunicorn? If so, what and why?

    Has anyone tried #Granian and seen any benefits?

    Gunicorn is perfectly fine; I'm just curious.

    github.com/emmett-framework/gr

  12. Are there #Django devs out there using anything other than #Gunicorn? If so, what and why?

    Has anyone tried #Granian and seen any benefits?

    Gunicorn is perfectly fine; I'm just curious.

    github.com/emmett-framework/gr

  13. Are there #Django devs out there using anything other than #Gunicorn? If so, what and why?

    Has anyone tried #Granian and seen any benefits?

    Gunicorn is perfectly fine; I'm just curious.

    github.com/emmett-framework/gr

  14. @ossmkitty
    wote some excellent articles about gevent, used in gunicorn, on his blog.

    seecoresoftware.com/blog/categ

    I never did like Asyncio, but I was scared to do something differently from everyone else. But I see that gevent, is continuing to evolve, has great documentation, and makes life hugely easier for the developer, so I will be switching to it.

    I wonder why the whole Python community went with Asyncio? So painful to use.

    #python #asyncio #gevent #gunicorn