I’m creating a browser-based game (MMO) with a server and client, all using PHP, jQuery and simple ajax calls. For the server I use a PHP daemon. The server and client need to communicate with each other as fast as possible. Right now I’m reaching responses times of about 500 ms (server is in US, I’m in Europe) which I am quite happy with, even with multiple players online! You can try it out yourself here: http://www.nickotopia.com/
Would it be possible to increase this speed even further using technologies I don’t know of? I heard it would be a smart move to transfer to Node.js as they can handle even faster ajax calls. Would it be worth it, considering in my case the distance between the server and client?
Thanks in advance!
Instead of repeating Ajax calls (as I guess you are doing), you should use a server-push solution, Comet-like, to reduce the number of useless communications between server and browser.