Comments (14)
Not to mention, PuSH does not prohibit the originating node to also be a hub, which is equivalent to the basic model proposed. It's only more flexible for other situations.
from tent.io.
The upcoming 0.4 spec seems to be completely compatible with the Tent protocol:
- Subscribers / publishers for the user model
- Support for arbitrary content types, not tied to RSS / Atom anymore
- Support for subscription validation, very useful for people with private profiles
Tent could base its core publish/subscribe features on PuSH and extend it by specifying the formats exchanged (user profiles, notifications, status updates, etc.).
The spec is close to a stable state and can be read at http://superfeedr-misc.s3.amazonaws.com/pubsubhubbub-core-0.4.html. Pretty sure the people at https://github.com/pubsubhubbub/PubSubHubbub would be happy to help if needed :)
from tent.io.
PuSH is so good, clean and simple. Good it doesn't require Atom. I'm looking forward to implementing these changes in my own projects. I think tent.io's goals are better met through leveraging PuSH.
from tent.io.
+1
from tent.io.
At least, a single notification for every user on the same tent provider, would be better.
The tent server have to notify each tent provider conserne by the post but only once each.
from tent.io.
Why was this issue closed apparently without any comment by the tent.io developers for their rationale?
from tent.io.
Github issue inbox bankruptcy?
from tent.io.
You know. It might help them with their scaling problems since they seem to be maintaining a queue of published posts fairly naively: https://tent.is/blog/october-1-outage via code 'fix': tent/tentd@2c57d50
Guess what a background queue for publishing is! That's PuSH but with the hub process being hosted on the same node as the publisher. Something I noted is possible with PuSH. If they want to scale further, they'll have to off-load some of the queue on to other servers... oh wait. That's the rest of PuSH. It's like somebody already thought of this.
They do something naive. We recommend something full-featured. They close the issue. Seems clear to me. The best argument is none.
from tent.io.
@danielsiders care to elaborate on reasoning? PubSubHubBub is almost perfect for Tent. The only problem is that its Atom/RSS only, but for usage within tent its easy to modify the spec in just that point for the content types.
from tent.io.
@beberlei see my comment about content types: #7 (comment)
from tent.io.
@brutasse oh thanks for pointing it out, i knew i read about PUSH 0.4 somewhere before, but couldnt remember. Awesome :)
from tent.io.
I'm not very familiar with PuSH, but reading the spec, why would the Tent protocol need to integrate it, rather than leave it as an implementation detail of how servers do pub-sub?
from tent.io.
@mwanji Part of the PuSH spec is I think about how a client subscribes and how a service delegates where the subing is handled.
from tent.io.
@alexwright In the discovery section, it says that publishers must return a Link header with rel=hub pointing to the topic URL that can be subscribed to. So it seems to me that it is up to Tent servers to provide that header and up to clients to know how to handle it, but that it is itself outside the Tent spec.
I agree with everyone else that it sounds like a nice way to scale notifications.
from tent.io.
Related Issues (20)
- Idea: allow profiles to be requested on the new_post endpoint
- How to handle attachments with identical digests on a single post
- What Content-Type to return on the attachment endpoint
- Allow the attachment endpoint to redirect to a CDN location
- Why is the attachment endpoint needed?
- Relationship post type fragment
- Posts feed pagination issue
- Use of Cache-Control can be difficult in browsers HOT 2
- Allow a "types" parameter on the mentions endpoint
- Proposal: rename app.id to app.post
- Proposal: omit urls for not supported endpoints in meta post
- Provide a Status Update HOT 3
- Notification Status
- Will tor connectivity be enforced? HOT 3
- Definition of profile sturcture HOT 2
- Finish documentation HOT 2
- Meta posts' profile.website having a duplicate option or as an array. HOT 1
- Transaction post type HOT 1
- Community Issues: How to address the barrier to entry with prospective users? HOT 10
- tent is dead! What's the reason? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tent.io.