Answer the question
In order to leave comments, you need to log in
Multiple socket.io servers on one page best way?
Good afternoon ! Now in my application there are several servers for chat, for notifications and a server that processes files. All of them are physically separated into different files and hang on different ports, which causes some inconvenience when working on a client (several connections).
What would be the best solution for "co-located servers". Of course, all the code can be transferred to 1 server (file), but then the file will be very large and it will be inconvenient to work with it. names, as well as it seems to me, it will not be the best solution, because you still have to create different connections on the client. Perhaps you can suggest alternative approaches for implementing such conditions? Thanks.
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