this post was submitted on 07 Jun 2023
579 points (100.0% liked)

Technology

1928 readers
7 users here now

Rumors, happenings, and innovations in the technology sphere. If it's technological news, it probably belongs here.

Subcommunities on Beehaw:


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

First all the bs with Twitter and Elon, then Reddit having an exodus to Lemmy (not complaining lol), then Twitch. Are we like, in an alternate self healing dimension or something?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 33 points 2 years ago (2 children)

Note that they are cashflow negative because of expensive advertising features.

Twitter is pretty cheap to run for base functionality and if you open up dev console and see all of the resources Twitter is requesting its like 90% ad stuff and suggestions.

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

That's just bandwidth, though. What about database load? A big part of Lemmy's growing pains come from slow database queries. It doesn't take much bandwidth to send you the content, but the server has to do a lot of work to figure out which content to send you.

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

Every request is tied to some functionality. Databases and storage is laughably cheap these days.

The complex queries and all the overhead features is where the real expense is. Crafting a personal, ad-optimized timelines is what's costing Twitter the most money. The public/subscribed feeds of mastodon are incredibly efficient even on something super slow like ruby on rails.

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

Lemmy is having the same problem and doesn't have ads.

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

Does it though? This instance has thousands of users and interactions already and is running on just few dollars a month.

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

It's running on a few hundred dollars a month, if I recall correctly, and it has only about 450 users per day. (The sidebar statistics don't include a figure for peak concurrent users, unfortunately, and that's what we really need to know.)

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

Ah didnt see that increase though decentralized systems are inheritly very inefficient unfortunately

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

The issue I saw was with answering user requests for content—which post do you want to see, which community was it posted to, which comments are on that post, who wrote them, what are their vote scores, and so on. Nothing to do with decentralization. Reddit would have had the same problem, and judging from early Reddit's performance and reliability woes, it probably did have the same problem.

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

That's just bad engineering tbh.

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

Nobody's born knowing how to optimize database queries. Optimization is hard and arcane, and SQL is no exception.

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

I didn't look into this but this looks way more complicated than it should be. The query in the issue looks absolutely ridiculous tbh.

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

I think it's just the lack of line breaks. The first query, once you unroll it, looks like what you need to fetch and display a list of posts. I don't see anything extraneous in there.

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

But advertising is also where 90% of their revenue comes from- so really, given the service is "free", what is the product?

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