Server performance monitoring
devicenull
Join Date: 2003-04-30 Member: 15967Members, NS2 Playtester, Squad Five Blue
As of build 219, it's now possible to pull server tickrate information from outside the server. Combined with a list of all NS2 servers, it's possible to provide performance graphs for everyone.
You can see the full list of servers + graphs here: <a href="http://ns2servers.devicenull.org/" target="_blank">http://ns2servers.devicenull.org/</a>
There are still a few things I need to improve on, but suggestions are welcome.
You can see the full list of servers + graphs here: <a href="http://ns2servers.devicenull.org/" target="_blank">http://ns2servers.devicenull.org/</a>
There are still a few things I need to improve on, but suggestions are welcome.
Comments
Great work :)
I optimized a few things on my rootserver and the <a href="http://ns2servers.devicenull.org/detail.php?id=57" target="_blank">graph</a> looks much more stable now. But sometimes there are still dips to 0, and i'm curious of what may be the cause. Eventually packets lost, server resetting state of the map after a round, caching, dunno...
How do you pull the tickrates from the servers?
I need to make some changes that that dropped packets get retried a couple times. This already happens with playercount and general server info, but not for the tickrate request.
I limited the rate of outgoing packets to port 80, since gameservers are often used for reflected DDOS attacks. Eventually I have to raise the bar a bit.
I limited the rate of outgoing packets to port 80, since gameservers are often used for reflected DDOS attacks. Eventually I have to raise the bar a bit.<!--QuoteEnd--></div><!--QuoteEEnd-->
No. It's a randomly chosen port, but it's definitely above 1024.
Just curious: Are you running a daemon to fetch the data?
I limited the rate of outgoing packets to port 80, since gameservers are often used for reflected DDOS attacks. Eventually I have to raise the bar a bit.<!--QuoteEnd--></div><!--QuoteEEnd-->
Assumption that no server software does HTTP requests is risky.
Just curious: Are you running a daemon to fetch the data?<!--QuoteEnd--></div><!--QuoteEEnd-->
Yes.
<!--quoteo(post=1979704:date=Sep 18 2012, 03:05 PM:name=MOOtant)--><div class='quotetop'>QUOTE (MOOtant @ Sep 18 2012, 03:05 PM) <a href="index.php?act=findpost&pid=1979704"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Assumption that no server software does HTTP requests is risky.<!--QuoteEnd--></div><!--QuoteEEnd-->
UDP port 80 is not used by HTTP. TCP port 80 is. UDP port 80 is only used by people attacking servers (there's a very tiny chance there's a legit use for this, but I have not seen it).
Will definitely look into that. Coming up with a decent way to show that that prevents a few awful servers from dragging down the rest is a bit tricky.
I think <b>ScardyBob</b> meant a per-server average/column (so the awful servers still look awful, but the good ones look good) -- so that you can see a server's performance at a glance.
Just to continue bouncing ideas around, rather than hard data you could have a colour scale on the main server view page (green being 29-30tick avg, yellow being 28tick average, etc etc... You have the data sets so you can figure out where to draw the lines) which when clicked, opens up the more detailed stats; average tick, average number of players during peak hours/ off hours etc etc. It'd be good to have it in its own sortable coloumn and even better as a filter.
To be honest - it'd be great if you started talking to the guys behind <a href="http://hypernovadesign.co.uk/nanogrid/" target="_blank">http://hypernovadesign.co.uk/nanogrid/</a> so that you can combine your efforts into a very detailed server browser, otherwise you run the risk of effort duplication between the two of you.
<a href="http://ns2servers.devicenull.org/gamestats.php" target="_blank">http://ns2servers.devicenull.org/gamestats.php</a>
vs
<a href="http://www.game-monitor.com/search.php?game=naturalselection22" target="_blank">http://www.game-monitor.com/search.php?gam...uralselection22</a>
<a href="http://ns2servers.devicenull.org/gamestats.php" target="_blank">http://ns2servers.devicenull.org/gamestats.php</a>
vs
<a href="http://www.game-monitor.com/search.php?game=naturalselection22" target="_blank">http://www.game-monitor.com/search.php?gam...uralselection22</a><!--QuoteEnd--></div><!--QuoteEEnd-->
Interesting, I'll have to take a look at that too. Looks like there's roughly 200 servers that aren't on my list.
I just fixed an issue where entity counts over 1000 wouldn't be displayed correctly. Also, I pruned any server that hasn't been responding in over 24 hours. This will happen daily from now on.
^
Agree
Agree<!--QuoteEnd--></div><!--QuoteEEnd-->
Added. Any donations would be appreciated.
I also added the ability to view old server data. I'm currently keeping all the data for the last 30 days. This number may change depending on how large the NS2 server list grows.
I said it a while back, but this is a fantastic tool, thank you so much for your work on this (and on the web-interface)!
81.19.212.190:27015/:29015/:30015/:31015
[ UK :: The Thirsty Onos :: Vanilla #1 / UK :: The Thirsty Fade :: Vanilla #2 / UK :: The Thirsty Drifter :: thirsty. Matchsrv / UK :: The Thirsty Lerk :: Veteran #1 ]
I would also ignore all servers named "Explore Mode" .. they probably cause unnecessary load.