this post was submitted on 04 Jul 2023
31 points (97.0% liked)

Sync for Lemmy

15171 readers
1 users here now

๐Ÿ‘€


Welcome to Sync for Lemmy!

Download Sync for Lemmy


Welcome to the official Sync for Lemmy community.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Community Rules


1- No advertising or spam.

All types of advertising and spam are restricted in this community.



Community Credits

Artwork and community banner by: @MargotRobbie@lemmy.world


founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Deemo@lemmy.fmhy.ml 4 points 1 year ago (4 children)

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.

[โ€“] SuddenTrash@lemm.ee 1 points 1 year ago (2 children)

That actually sounds like a good implementation. What are technical aspects of using websockets in the background? Or is it just due to battery?

[โ€“] Deemo@lemmy.fmhy.ml 1 points 1 year ago (1 children)

Mainly battery limitations (could prevent doze and/or cause a wake lock) and possible increase in server load for instances (your device would have to maintained a persistent connection to lemmy instance).

[โ€“] SuddenTrash@lemm.ee 1 points 1 year ago

That's true, so sounds like a nice compromise that also follows the official pattern in a way.

load more comments (1 replies)