A random person on lemmy

Banner art from Deemo switch version

  • 2 posts
  • 11 comments
Joined 3 years ago
Cake day: June 11th, 2023
  • Lemmy is actually interesting as there could be four implementations (or five if you consider none).

    • Standard instant push notifications (you get them in app and out of app)
    • Push notifications only while app is open in forground (example lemmy web ui only has notifications when tab is open)
    • Polled notifications (notifications that occur after preset interval).
    • A combination of the above three (ex: polled notifications in background push in forground)
    • No notifcations at all

    Just some thoughts

Out of curiosity will sync for lemmy have push notifications?

Was on Memmy’s discord and found an intersting problem with push notifications. Currently lemmy doesn’t have any way to send push notifiations (via api or webhooks). In Memmy’s case the dev is relying on frequent polling (say one request per min). A problem with this though is its increadibly bandwith intensive. For just 800 users there is 3gb of bandwith used for memmy’s polled notifications. If scaled to sync would mean 30 terabytes of bandwith daily (based this communities 10,000 user subscribers at a poll rate of one request a min).

  • I love wefwef/voyager. This might not be a normal feature people use but I love wefwef’s deep linking feature (on android). I have a push notification system for lemmy which detects incomming emails from lemmy and uses ntfy to send reddit sync like push notifications. In wefwefs case I can set ntfy to open voyagers inbox directly. Voyager is also nice since opening a unread message (or interacting with it) auto marks it as read (which I don’t believe other clients do for some reason, I could be wrong though).

  • I kinda wonder if sync for lemmy can use a sort of hybrid aproach. For instance when sync for lemmy is in the forground it uses websockets with the lemmy instance to get push notifications. However once the app is exited (or after a predetermined perioed of time) sync could revert back to polled notifications. This is kinda similar to how lemmy web sends push notificaitons when opened as a tab but doesn’t when closed.

Hi guys, out of curiosity when you used reddit sync did you use the notifications feature?

If so did you use push notifications from the official reddit app or polled notifications (ie sync checkes every 60min, 2hrs, etc)?

Lastly hypothetically if sync for lemmy had notifications features similar to sync for reddit would you use star/continue to use instant push notifications/polling based push notifications?

Curious on your thoughts.

  • I’d presume so based on reddit sync (monitization primarly from ads and iap). Apollo’s dev at one point made another app (primarly for killing amp links) that was paid and open sourced it, however he had issues with low effort copycats.

    https://github.com/christianselig/Amplosion

    The bright side of a closedsource app is in certain cases it can encourage faster development since the dev can work on it part/fulltime (idk how syncs revenue worked).

    To be clear the post above is my personal view (I could be completly wrong).