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.
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.
looks under desk and pats the Dell Optiplex server
Because Lemmy isn’t running a thousand tracking scripts, and they’re not intentionally making the mobile website barely functional to push you to an app where they can track even more.
I use infinity for reddit not the website and images take too long to load
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.
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.
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).
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.
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.
More athletic hamsters and we keep the wheel well lubricated.
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
probably hella overspecd the server vs userbase size too
properly specd by ensuring that the system could handle spikes in activity.
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.
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.
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.
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.
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.
... And also Eternity is uber cool!
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.
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.
The app is still broken. I still have it installed and it has some really annoying quirks. I use voyager and it's solid.
all 46 comments