Skip to content

Working with socket IO on clustered environment ( NodeJS clusters) #4983

Discussion options

You must be logged in to vote

In that case, I guess you could store the relationship in the primary process, and then forward the message to the right worker here: https://github.com/socketio/socket.io-cluster-adapter/blob/56a53bceb9a0f3032c68e9a9ae63643423890cb1/lib/index.ts#L552-L579

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@rituraj12797
Comment options

@darrachequesne
Comment options

Answer selected by rituraj12797
Comment options

You must be logged in to vote
0 replies
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