Ping times from reference servers
- too much loving
- Private First Class
- Posts: 94
- Joined: Sun May 23, 2004 7:47 pm
- Location: Denmark
- Contact:
Ping times from reference servers
I was just thinking that it could be cool to have a website that included ping times to each server from several computers at welldefined places in the world. The output could look like this:
viper2.pimpi.org:5158
Ping from Berlin = 50ms
Ping from New york = 200ms
Ping from Australia = 500ms
That would make it easier to determine whether a server was European or American. Of course this would require some coding and worldwide collaboration, but it might be useful to have. Therefore I hereby toss the idea into the air.
PS: Admittedly Strayers server does provide the host country of most servers, but it cannot read all domains. Maybe I am trying to fix a very small problem here. http://bzstats.strayer.de/servers/
viper2.pimpi.org:5158
Ping from Berlin = 50ms
Ping from New york = 200ms
Ping from Australia = 500ms
That would make it easier to determine whether a server was European or American. Of course this would require some coding and worldwide collaboration, but it might be useful to have. Therefore I hereby toss the idea into the air.
PS: Admittedly Strayers server does provide the host country of most servers, but it cannot read all domains. Maybe I am trying to fix a very small problem here. http://bzstats.strayer.de/servers/
There was a topic a while back. I think I started it It was about Australian Players if I remember correctly.
It was suggested in that topic that it would be nice to have ping times next to the name of a server/map on the Official Server List (BZFlag.exe). I think that idea was also agreed on, but you'll need to do some searching to find that out
It was suggested in that topic that it would be nice to have ping times next to the name of a server/map on the Official Server List (BZFlag.exe). I think that idea was also agreed on, but you'll need to do some searching to find that out
- too much loving
- Private First Class
- Posts: 94
- Joined: Sun May 23, 2004 7:47 pm
- Location: Denmark
- Contact:
I think I was a little unclear. I started this thread because I had thought of a way to add server ping times to a website. As far as I can see your thread is about enhancing the client (but I should probably have posted there anyway). http://my.bzflag.org/bb/viewtopic.php?t=10227 .Grace F wrote:There was a topic a while back. I think I started it It was about Australian Players if I remember correctly.
By the way the idea of adding ping times to the client has been suggested several times, starting with feature request [ 554185 ] from 2002 (Google is fun) http://sourceforge.net/tracker/index.ph ... tid=353248 .
Also by the way: It occurs to me that I should probably have posted this in the fansites forum. Forum admins should feel free to flame me and/or move this topic at will.
-
- Private First Class
- Posts: 55
- Joined: Wed Sep 13, 2006 9:52 am
I'm not quite sure that the server admins would like the increased amount of pings on their networks. Transfer speeds are already the limiting factor on these servers.
You should make that data into a map. Green is low ping, red is high ping. You can interpolate the rest of the points. Hmm. That's a nice idea for a new website.
You should make that data into a map. Green is low ping, red is high ping. You can interpolate the rest of the points. Hmm. That's a nice idea for a new website.
- Catoblepas
- Private First Class
- Posts: 24
- Joined: Fri May 25, 2007 10:23 pm
Incase you wanted a way to calculate the ping time......
First of you need to know the speed of light, (which is also the speed of electricity) the speed of light is
299,792,458 metres per second. Now what you need to know is how far away sorce `a` is from sorce `b`, to do that, you can use google earth, for example
is a server was in America Washington, and the player was in England London the distance would be in metres `7373000`, so now the math is....
So thats 0.049 seconds, so your magic number is..............
49ms
I hope you found this explanation usfull (I kinda rushed it)
Please correct me if I am wrong, false information is the worse kind.
First of you need to know the speed of light, (which is also the speed of electricity) the speed of light is
299,792,458 metres per second. Now what you need to know is how far away sorce `a` is from sorce `b`, to do that, you can use google earth, for example
is a server was in America Washington, and the player was in England London the distance would be in metres `7373000`, so now the math is....
Code: Select all
7373000
divided by
299,792,458
times
2
equals (to 3 decimal points)
0.049
49ms
I hope you found this explanation usfull (I kinda rushed it)
Please correct me if I am wrong, false information is the worse kind.
- too much loving
- Private First Class
- Posts: 94
- Joined: Sun May 23, 2004 7:47 pm
- Location: Denmark
- Contact:
According to random internet pages, your calculation doesn't give precise results. This is partly because light travels slower in a fibre and partly because of switches and other hardware thingies that the signal has to pass through along the way:Catoblepas wrote: Please correct me if I am wrong, false information is the worse kind.
http://royal.pingdom.com/?p=143
http://blog.forret.com/2004/11/its-the-latency-stupid/
- Catoblepas
- Private First Class
- Posts: 24
- Joined: Fri May 25, 2007 10:23 pm
Cotlebas: you also assumed that the packets would take a direct path to the server.
they may have to travel much further
they may have to travel much further
gazz: A bullet may have your name on it, but shrapnel is addressed "to whom it may concern".
http://bash.org/?785529
http://bash.org/?785529
- Catoblepas
- Private First Class
- Posts: 24
- Joined: Fri May 25, 2007 10:23 pm
I would disagree, the route a packet takes CAN add time to the ping. That is why TCP packets have to be reordered once they reach a machine, some packets take longer to reach their destination host, and the reason is the route taken. There is no guarantee that two packets transmitted one right after another will reach their destination by the same route or in the same order.Catoblepas wrote:Macrosoft, that isn't a major delay in the ping so that is why I didn't include it.
I can from experience tell you that a ping times for a client in the UK (your example) to a server in Washington (Tadd's) is about 200ms. Some of this equipment and the other variable is the route a packet takes.
- The Vaxorcist
- Private First Class
- Posts: 134
- Joined: Wed Mar 23, 2005 10:28 am
- Location: Santa Rosa, CA
Ahem. There's already a patch out to add the pingtimes to the client server menu. (Written by yours truly) Check it out at http://sourceforge.net/tracker/index.ph ... tid=303248. Hopefully, it will be a part of BZFlag 2.2
Where's Darwin when you need him?
Lagger@Everywhere