We are developing a website that will run on 5 different sub-domains throughout Asia.
When a client comes to the site, they can find the best server to connect to in relation to them. So this will need to be done on the client. So I guess javascript is the only option.
I was thinking to have a small image on each server which the client can download via ajax and then we can work out the response times (we do have server access). I know this isn't ideal, but can't really think of anything better.