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

sh.itjust.works Main Community

7730 readers
1 users here now

Home of the sh.itjust.works instance.

Matrix

founded 1 year 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!

top 23 comments
sorted by: hot top controversial new old
[–] Kalkaline@lemmy.one 18 points 1 year ago (1 children)
[–] little_hoarse@sh.itjust.works 6 points 1 year ago (1 children)

okay glad it's not just me, thanks!

[–] Sharp312@lemmy.one 13 points 1 year ago (1 children)

Found the github issue for it, apparantly its gonna be fixed soon

[–] little_hoarse@sh.itjust.works 4 points 1 year ago

amazing, thanks!

[–] Jenga@beehaw.org 10 points 1 year ago (1 children)

I assumed it happened when someone on your instance subscribed to a new community for that instance so it loads in all the posts since they are technically new. Definitely a bug

[–] frankdew@sh.itjust.works 2 points 1 year ago* (last edited 1 year ago)

Interesting take on it. Another bug that I see often is a post with like 5 comments, but when I click on "comments" I don't see any. Even mine in some cases! I'm not mad, I guess all of it will require some fine tuning to work flawlessly. Edit : I've found the problem. It the account settings I had unselected english in the languages list!

[–] RoundSparrow@sh.itjust.works 6 points 1 year ago (1 children)

Lemmy code needs some work, it was not really tested with constant activity

[–] Echolot@sh.itjust.works 1 points 1 year ago

Especially the UI seems hastily coded

[–] frankdew@sh.itjust.works 6 points 1 year ago (1 children)

I saw that too, and most of the times it's a lot of days old post in a specific community... maybe there are some problems with synch operations ? I don't know.

[–] little_hoarse@sh.itjust.works 3 points 1 year ago* (last edited 1 year ago)

hopefully this is already in their bug logs!

[–] planish@sh.itjust.works 5 points 1 year ago

Yeah stuff streams live to the client when it arrives on the server and the client is not putting it in the right place in the displayed list, just dumping it at the top.

I heard the Lemmy devs are abandoning their whole websocket-based way of having the client and server interact, so that would probably sort it out if it ever happens.

[–] Afteg@sh.itjust.works 5 points 1 year ago

Yeah honestly makes it kinda unusable when the page is constantly scrolling away from what im reading

[–] manitcor@lemmy.intai.tech 3 points 1 year ago (1 children)

its just part of how updates work, i think the burstyness is a sideeffect of the load right now.

[–] little_hoarse@sh.itjust.works 5 points 1 year ago (1 children)

i'm gunna guess it has something to do with the web socket connecting (from what i can see in the console) and not disconnecting when load is finished, so it just keeps loading whatever new content is available, instead of loading more when the user clicks reload

[–] manitcor@lemmy.intai.tech 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@sh.itjust.works 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

[–] manitcor@lemmy.intai.tech 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@sh.itjust.works 1 points 1 year ago (1 children)

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

[–] manitcor@lemmy.intai.tech 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.

[–] Norrland4ever@sh.itjust.works 2 points 1 year ago (1 children)

Borrowing the thread

Mine is empty, when I log in after a day or so I still see 2, 3 day old posts. How do I get new ones?

[–] cryball@sopuli.xyz 2 points 1 year ago* (last edited 1 year ago) (1 children)

Those are all known bugs. Apparently the active/hot etc. aren't updating properly after a server has been up for a while. Apparently the dev's are already working on fixes.

[–] Norrland4ever@sh.itjust.works 1 points 1 year ago

Alright, thanks for the info

[–] manitcor@lemmy.intai.tech 1 points 1 year ago

sync is bursty

load more comments
view more: next ›