bandwidth

Comments, questions, rants, etc, that are specifically about the Kaya Go Server go here
Post Reply
Alguien
Lives in gote
Posts: 628
Joined: Tue Aug 07, 2012 11:50 pm
Rank: KGS 3k
GD Posts: 0
Universal go server handle: Alguien
Has thanked: 44 times
Been thanked: 93 times

bandwidth

Post by Alguien »

Could anyone estimate how much data volume would being connected to kaya, for example watching games, consume per unit of time?
Kaya.gs
Lives with ko
Posts: 294
Joined: Fri Aug 12, 2011 10:52 am
Rank: 6d
GD Posts: 0
KGS: Dexmorgan
Wbaduk: c0nanbatt
Has thanked: 25 times
Been thanked: 78 times
Contact:

Re: bandwidth

Post by Kaya.gs »

Alguien wrote:Could anyone estimate how much data volume would being connected to kaya, for example watching games, consume per unit of time?



I havent dont formal benchmark, but its not sizeable. You can try running chrome and checking the network tab. Im sure there are other tools outthere to check the activity if you are looking for a specific network condition affecting your particular connection.
Founder of Kaya.gs
dfunkt
Dies with sente
Posts: 78
Joined: Sun Jan 01, 2012 1:17 pm
Rank: 9k
GD Posts: 0
Universal go server handle: dfunkt
Has thanked: 10 times
Been thanked: 33 times

Re: bandwidth

Post by dfunkt »

Less than 5KB/s... usually under 1KB/s
Alguien
Lives in gote
Posts: 628
Joined: Tue Aug 07, 2012 11:50 pm
Rank: KGS 3k
GD Posts: 0
Universal go server handle: Alguien
Has thanked: 44 times
Been thanked: 93 times

Re: bandwidth

Post by Alguien »

dfunkt wrote:Less than 5KB/s... usually under 1KB/s


So about 4MB/h.

Thanks.
badukJr
Lives with ko
Posts: 289
Joined: Sat Jan 07, 2012 1:00 pm
Rank: 100
GD Posts: 100
Has thanked: 7 times
Been thanked: 42 times

Re: bandwidth

Post by badukJr »

How did you calculate that? There is no way its even close to that.
90% of the timethe usage is 0kB/s
cata
Dies with sente
Posts: 72
Joined: Sun Sep 25, 2011 9:39 pm
Rank: KGS 2k
GD Posts: 0
KGS: cata
Has thanked: 1 time
Been thanked: 24 times

Re: bandwidth

Post by cata »

1 KB/s seems like a reasonable guess. Remember, the game isn't the expensive part; the server also needs to be polling via some mechanism for new observers, new chat, user status updates, and other errata. The bandwidth usage over time mostly depends on how that polling (or perhaps pushing, in recent browsers) is implemented and how real-time they care to make it.

More than 5 KB/s is hard to fathom, but 1-2 KB/s seems plausible.
hyperpape
Tengen
Posts: 4382
Joined: Thu May 06, 2010 3:24 pm
Rank: AGA 3k
GD Posts: 65
OGS: Hyperpape 4k
Location: Caldas da Rainha, Portugal
Has thanked: 499 times
Been thanked: 727 times

Re: bandwidth

Post by hyperpape »

In modern browsers, I believe they are using websockets, which don't require polling per se. So they can push the presence of a new player to your client using just a few dozens bytes of information, without including HTTP headers.
Mike Novack
Lives in sente
Posts: 1045
Joined: Mon Aug 09, 2010 9:36 am
GD Posts: 0
Been thanked: 182 times

Re: bandwidth

Post by Mike Novack »

This is an important question for those of us who have to live without much bandwidth at home. Many sites simply don't work for us, less because of needing a lot of patience (minutes while the next page loads) than the site not detecting the slow connection and so not adjusting timmeouts accordingly (site thinks you've gone away but you haven't responded because site is still sending you the page).

You think a couple thousand bytes per second is nothing? At 28.8 Kbaud (phone line on a good day) the throughput is only about 3000 bytes/second.
Alguien
Lives in gote
Posts: 628
Joined: Tue Aug 07, 2012 11:50 pm
Rank: KGS 3k
GD Posts: 0
Universal go server handle: Alguien
Has thanked: 44 times
Been thanked: 93 times

Re: bandwidth

Post by Alguien »

It's also important if considering to connect using the phone line while on a trip with roaming fees between 2.5€/10MB (Europe) to about ten times that.
badukJr
Lives with ko
Posts: 289
Joined: Sat Jan 07, 2012 1:00 pm
Rank: 100
GD Posts: 100
Has thanked: 7 times
Been thanked: 42 times

Re: bandwidth

Post by badukJr »

Did you log onto Kaya and monitor the network traffic or not? It is almost never exchanging data on the main page. 1kB/s continuously is a huge over estimation. I looked at the network usage for the connection myself.
User avatar
Bonobo
Oza
Posts: 2224
Joined: Fri Dec 23, 2011 6:39 pm
Rank: OGS 9k
GD Posts: 0
OGS: trohde
Universal go server handle: trohde
Location: Germany
Has thanked: 8262 times
Been thanked: 924 times
Contact:

Re: bandwidth

Post by Bonobo »

Just tested bandwidth with Little Snitch on OS X, main beta site page plus watching a game:
TCP Port: http (80)
Total Traffic: 221 kB up, 1,09 MB down
Connected: yes
First Activity: 15m 03s ago
Last Activity: 13s ago
Connects: 53 successful, 0 blocked

Download doesn’t change much after the first loading of the site.
“The only difference between me and a madman is that I’m not mad.” — Salvador Dali ★ Play a slooooow correspondence game with me on OGS? :)
speedchase
Lives in sente
Posts: 800
Joined: Sun Dec 04, 2011 4:36 pm
Rank: AGA 2kyu
GD Posts: 0
Universal go server handle: speedchase
Has thanked: 139 times
Been thanked: 122 times

Re: bandwidth

Post by speedchase »

1 MB over 15 minutes is about 1Kb/s
ProtoJazz
Dies in gote
Posts: 52
Joined: Mon Jun 25, 2012 11:19 pm
Rank: KGS 13k
GD Posts: 0
Universal go server handle: ProtoJazz
Been thanked: 19 times

Re: bandwidth

Post by ProtoJazz »

Well, if most of the download is just loading the page initialy, then over a longer period of time it would average to a much lower number. The initial loading is always going to cost about the same, so it definatly more cost effective to only log in if you have enough time to justify it
Post Reply