Skip to content

Specializing Websocket connections between "read-only" (subscribe) vS "write-only" (publish) #2760

Answered by derekcollison
dsidirop asked this question in Q&A
Discussion options

You must be logged in to vote

Similar to TCP, websockets can handle bi-directional activity and we recommend folks to start with one connection. Since it is a single connection there could be head of line blocking, mostly from the system to your app (subscriptions). So if you have multiple subscriptions and might encounter latency sensitive processing that could be affected by head of line blocking, then move subscriptions across multiple connections.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by derekcollison
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants