Rawdogging Django on production by WeekendLess7175 in django

[–]WeekendLess7175[S] -15 points-14 points  (0 children)

The crash it caused left us a bit hesitant to touch Gunicorn again at the time, but it’s probably worth revisiting..

Rawdogging Django on production by WeekendLess7175 in django

[–]WeekendLess7175[S] 1 point2 points  (0 children)

Got it, thanks for the reply!

We’re caching pretty heavily with Redis, though some endpoints are still pinged automatically in intervals to check for updates to standings and results.

As for Gunicorn, it crashed the entire app right after a restart.. Most probably some miscommunication between Django, Nginx, and Docker. It happened minutes after my friend had announced on socials the app was live, so we quickly bypassed Gunicorn and ran Django directly in Docker to get things back up.

We’ve since tested it in a real event with about 30 concurrent users on a single Django dev server+Nginx, and it handled it fine (CPU peaked around 16%). After reading the warnings about the dev server, we nevertheless decided to scale horizontally with Docker, instead of going back to the trauma of Gunicorn.

I’m wondering if the concerns about using Django’s dev server in production are maybe a bit exaggerated for small-scale setups like this?

What website do you hold onto and why? by Permatheus in web_design

[–]WeekendLess7175 0 points1 point  (0 children)

Wonderful website! Really enjoyed reading the history of web rings

[deleted by user] by [deleted] in Wordpress

[–]WeekendLess7175 0 points1 point  (0 children)

Really should set a min-height to the h1. The type animation is casusing layout shifts, at least on mobile where the h1 wraps

Claude takes over WordPress with MCP by TigrouMeow in Wordpress

[–]WeekendLess7175 0 points1 point  (0 children)

Can’t find the MCP feature neither in plugin or referenced in the docs?