How do federated notifications work? #1538
Replies: 1 comment 2 replies
-
At the protocol level, app.bsky notifications are in the AppView, and are still authoritatively pulled via a request (proxied via PDS). The trend has strongly been towards removing application and lexicon awareness from the PDS and in to appview, at least in our reference implementations, which are very focused on big-world. We recently added native push notifications for mobile platforms, which ping the mobile app and tell it that there may be new notifications to pull. It is possible that the PDS could be involved with push notifications, but they generally require tight integration with the client (app), and the appview is a natural paired service to send the push notifications, for whatever application (potentially multiple separate apps and appviews, each with separate push notification channels, for the same repo/DID). There is an idea floating around to also have a more generic/standard event stream for things like push notifications, which could work for AppView -> PDS pushes; or PDS -> Client or AppView -> Client. |
Beta Was this translation helpful? Give feedback.
-
Hi again! Do you all know how cross-PDS notifications will work yet? Eg if I'm on PDS A, and I follow or mention or repost or reply to someone on PDS B, how does PDS B find out?
I looked through all the lexicons, and the federation blog post, but didn't see anything obvious. Seems like something an AppView could do, but I don't know which method it would call on the PDS to deliver notifs. Or do you expect notifications to migrate entirely to AppViews and be served only by them in the future? That would be inconvenient, at least for me, since I'd like notifications to trigger important logic on my PDS.
Beta Was this translation helpful? Give feedback.
All reactions