this post was submitted on 06 Oct 2024
178 points (94.5% liked)

Ask Lemmy

27225 readers
1333 users here now

A Fediverse community for open-ended, thought provoking questions


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 [email protected] or [email protected]. 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 [email protected]. For other questions check our partnered communities list, or use the search function.


6) No US Politics.
Please don't post about current US Politics. If you need to do this, try [email protected] or [email protected]


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 2 years ago
MODERATORS
 

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

all 46 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 2 months ago* (last edited 2 months ago)

Fewer people sucking up bandwidth on top of everything being split up across multiple servers to further lessen the load. Shoulda seen the first month or so after the APPocalypse when everyone and their mother was on Lemmy.World and it started to get hella bogged down until a few knowledgeable people pointed out that it would work better if everyone spread out to different instances.

[–] [email protected] 1 points 2 months ago
[–] [email protected] 14 points 2 months ago

Reddit's backend is absolute junk and not designed for efficiency from the ground up, they just keep throwing more servers in and solve the efficiency bottlenecks with a shitload of caching. A site whose meat and potatoes is text comments and links just shouldn't be this crap at it.

Lemmy has the benefit of hindsight in design and the fact that each server is only really responsible for a subset of all Lemmy users.

[–] [email protected] 3 points 2 months ago

No or way less obtrusive analytics.

[–] [email protected] 21 points 2 months ago* (last edited 2 months ago) (1 children)

Probably less javascript. In theory, javascript makes sites faster because it diverts processing to the user's browser. In reality, developers use it to load all sorts of frameworks, third party whatevers, and other crap that slows things down. In other words, the same reason old websites load fast.

[–] [email protected] 6 points 2 months ago

Also the reddit app is absolute steaming garbage that tries to throw ads and videos at you constantly.

So much of our software is slowed down by what's basically ad analytics, because we have to remember, the ads are the actual product here.

[–] [email protected] 4 points 2 months ago

it drinks more coffee

[–] [email protected] 4 points 2 months ago* (last edited 2 months ago)

Thank you all for the informative comments!

[–] [email protected] 24 points 2 months ago (1 children)

More athletic hamsters and we keep the wheel well lubricated.

[–] [email protected] 1 points 2 months ago

ideologically motivated hamsters too. they fucking HATE spez.

[–] [email protected] 1 points 2 months ago (1 children)

Unrelated but does Eternity correctly support Links now? (to comments / threads)

This drove me to Jerboa, but I prefer Eternity's UI so I'd be pleased to go back if that's fixed.

[–] [email protected] 3 points 2 months ago (1 children)

The app is still broken. I still have it installed and it has some really annoying quirks. I use voyager and it's solid.

[–] [email protected] 1 points 2 months ago

I tried Voyager but status bar is white in dark mode, I can't see anything

[–] [email protected] 5 points 2 months ago (1 children)

... And also Eternity is uber cool!

[–] [email protected] 2 points 2 months ago

Eternity was already based when it was a Reddit app. Hopefully it will see mbin support soon™.

[–] [email protected] 93 points 2 months ago (1 children)

looks under desk and pats the Dell Optiplex server

[–] [email protected] 15 points 2 months ago

This gave me a chuckle. Lol

[–] [email protected] 49 points 2 months ago

Reddit is running on a potato.
Lemmy is running on several distributed potatoes, with a much smaller user load per tuber (and many orders of magnitude less bots).

[–] [email protected] 18 points 2 months ago* (last edited 2 months ago)

It’s definitely instance dependent. I run the servers for my instance at the closest Hetzner data center to myself (west coast USA) for latency reduction and over-size/engineer it for better perf.

My instance is open for registration too, if anybody reading here would find that useful.

[–] [email protected] 43 points 2 months ago* (last edited 2 months ago)

old.reddit.com has always loaded quickly, except their self hosted photos and videos, which is a (relatively) new thing and has never loaded fast.

[–] [email protected] 10 points 2 months ago

There used to be reddit.com/.compact . It was lightning quick to load and browse even on load end devices because its wasn't graphics/javascript heavy. When reddit removed the ".compact" view it was the first thing that made me look for an alternative. The API changes was another.

