I am trying to make a game similar to bomberman using node.js/express/socket.io. It works great for me locally and when I deploy it still works pretty well but not quite as smoothly. The problem is when I connect to the server from somewhere that isn't super close. I deploy from Atlanta regularly and it works fine, but I tried using it in California and it was lagging terribly. I believe this is because it uses TCP and it was taking longer to send the messages due to a longer distance, however I am not sure how to fix this since Socket.io uses TCP. I believe that it is making the entire server lag and not just the individual but I could be wrong. Any advice would be greatly appreciated.
via M. Koval
No comments:
Post a Comment