this post was submitted on 06 Oct 2024
181 points (94.6% liked)

Ask Lemmy

26875 readers
1849 users here now

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 funDoxxing, 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 spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust 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:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 1 year ago
MODERATORS
 

I use eternity for Lemmy, no matter how trash my internet is, everything loads so fast!

you are viewing a single comment's thread
view the rest of the comments
[–] Boozilla@lemmy.world 68 points 1 month ago (2 children)

Much smaller user base, distributed servers, modern code (versus reddit's ancient code), less enshittification in the code (reddit's various manipulative algorithms).

[–] rikudou@lemmings.world 24 points 1 month ago (1 children)

Eh, the code is very inefficient.

[–] Dark_Arc@social.packetloss.gg 5 points 1 month ago (1 children)

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.

[–] rikudou@lemmings.world 2 points 1 month ago (1 children)

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.

[–] Dark_Arc@social.packetloss.gg 1 points 1 month ago

That would be cool!

[–] IMALlama@lemmy.world 17 points 1 month ago (1 children)

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.

[–] Valmond@lemmy.world 3 points 1 month ago

And distributed over more than a thousand nerd servers :-)