this post was submitted on 06 Jul 2023
3 points (100.0% liked)

Memmy - An iOS client for Lemmy

147 readers
1 users here now

Download on the App Store

View on GitHub

Join the Discord

Code of Conduct

founded 1 year ago
MODERATORS
 

Hi guys quick question about memmy's push notifications. Is the backened relying on polling the lemmy api (at a call rate of one api call per second)?~~ Or is it connecting to lemmy instances via ~~websockets and relaying incoming websocket pushes?~~ (lemmy uses long polling not web sockets ๐Ÿคฆ )

https://www.pubnub.com/blog/http-long-polling/

Looking at the code I'm guessing its relying on a polling based solution (but I might be wrong).

https://github.com/Memmy-App/memmy-push/blob/1e698a8bdb5a8c7b5e96f96d328fd6235094a006/app/Providers/RouteServiceProvider.php#L5

Just curious ๐Ÿ˜‰

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here