plebbit / plebbit-js

A Javascript API to build applications using plebbit
GNU General Public License v2.0
41 stars 7 forks source link

Multiple pubsub providers #13

Closed Rinse12 closed 1 year ago

Rinse12 commented 1 year ago

Pubsub providers are needed to publish content for web/mobile users who can't run an IPFS node. Users submit their content to a pubsub provider, and the provider will publish the content to the rest of the network using pubsub.

As of now, plebbit-js only uses a single pubsub provider, but we need to have multiple providers to have better assurances of data delivery.

The publish process for a web/mobile client should be as follows:

The subscribe process: TBD

Rinse12 commented 1 year ago

Publishing to multiple pubsub providers is implements. Although subscribing is done for provider only, we may need to revisit this later.