I run my own ball game however recently i've come across multiple users complaining about lag.
My game is similar to Agar.io. The link is [login to view URL]
My backend is written in NodeJS and I use a binary based protocol. I have done some profiles and the function which takes the longest in my server is related to our grid implementation of finding cells. Some people have suggested to changing from a SpatialHash Grid to instead a QuadTree saying it will improve performance, some have suggested rewriting my server code in a new language and some people have suggested rewriting parts of my current server into .WASM files to solve equations faster.
Honestly I dont have the answer on how to reduce lag, but I am looking for someone to give me the best solution, ideally I would like to keep my current server as opposed to writing a new one, but if needed if someone can rewrite the server instead then maybe that would be appropriate.
11 freelancers are bidding on average $532 for this job
Hello, I am experienced java back-end developer. I've worked on multiple mmorpg servers and so on from scratch. I can rewrite your server in java language. It will be cross-platform.