Ask Lemmy
A Fediverse community for open-ended, thought provoking questions
Please don't post about US Politics. If you need to do this, try !politicaldiscussion@lemmy.world
Rules: (interactive)
1) Be nice and; have fun
Doxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them
2) All posts must end with a '?'
This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?
3) No spam
Please do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.
4) NSFW is okay, within reason
Just remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com.
NSFW comments should be restricted to posts tagged [NSFW].
5) This is not a support community.
It is not a place for 'how do I?', type questions.
If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.
Reminder: The terms of service apply here too.
Partnered Communities:
Logo design credit goes to: tubbadu
view the rest of the comments
Much smaller user base, distributed servers, modern code (versus reddit's ancient code), less enshittification in the code (reddit's various manipulative algorithms).
Eh, the code is very inefficient.
Yeah... Lemmy's code and the way it implements activity pub is not the greatest... A lack of batch operations means that every single federated like is an HTTP request of its own.
My favourite is having to send the activities sequentially, meaning you can very easily block the queue when a request fails.
And that's just the network architecture. Database architecture is another kind of hell. Like a simple delete operation taking multiple minutes because there's a multitude of triggers, some of which take very long. That in itself is not bad, but the fact that the api waits for all the operations to succeed or fail (or the more usual case, timeout) is bonkers. Either fix the db or do it in the background.
I was excited for Lemmy a year and a half ago, which quickly passed. Thinking of migrating my server to some alternative. If Sublinks launches eventually, I'm migrating in an instance, currently thinking of writing an api compatibility layer between Lemmy and Piefed to migrate without anyone noticing.
That would be cool!
It's probably down to how much random crap is being loaded along with what you're trying to see. The modern web means page load takes forever, in part because of all the random things your browser also has to pull down. Some of this content need to be loaded before you can render much of anything and some of that will result in calls to yet more random servers. Look at the network tab in your browser's dev tools to see what I'm talking about. Without an ad blocker you're probably looking at calls to 10-20 servers just to load a webpage.
The old reddit API was actually pretty snappy, in part because it didn't need a lot of this overhead. I suspect the same is true for Lemmy - no extra fluff.
And distributed over more than a thousand nerd servers :-)