Skip to content
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

pubsub: Discover pubsub peers #213

Open
dariusc93 opened this issue May 11, 2024 · 0 comments
Open

pubsub: Discover pubsub peers #213

dariusc93 opened this issue May 11, 2024 · 0 comments
Labels
enhancement New feature or request p:normal Normal Priority question Further information is requested

Comments

@dariusc93
Copy link
Owner

Currently, for nodes to communicate through pubsub topic, they would have to be connected to a peer who is subscribed to the same topic, however when it comes to discovering peers who are apart of the topic, this usually requires the node manual input. We could, instead, add a feature to allow one to enable discovery for pubsub peers of a given topic (or even namespace). Through this, we could allow discovery through DHT, or some rendezvous (either the libp2p protocol or maybe a third party protocol), possibly automate it so we can enable/disable discovery if it falls below or go beyond a specific number of peers for the topic, etc.

Question:

  • Do we wish to make it compatible with kubo?
  • Should we pass a configuration option to Ipfs::pubsub_subcribe or return a struct that would allow configuring before awaiting for the stream?
@dariusc93 dariusc93 added enhancement New feature or request question Further information is requested p:normal Normal Priority labels May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request p:normal Normal Priority question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant