Are there any Discord servers or somewhere in the Matrix to chat about hosting a Lemmy instance? I’ve got Lemmy running, but I think there are several of us in the same boat struggling with federation performance issues and it might be good to have some place to chat real time.
Ok- sorry- I 100% missed that.
I am onboard with you now.
Hopefully the upcoming 0.18 release I keep hearing about helps compensate for a few of these issues…
Quick skim through the commits on the master branch, I don’t see many changes pertaining to federation. This one looks interesting/related, but I think in itself only tells server admins when to increase worker counts: https://github.com/LemmyNet/lemmy/commit/25275b79eed0fb1fe90d27c197725f510f9965bb
Don’t know if they changed it or not-
But, I am busy making a few kubernetes manifests for deploying lemmy- and I am noticing a ton of extra debugging / logging that doesn’t need to be there for production use.
Seriously doubt it’s going to fix the issue- but, reducing some of the debugging enabled by default, wouldn’t hurt.
100% with you. A lot of the current deployment are very development centric… Let’s pretend the default
docker-compose.yml
isn’t opening up the postgres DB to the internet with a generic password…The pace the entire system must mature to enable the platform to handle the hopeful upcoming growth is… interesting, to say the least…
Well, if I can knock out a decent helm chart for these manifests, it might actually help a bit-
Most of the components can scale quite easily on k8s. The only piece I am unsure of currently, is lemmy itself.
The lemmy-ui scales. Appears mostly stateless. pictrs scales. postgres scales.
Perhaps- https://github.com/LemmyNet/activitypub-federation-rust is the place we need to be focused on.
Perhaps… The main branch commits doesn’t have much either at this time either though: https://github.com/LemmyNet/activitypub-federation-rust/commits/main
So- poking around a bit tonight, and I did find this in the main lemmy repo.
https://github.com/LemmyNet/lemmy/blob/main/docker/federation
Interesting, as it actually appears to be a testing setup for testing federation.