binwiederhier

joined 2 years ago
MODERATOR OF

Thanks for the nice words. Glad you like it. Tell your friends, haha.

That's a good move IMHO. Honestly I don't want my UI to randomly shift down when new messages come in from syncing with another instance.

The right move would be to make a page that renders once and then only updates when you refresh the page. And then use web push for message notifications.

Thank you for the insight. Fascinating. Also insane that ever upvote causes a flood of messages being distributed...

[–] binwiederhier@discuss.ntfy.sh 2 points 2 years ago (1 children)

I agree.

Random ideas:

The Kademlia protocol (a DHT) has a thing that associates ownership of data to the 20 closest nodes in a P2P network. If an approach like this were used, the load would be spread across those 20 nodes. I implemented that like 15 years ago or so. It was a ton of fun.

Another, simpler approach is what you suggested, simple caching of and relaying through other nodes, though that does not answer the topology of the network. How would an instance decide where to get it's data from (a star, a tree, at random, ...)? How would it be authenticated (easy to solve)? Lots of fun problems to solve. Not fun problems though if you have a pile of other problems too though...

[–] binwiederhier@discuss.ntfy.sh 1 points 2 years ago* (last edited 2 years ago) (1 children)

Ich verwende die PWA hauptsächlich deshalb, weil Jerboa mich nicht mehr posten lässt. Die App sagt einfach immer "language_not_allowed" und löscht meinen Kommentar. Ich hab schon gegooglet, aber es nicht lösen können.

Aber mir gefällt die PWA jetzt eigentlich besser.

[–] binwiederhier@discuss.ntfy.sh 10 points 2 years ago

Progressive Web App -- In Chrome (oder Firefox Mobile) kannst du Lemmy als "App" installieren in dem du in der Adresszeile auf das "Install app" Symbol drückst. In Firefox Mobile ist es im Burger-Menü unter "Install".

Ist quasi die Webseite mit eigenem Launcher auf deinem Home Screen.

[–] binwiederhier@discuss.ntfy.sh 12 points 2 years ago (3 children)

I maintain and host ntfy.sh, an open source push notification service. I have a constant 9-12k WebSocket and HTTP stream connections going, and I host it on a two core machine with an average load average of less than 1. So I can happily tell you that it's not WebSockets. Hehe.

My money would be on the federation. Having to blast/copy every single comment to every single connected instance seems like a lot.

[–] binwiederhier@discuss.ntfy.sh 1 points 2 years ago (6 children)

Ich finde die PWA eigentlich besser als Jerboa. Nicht so buggy

Hetzner storage box, and just rsync. It takes care of snapshotting via auto snapshots. I costs like $20 for 1T I think. But there are cheaper options yoo

Awesome. Thanks for sharing.

[–] binwiederhier@discuss.ntfy.sh 5 points 2 years ago* (last edited 2 years ago)

When you submit a reply or a post, always save it to your clipboard first. Lemmy has swallowed my responses many many times. In fact, it took me about 5-6 attempts to submit this comment.

view more: ‹ prev next ›