CS-Reloaded Banner
Welcome, Guest. Please Login or Register.
Download Third Map Pack!
Get more packs here

Home Help Search Login Register

CSReloaded Forums  |  General Category  |  Off-Topic (Moderators: Porter, Father Ribs, Deuce, Kaoz)  |  Topic: HLstats Bandwidth Traffic
Pages: [1] Reply Notify of replies
   Author  Topic: HLstats Bandwidth Traffic  (Read 54 times)
zeus
CSR Connoisseur
*****
Karma: +19/-14

Offline

Gender: Male
Posts: 790

bunnyzeus888
View Profile
HLstats Bandwidth Traffic
« on: September 03, 2005, 10:10:29 AM »
Reply with quote

I was wondering, how much bandwidth is hlstats taking up per month 
« Last Edit: September 03, 2005, 10:11:13 AM by zeus » Logged
Porter
[Wumpa]
Board Admin
*****
Karma: +176/--88

Offline

Gender: Male
Posts: 3910

Wumpa+Porter
View Profile WWW E-Mail
Re:HLstats Bandwidth Traffic
« Reply #1 on: September 03, 2005, 02:09:04 PM »
Reply with quote

Well for one thing, we don't have bandwidth limits with RG. Secondly, you'd have to be a little more specific about what you're referring to. HLstats works by getting the game server to send a complete copy of its logs across the internet to a daemon that listens to the logs. The daemon parses each log entry and sends data to a MySQL database which (also) might be somewhere across the internet. The website that you view in your browsers simply pulls information from that database. Theoretically, it can take 5 different machines to get things done,

game server --(logs)--> hlstats daemon --(stats)--> MySQL DB --(stats)--> HLstats webpages  --(html)--> your browser

...but in our case we only have 4: CSR Phoenix, iCabbit, the CSR website, and you:

server.csreloaded.com --> iCabbit (which runs the daemon AND the MySQL server) --> CSR website ---> your browser


All of the arrows consume bandwidth in one direction or another, so it would help if you could clarify which bits you're asking about specifically.

Of course the short answer no matter what you're talking about is: not all that much. The logs are just text files. "Porter kills Zeus with m4", "Zeus defused the bomb", etc. The game server is on a fat enough connection that nobody is going to notice the extra stream coming out of it. iCabbit is hosted on yurei's and my DSL line, and we're simultaneously receiving logs from the server constantly, and sending MySQL data any time anybody views a CSR HLstats webpage, but we never even notice it. The webserver requests data from icabbit's mysql DB whenever anybody views a HLstats webpage, and consequently sends that data to you, but again, we don't have any bandwidth limitations, and even if we did, the webserver is just sending plain old HTML to you-- nothing fancy. Overall you're not talking about a lot of bandwidth at any stage.

The only thing I would change (if I could) was to run the daemon on an RG machine and use the same MySQL DB we use for this forum, which is also hosted by RG. Basically if we could cut iCabbit out of the loop it would be fantastic, but we can't convince RG to run the HLstats daemon for us, so we're out of luck.
Logged

[Wumpa] Porter
  --Silent, professional, lethal... sometimes.
Pages: [1] Reply Notify of replies 
CSReloaded Forums  |  General Category  |  Off-Topic (Moderators: Porter, Father Ribs, Deuce, Kaoz)  |  Topic: HLstats Bandwidth Traffic
Jump to: 

Powered by PHP CSReloaded Forums | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
Powered by MySQL
:[ Site Design by Ryo, scripts and backends by Porter and Ryo, banner by Supafly! Powered by PHP and MySQL ]:
Page created in 0.026 seconds.