-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
IPNS notifications #5917
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
Comments
+1 very interested to know about this if it exists, or upvote the feature if not. @john-light I believe this would form a foundation for realtime chat, as well as a host of other applications, as we were just discussing... |
just one example, but by no means the best:
other ways of doing this can perform much better (rely less on high perf of routing) if we have the subscribers or the publishers do a bit more work (maintaining the table or even relaying messages) |
I think that sending notifications directly to the nodes is a bad idea because the node may be powered off when the message is sent. One possible way around this is for nodes to publish requests like they would do with files but with backlinks to the channel IPNS address. When the channel owner wants to send messages, they look for all requests that backlinks to the channel IPNS address and publish new messages (in a simlar way blocks are published) linking to the recipients. A while later, when a node wants to checks its messages, it search for all messages that link to it. |
Hi, while it is not true pub/sub in the sense that a node gets a message about a change, but rather it involves polling, morphis has dpush, which is the technology underlying morphis' dmail. It basically consists of the publication of a target key prefix which the node will regularly scan using the prefix search inherent in kademlia. it also depends on morphis' notion of updateable keys (that is documents can be updated while retaining their key). so i don't know how applicable it is to ipfs, but maybe there is enough overlap. here's some links for further details: https://morph.is/ and especially: https://morph.is/v0.8/dpush-whitepaper.odt there's also a subreddit: and an irc channel on freenode: #morphis looking forward to productive exchange between the projects :) |
IPNS would be the equivalent here. |
I am also interested in this feature: a pub/sub system, even if not really real-time, would enable a robust VFX asset usage pipeline. I'd be glad to further discuss options and possibly provide some real-world testing of ipfs in the VFX content development production pipeline. |
I was thinking the same thing.
|
👍 |
Indeed. We're a bit overloaded with things atm. if you want to speed it up, coordinate here ipfs/notes#64 |
There has been some related work done recently:
What still needs to be done is a flag for As a work-around, when publisher is running with namesys-pubsub enabled, it's possible to listen for updates, but it's a bit tricky to construct the topic:
(You need to build the Messages on this topic will be |
Latest work is here: #4462 |
I'd like to bring up that I have a use-case for this. I'm trying to workaround right now with something similar to what @magik6k posted above, but I'm a little confused by it and it doesn't seem to be a properly formatted bash command. Is there any more "modern" way to convert to the IPNS key to the pubsub topic? Does the IPFS command have any tools to do the base-conversion in it now? I see there's a multibase encoder, but I can't figure out if that helps. |
Is there a mechanism for a Node to receive events when an IPNS of interest is updated, other than polling?
Andy
The text was updated successfully, but these errors were encountered: