this post was submitted on 16 Jun 2023
17 points (100.0% liked)

Programming

13226 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS
 

I've recently been wondering if Lemmy should switch out NGINX for Caddy, while I hadn't had experience with Caddy it looks like a great & fast alternative, What do you all think?

EDIT: I meant beehaw not Lemmy as a whole

you are viewing a single comment's thread
view the rest of the comments
[–] CinnamonTheCat@beehaw.org 1 points 1 year ago (1 children)

Isn't caddy battle tested too? And looking into alternatives is not really a waste of resources. It just feels like nginx is not as reliable and likes to drop requests. It's not just a load balancer, mind you.

[–] Illecors@lemmy.cafe 2 points 1 year ago (1 children)

I am surprised you're getting dropped requests. What do the logs say?

[–] CinnamonTheCat@beehaw.org 1 points 1 year ago (1 children)

I mean not on my personal server, my personal server keeps dying all the time and I got tired of it. I haven't looked into the logs. But I meant with the recent influx of reddit users, I saw beehaw and lemmy.ml also have 500 errors.

[–] Illecors@lemmy.cafe 3 points 1 year ago (1 children)

Right. If you're getting a 500 (I suspect 502 - bad gateway) you're not dropping requests. That is lemmy itself crapping its pants. Nginx simply tells you the target behind it is doing something wrong. Happens when the lemmy software get overwhelmed.

[–] CinnamonTheCat@beehaw.org 1 points 1 year ago (1 children)

Oh, sorry I apologize I didn't know it was lemmy going dead.