![](https://beehaw.org/pictrs/image/43e4d00e-bf3e-4872-b8af-8400b85974f5.png)
![](https://beehaw.org/pictrs/image/7a17afb3-71f4-4ef1-a5ce-d2975ba46c88.png)
I’ve been doing this shit for 3 years, and yet I have issues grasping fucking lemmy src
I apologize for my harsh tone, but you can see why I’m upset that I can’t read it properly.
Rust developer looking for a job and posting stuffs.
I’ve been doing this shit for 3 years, and yet I have issues grasping fucking lemmy src
I apologize for my harsh tone, but you can see why I’m upset that I can’t read it properly.
adapter-core domain logic- port
basically you make an onion, where the core domain logic handles well, your actual logic the adapter handles requests and makes them understandable for your core part the port part is your db or anything like that, it’s usually an implementation of an interface
Isn’t that just saying that I just am not good at my job? I mean, shouldn’t I be able to just grasp it by just looking at it?
Like I want to contribute to it, but it feels so overwhelming and hard to find anything I need.
is it kinda early for them to modularize their code?
So either their issue or I’m dumb, probably the latter.
the fact that there are CRUD COMMON and API crates???
I don’t know every time I’ve tried to change a beast like that, it was hard and frustrating.
things that should not exist
Can you elaborate on this?
As in, what things shouldn’t exist?
Oh, sorry I apologize I didn’t know it was lemmy going dead.
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.
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.
It does actually, NGINX likes to drop connections when it gets overwhelmed, Caddy prefers to slow down the connection and respond when it can.
I, too, dislike NGINX configs, but mainly I think Caddy should be considered for the feature set and performance it has over nginx. While it is true that nginx is pretty performant, that is without talking about third party modules written in Lua. Cloudflare had an amazing post about it a while back where they said while nginx on its own is ok, when you add third party scripts into the mix it slows down to a craw.
Thank you for apologizing, I feel better now.
ohgod
Sorry
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
While I can’t speak for others, I’ve found NGINX to have weird issues where sometimes it just dies. And I have to manually restart the systemd service.
The configuration files are verbose, and maybe caddy would have better performance? I hadn’t investigated it much
EDIT:
Nginx lacks http3 support out of the box
In general, I’ve been doing this for like 5 or 3 years… this as in programming. Actix-web is no problem here, it’s just the architecture that seemed to stump me.
I apologize for earlier, but depression is a real bitch at times, and I can have these moments where I just… go off the rails.