On Monday 22 August 2005 20:30, LurfysMa wrote:
> On Tue, 23 Aug 2005 04:42:10 +1000, "|-|erc" <h@xxx> wrote:
>
>>"Theg" <no@xxxxxxxxxxxx> wrote in
>>> LurfysMa wrote:
>>> > Is there a good way to estimate what how much bandwidth a web-based
>>> > application will use?
>>> >
>>>
>>> The math is pretty simple. Bandwidth = Hits * size.
>>>
>>> You need to predict the number of hits each element of your app will get
>>> and multiply that by their size.
>>
>>Open your Internet Connection dialog box and note the Bytes Received.
>>Do 1 full test run.
>>Subtract the old Bytes Received from the new Bytes Received.
>>
>>That's your bandwidth for 1 visit, in bytes.
>>
>>Herc
>
> Clever guy. I don't have the real app running on a web site, yet, so I
> did a Google search and clicked on the first 10 hits, checking the
> "packets received" reading after each page loaded. The results are:
>
> Packets Delta Cum N Average
> 149,417 0 0 0 n/a
> 149,642 225 225 1 225
> 149,824 182 407 2 204
> 149,844 20 427 3 142
> 149,882 38 465 4 116
> 149,945 63 528 5 106
> 150,039 94 622 6 104
> 150,063 24 646 7 92
> 150,118 55 701 8 88
> 150,220 102 803 9 89
>
> Now, how many bytes are there in a packet?
It varies, but 1500 bytes are typical. It depends on the protocol and
network (WLAN/Ethernet(LAN), UDP/TCP/IP) and there are issues to do with
increase in packet size (acceleration). 1000-1500 bytes is probably a
reasonable guess.
> Do these numbers look right?
I assume "Cum." is "Cumulative" abbreviated. Given the size of images
("That's 510,300 bits or about 64K bytes.") it seems to make sense, but
what is the sample rate? What is the unit of N?
Roy
--
Roy S. Schestowitz Useless fact: Every polar bear is left-handed
http://Schestowitz.com
|
|