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).

  • Deemo@lemmy.fmhy.mlOP
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    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