-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
subscriptions: fully functioning via Pull, and Push just an additional optimization #7
Comments
I agree with this, since this is how we've grown organically with the indieweb development. It's only been recently that we've seen a bunch of people start to publish and consume PubSubHubbub to make everything more realtime. This also provides a natural progression so that the spec isn't as overwhelming to implement. You can start by publishing data, and separately, enable push for realtime delivery. |
👍 I like the incremental approach. And the Push aspect seems to be significally more difficult to specify. |
@aaronpk I just took a look at IRC log which you publish I find in it's rels: pingback and webmention but no hub or something like Updates-Via (proposed in SoLiD). The last I suggested to implement with link relation instead of HTTP header solid/solid-spec#10 & solid/solid-spec#11 @melvincarvalho In your IRC log I already find live updates subscription // Streaming logs
var pushstream = new PushStream({
host: window.location.hostname,
port: 443,
useSSL: true,
modes: "eventsource",
urlPrefixEventsource: "/irc-streaming/sub",
channelsByArgument: true,
channelsArgument: "id"
}); Maybe we could have single link relation for updates used to point to multiple endpoint: SSE (direct read-only), WebSockets (direct read-write), PubSubHubBub (indirect read-only) etc. |
I would like to propose that all explicit subscriptions need to work with Pull and Push only acts as optimization. This way subscribing party can always get updates without need to implement notification endpoint, for public content subscribing party can also choose to stay anonymous and not announce subscribing to the party acting as publisher.
This would also allow @tantek and @evanp to test basic interoperability as soon as they both can publish compatible feeds/streams and subscribe to each other via pull, as I suggested in w3c-social/social-web#1
This doesn't include mentions like interaction, since mentioned party doesn't need to stay subscribed to all the parties acting as publisher of content which includes mentions.
The text was updated successfully, but these errors were encountered: