• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 418
  • Last Modified:

how many hits would it take to exceed 1 gb of bandwidth?

Hello.

I suck at math and could use a bit of help . . .

Most hosting companies charge an extra fee for extra bandwidth.

If the files (html, images, css etc) have an average size of 7 kb each, how many hits would it take for me to exceed 1 gb of bandwidth?

What about for an average of  3 kb, and what about for an average of 12 kb?

Remeber, there are 1,073,741,824 Bytes in one Gigabyte (not 1,000,000,000).  

This is enough to give me a headache . . .

Thanks!
0
hankknight
Asked:
hankknight
  • 3
  • 2
1 Solution
 
LucFEMEA Server EngineerCommented:
Hi hankknight,

This looks like a homework question to me. So please see the guidelines on homework first: http://www.experts-exchange.com/help.jsp#hi105

Your question is pretty easy, you allready know a GB isn't 1,000,000,000 bytes, but a bit more.
From bytes to kbytes is deviding by 1024.
So a GB will be 1,073,741,824/1024 = 1,048,576 kbyte.

Now your calculation will probably be a lot easier :)

Greetings,

LucF
0
 
hankknightAuthor Commented:
Does 131,072 hits for an 8 kb file sound about right to you then?

For the record, this isn't a school or class related question, although it would make a good one  :-)

I am expecting 10,000 hits to my web site per month.  I would like to know if the 5 gb bandwith my hosting provider allows will be enough.  

If I did the math right, it should be more than enough.  Please let me know if I am missing something obvious (like a couple of zeros)

Thanks.
0
 
LucFEMEA Server EngineerCommented:
>> Does 131,072 hits for an 8 kb file sound about right to you then?<<
Exactly :)
You'll have a little overhead, so to be on the safe side, consider 100,000 hits to be a good point.
With 10,000 hits each month, you'll have to see for yourself in the logs what pages are checked the most, so you can do a fair calculation it 5GB is sufficient, but even when you average each page at 500kb you'd still not cross this limit, so you'll probably be safe.

LucF
0
 
hankknightAuthor Commented:
Thanks.  If I get more than 100,000 hits each month, I'll be glad to pay the extra bandwidth fee.
0
 
LucFEMEA Server EngineerCommented:
Glad to help :)

LucF
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now