Answer the question
In order to leave comments, you need to log in
Am I doing the web socket server correctly?
I decided to divide my node js application into several microservices (chat, etc.) Each microservice needs to create web-socket events. I made a separate socket-server and store the state of all sockets there. And the socket server uses redis to communicate with microservices using the pub/sub mechanism.
Did I do the right thing? I'm embarrassed that I have to write much more code.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question