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

Programming

13362 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
[–] knova@links.dartboard.social 4 points 1 year ago (1 children)

If it’s not broken why change it? Are there performance benefits to switching?

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

I think there are, but there would need to be testing done, on the surface it seems to be a much simpler proxy than nginx. And doesn't use the same architecture as Nginx

[–] terebat@programming.dev 4 points 1 year ago (1 children)

Caddy is not going to fix anything, on the contrary, it consumes more ram. Generally the instances have been slowing down when swap gets hit by the db, so lowering ram usage and optimizing that should be the first priority.

[–] CinnamonTheCat@beehaw.org 1 points 1 year ago (1 children)
[–] terebat@programming.dev 2 points 1 year ago (1 children)

Sorry if I was curt! No reason to be sorry for a decent alternative.

[–] CinnamonTheCat@beehaw.org 2 points 1 year ago

Thank you for apologizing, I feel better now.

[–] supernovae@readit.buzz 2 points 1 year ago

Switching to Caddy won't change/fix anything.