Hi again @endel,
I was using only plain redbird
, and seems like each server can't handle the same process at all. I tried to change the code a bit, following some of your proxy logic but ended up getting the same result. In the end, the proxy should know which host and port to handle the proccess.
Before using redbird
, I have also tried @colyseus/proxy
but I thought it's not working since it always responded as timeout. After your suggestion, I tried your custom proxy again, and I just found out that the host caught by your proxy is hosted by ubuntu environment, while I tried the url from windows. Things work like a charm right after I change the host on your proxy code to 127.0.0.1 (of course for testing purpose only).
Thanks for the information about memory leaks, but seems like I got no other choice than your custom proxy for now. Yes, colyseus really needs a better option. It helps a lot in multiplayer game development. Hope to hear the good news soon.
Thank you for your kind response, @endel