Hmmm...I don't quite get it...by the time you hit a server to do this checking, they have already hit a server with the request, so the choice has been made...or are you saying they can choose a server for all subsequent requests? Maybe a little more elaboration of what you're going for is in order.
If you are looking to determine network latency for a client, something ajax-y would probably fit the bill. Do the same thing, get times before and after the ajax call and report them in javascript, and this will take the client's own network latency into account. -- Josh -----Original Message----- From: John Saunders [mailto:[email protected]] Sent: Friday, May 29, 2009 5:28 AM To: cf-talk Subject: Time from client to multiple servers. Situation is this. Have an architecture with multiple coldfusion servers geographically separated. Trying to find a way for a user to determine which server would be the best for them to use based on speed. Was thinking of something along the lines of this. Although the speed here is based on the time it is processed on the server rather than the time it actually hits the client. Sure this is something dumb, it just isn't clicking right now. Any help would be appreciated. <cfset sites="Server1, Server2, Server3"> <cfloop list="#sites#" delimeters="," index="i"> <cfset st = getTickCount()> <cfhttp url="http://#i#/speedcheck.html"> <cfset et = getTickCount()> <cfset tottime = et - st> Time to site (#i#) is : #tottime# ms </cfloop> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322979 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

