Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

feat: pubsub over gRPC #3813

Merged
merged 4 commits into from
Aug 16, 2021
Merged

feat: pubsub over gRPC #3813

merged 4 commits into from
Aug 16, 2021

Conversation

achingbrain
Copy link
Member

Browsers can only have six concurrently open connections to a host name.

Pubsub works over HTTP by holding a connection open per subscription, which means you can only subscribe six times before things start to hang.

gRPC runs over websockets so doesn't have this limitation. This PR adds pubsub support to the gRPC server and ipfs-client module so you can subscribe to lots and lots of channels concurrently, working around the browser connection limitation.

Refs: #3741

Browsers can only have six concurrently open connections to a host name.

Pubsub works over HTTP by holding a connection open per subscription, which
means you can only subscribe six times before things start to hang.

gRPC runs over websockets so doesn't have this limitation.  This PR adds
pubsub support to the gRPC server and `ipfs-client` module so you can subscribe
to lots and lots of channels concurrently, working around the browser connection
limitation.

Refs: #3741
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

1 participant