[–] [email protected] 14 points 2 months ago

Lemmy doesn't have any code in it whose only purpose is to maximize profit (e.g. code for showing ads) but isn't necessary for functionality. Also, the decentralized nature means that any given instance has to serve only a subset of users, not all of them like reddit does.

[–] [email protected] 38 points 2 months ago (1 children)

I think this is instance dependent. Midwest.social is super slow for me frequently and times out a lot depending on the time of day.

[–] [email protected] 21 points 2 months ago

It is certainly instance dependent, as they would all be running in different servers.

[–] [email protected] 22 points 2 months ago (1 children)

You may just be connecting to a server that is much closer, there are also more smaller servers for a much smaller client based too. People who host these servers are usually in the IT community and probably hella overspecd the server vs userbase size too. Lemmy is also an open source project that has a lot of eyes to solve and fix issues

[–] [email protected] 22 points 2 months ago (1 children)

probably hella overspecd the server vs userbase size too

properly specd by ensuring that the system could handle spikes in activity.

[–] [email protected] 1 points 2 months ago

That's pretty well what I was getting at, IT peeps have a brain usually

[–] [email protected] 66 points 2 months 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).

[–] [email protected] 17 points 2 months 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.

[–] [email protected] 3 points 2 months ago

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

[–] [email protected] 23 points 2 months ago (1 children)

Eh, the code is very inefficient.

[–] [email protected] 5 points 2 months 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.

[–] [email protected] 2 points 2 months 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.

[–] [email protected] 1 points 2 months ago

That would be cool!

[–] [email protected] 159 points 2 months ago (5 children)

Probably all the ad tracking shit running in the background.

Not to mention the IPO has them cutting costs everywhere to make them look profitable.

I also wouldn't put it past them to intentionally slow down people who aren't logged in.

[–] [email protected] 1 points 2 months ago

This. Iv also noticed whenever using reddit (which i almost never do at this point) there is a big red banner at the top warning of server errors.

[–] [email protected] 1 points 2 months ago

Not to mention the IPO has them cutting costs everywhere to make them look profitable.

Can you elaborate on this? No doubt you are right, but specific examples of how cost cutting leads to (the false appearance of) profitability here would be helpful.

[–] [email protected] 2 points 2 months ago

I use infinity for reddit, not sure if ad tracking is there but images take forever to load

[–] [email protected] 50 points 2 months ago (3 children)

I'm pretty sure Reddit used to be profitable. There used to be a bar on the right-hand side that showed how far each day's Reddit Gold purchases had gone towards covering the day's server costs. When I first started using Reddit, it'd typically be about a third of the way full when it reset, but a few years after the at, it was filling up after about eight hours, suggesting they were covering the server costs three times over, which should have left plenty of money for staffing costs as they didn't have many staff back then. Eventually, they got rid of the bar. Later, they did things that would have increased costs, like hiring people to make New Reddit and the Reddit App, and hosting images and videos themselves instead of leaving it to imgur, and I guess these were enough to make them no longer profitable and force them to aim for faster growth.

[–] [email protected] 4 points 2 months ago

There used to be a bar on the right-hand side that showed how far each day's Reddit Gold purchases had gone towards covering the day's server costs.

There were always people costs too, and plenty of others. Breaking even on infrastructure doesn't stop the bleed of the venture capital. And investors do expect a return.

[–] [email protected] 13 points 2 months ago

I totally forgot about that gold meter for server costs.

I miss that Reddit.

[–] [email protected] 24 points 2 months ago

There was corpo phrasing in that...

It was amount of gold equal to server time assuming all the gold was bought.

But mods would get a shit ton to give out. And towards the end when you got gold you got "coins" as well that could be used to give gold.

Like, say I want to make "Fun Time bucks" a thing. To drive adoption I'm going to give out free fun time bucks to everyone, they spend because it's free, and people start seeing it as valid.

Reddit was pumping gold so people saw it and hopefully they bought it because they assumed everyone else was buying it. But most of it was "free" gold.

[–] [email protected] 6 points 2 months ago

I know for a fact they have wait() code in there. If you try to do anything on a thread the OP has blocked you, it takes 10s or so minimum.