this post was submitted on 23 Jun 2023
142 points (98.0% liked)

Lemmy

12524 readers
10 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] binwiederhier@discuss.ntfy.sh 17 points 1 year ago* (last edited 1 year ago) (2 children)

WebSockets ... causing live updates to the site which many users dislike

I appreciate all the work in this release. It's insane how much you packed into one release. Well done. I am most excited about the live updates going away. It was quite disruptive. Thanks for that.

That said, WebSockets can be implemented very efficiently. I run an open source notification service called ntfy, and the public instance ntfy.sh currently keeps 6-8k WebSocket connections and thousands more HTTP stream (long polling HTTP) open, all on a 2 core machine with 4GB of RAM. My point being that WebSockets can be implemented very efficiently. Though in Lemmy's case it's likely not necessary.

-- Another thing I wanted to notice is that I am missing mentions of security issues in the release notes. There are some tickets that sound really really really bad, like this one: https://github.com/LemmyNet/lemmy/issues/3060

Isn't that more important than anything else?

[–] dessalines@lemmy.ml 10 points 1 year ago

We're very busy but we'll get to it when we can.

[–] cmeerw@programming.dev 4 points 1 year ago

That said, WebSockets can be implemented very efficiently.

I agree, the main issue I was actually seeing with Lemmy's use of WebSockets was that when opening the main page it was continuously streaming all posts from the server (including posts in communities not subscribed to) to the browser client.