this post was submitted on 13 Jun 2023
31 points (97.0% liked)

sh.itjust.works Main Community

7737 readers
1 users here now

Home of the sh.itjust.works instance.

Matrix

founded 2 years ago
MODERATORS
 

I have my "All" feed set to "Active" and I won't even be scrolling or reloading it, all of a sudden 500 posts start rolling in at the top of the feed!

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

yeah, if its dropping and checking every so-often you might get this, whats the overhead on keeping the socket open? I have used websockets very little.

[–] little_hoarse 2 points 1 year ago (1 children)

no idea, i only know about side effects with react, where if you are fetching something, you should close the connection after it's fetched, then re-open on component mount, unless you are going for a constantly updated type of application

[–] [email protected] 1 points 1 year ago (1 children)

i think the intent is to constant update at least for one of these tabs, this is how mastadon currently works but its less bursty.

[–] little_hoarse 1 points 1 year ago (1 children)

That seems unsustainable with more and more people joining. Especially on the "All" feed.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

im not sure what the user counts on on matadon vs lemmy, its working for them...for now. Note that over 2/3 of my traffic is coming from edge cache, these nodes, properly setup arent working as hard as it seems. The client side however.