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

Programming

13386 readers
2 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 2 years ago
MODERATORS
17
submitted 1 year ago* (last edited 1 year ago) by CinnamonTheCat to c/programming
 

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
[–] argv_minus_one 1 points 1 year ago (2 children)

Why is nginx preferred over Apache these days? I believe nginx was originally preferred because Apache had scaling issues with its original forking concurrency model, but that was replaced a long time ago, so…why use nginx today?

[–] hadesflames@vlemmy.net 1 points 1 year ago

Apache's httpd still comes to this day preconfigured to use the awful prefork config or of the box on Ubuntu, CentOS, debían etc. A lot of people literally don't even know that there's another option but they do know that nginx is far better than prefork.

That asside, there's also still pros and cons for both nginx and mpm_event. So to simply say "why use nginx apache also has event driven server configs now" is pretty naive because it's not like one is just inherently better than the other at everything.

[–] CinnamonTheCat 1 points 1 year ago

That's why I'm entertaining the idea of an alternative in this post. Although it seems there are a lot of mixed opinions on this matter