Say I have a web cam site up and it transfers 130kb a second of data.
and 1,000,000 people are watching.
The 1,000,000 people consuming 130kb each with be 130,000,000kb of data being transferred.
Now there are 1024kb in a MB and 1024 MB in a GB.
My math is 130,000,000 / 1024 (to get total MB) / 1024 (to get total GB).
This equals 123.977661 GB of data transfer a second.
This can't be the correct math though, there has been a lot of tv shows and news casts streamed live online to a million users of so and 130kb a second for a live stream with audio and video is crappy, how could anyone have managed to transfer this much data?
I'm thinking my math is incorrect.
Please help.
Note:
1024 kb = 1 mb
1024 mb = 1 gb Is my math right? My brain feels boggled. HELP!?
Your math is correct, but the reason that large hosting companies can cope with this much traffic is because they use multiple optic fibre connections known as 'OC' connections. These are used as the backbone of the internet. The most common OC connection is the OC-48, which delivers a theoretical data payload of 2405.376 Mbit/s on one cable. There is also OC-192 which is used by large ISPs as their backbones, which can deliver 9621.504 Mbit/s of data on each cable. These sorts of connections allow for large enough bandwidth for millions of concurrent connections (along with 'Load Balancing' where different connections and servers are used).Is my math right? My brain feels boggled. HELP!?
you are assuming each viewer gets the data independently of the others.
No, the data is broadcast, and each viewer taps into the stream. Each viewer receives the data as broadcast, and thus contributes nothing to the amount of data.
It's like broadcast TV or radio. The data is one-way only, from broadcast station to viewer, and they all get the same data.
.Is my math right? My brain feels boggled. HELP!?
i got the same answer so your math is correct
No comments:
Post a Comment