You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pubsub messaging is by default a N publishers to M listeners.
When you start adding signing (ipfs/notes#236) you get a 1 publisher to N listeners configuration. (The publishing private key can be copied so it's more like +→N, but I'm going to ignore this)
I have the opposite need (N --> 1) as well:
Regular PubSub: 1→N
1 publisher publish messages for N subscribers
subscribers can read the message and verify that it comes from the publisher
Reverse PubSub: N→1
N publishers publish messages for 1 subscriber
only the subscriber can read the message
I have this need because I want to implement a file-sharing social network. I need to send some messages between users identified by a keypair. This keypair is not the node keypair, so I can't directly use ipfs p2p (ipfs/kubo#3397 (comment)). Pubsub is convenient because the recipient can simply listen to a topic named with its public key. I don't need to track which node an identity is on. There is no problem if an identity is copied on another node and run at the same time.
Has this been considered ? Surely I can implement this on top of the regular pubsub but maybe I'm not the only one with a usecase for this ? It could be implemented directly in the pubsub, be made more efficient and easier to use for someone implementing an app.
The text was updated successfully, but these errors were encountered:
Pubsub messaging is by default a N publishers to M listeners.
When you start adding signing (ipfs/notes#236) you get a 1 publisher to N listeners configuration. (The publishing private key can be copied so it's more like +→N, but I'm going to ignore this)
I have the opposite need (N --> 1) as well:
Regular PubSub: 1→N
Reverse PubSub: N→1
I have this need because I want to implement a file-sharing social network. I need to send some messages between users identified by a keypair. This keypair is not the node keypair, so I can't directly use
ipfs p2p
(ipfs/kubo#3397 (comment)). Pubsub is convenient because the recipient can simply listen to a topic named with its public key. I don't need to track which node an identity is on. There is no problem if an identity is copied on another node and run at the same time.Has this been considered ? Surely I can implement this on top of the regular pubsub but maybe I'm not the only one with a usecase for this ? It could be implemented directly in the pubsub, be made more efficient and easier to use for someone implementing an app.
The text was updated successfully, but these errors were encountered: