Topic: Getting a handle on bandwidth requirements

I am about to hire a hosting service for a PunBB forum, but need to be able to anticipate my bandwidth requirements.  I am not sure how I should be calculating these.  For example, what kind of bandwidth requirements will I have for a forum that, say, peaks at 50 simultaneous users with about 10 posts a minute, smileys on?  What about double that?

Anyone have any suggestions?  Thanks.

Re: Getting a handle on bandwidth requirements

Not a clue, it varies depending on the size of the posts, how many smilies are used, etc.

Re: Getting a handle on bandwidth requirements

Smartys wrote:

Not a clue, it varies depending on the size of the posts, how many smilies are used, etc.

"Not a clue?"  Then how is anyone supposed to be able to size his hosting requirements?

Re: Getting a handle on bandwidth requirements

Bandwidth has never been an issue for me at all, mostly because there are plenty of hosts offering tons of bandwidth these days. PunBB's bandwidth consumption is small compared to other forums as well.

Re: Getting a handle on bandwidth requirements

what smarty said is true, there are many hosts offing alllot of bandwidth, my host gives me 50 gig of b/w and 3 gb of space, i will not be using near the for anytime soon but its £10 per year.

Looking at the worlds no.1 host, they give plenty of bw to run a site, even 3 lol

Sorry. Unactive due to personal life.

Re: Getting a handle on bandwidth requirements

Well, can anyone throw out a short list of good, reliable hosts that have an easy migration path from shared to VPC should the latter prove necessary?  I already have experience with Dreamhost and Textdrive/Joyent.  Would like some other choices.

Wading through the big hosting websites is difficult without solid bandwidth requirements.

Searching the forum on "hosting" hasn't been very productive.

Re: Getting a handle on bandwidth requirements

How long is a piece of string?

Your bandwidth requirements will potentially vary enormously according to a lot of things.

You can make some basic assumptions and do a few simple calculations though on the back of an envelope.

Using your own numbers, if you assume the page weight of a vanilla punbb viewtopic.php page (eg this topic itself) using the standard Oxygen style, with say 10 posts per topic, you are looking at a page weight of only about 30k per page view, including style sheets. (If your server has gzip compression turned on though on its pages that is only about 20k per page or MUCH less). So (very simply) 50 users browsing that same page would potentially pull down 50x30k = 1.5MB.

Using your hypothetical example, if 50 people posted a new post 10 times a minute for 1 hour (=50x(600x24) or 720,000 posts PER DAY = very high traffic!!!!!!) you are talking 50x[(10x30k)x60]=900MB/ hour or 21GB/ day simple bandwidth.

However if you meant 10 posts a minute TOTAL (ie 600 posts /hour ie 14400 posts /day) that would represent 14400x30k = 400MB /day. That's still quite a busy forum (busier probably than any punbb forum in the world), but not a lot of bandwidth - 12GB/ month or so.

But as I said - how long is a piece of string. If your forum has a graphically rich style with a huge header graphic and all your users have 20kb avatars enabled and you have lots of ads pulled off your own server per page view and a chatbox going and god knows what other mods running, a typical page view may represent 150kb. So you should multiply the above numbers by 5. If you host images on your forum via a gallery plugin or something, typical page views may represent 1MB or more of content. So you could need to multiply the above numbers by 30...

But complicating the calculation is the impact of server caching and compression. At various points along the way the pages generated by punBB will probably be compressed (by a PHP opcode cache or by Apache) and/or cached in one way or another. These usually will work to significantly reduce the actual bandwidth needed to serve x amount of punBB page views.

So any host that offers you 10GB a month bandwidth will probably give you lots of room.

In terms of finding a good host, just lurk around http://www.webhostingtalk.com - like every one else does smile, including mosts hosts - and keep an eye on the user reviews and also the specials various hosts offer from time to time in the 'Web Hosting Offers' forums. Also choose a host with a good online support/knowledge base and AN ACTIVE, PUBLIC USER FORUM. That can be a life-saver.

Oh, and you may find bandwidth to be the least of your worries if you anticipate running a busy forum... You will also need to start worrying about stuff like Apache and PHP and MySQL performance and optimization, and CPU load too. PHP and MySQL can be real performance pigs and will usually choke a busy forum long before it hits any bandwidth ceiling....

Re: Getting a handle on bandwidth requirements

sirena wrote:

Using your own numbers, if you assume the page weight of a vanilla punbb viewtopic.php page (eg this topic itself) using the standard Oxygen style, with say 10 posts per topic, you are looking at a page weight of only about 30k per page view, including style sheets. (If your server has gzip compression turned on though on its pages that is only about 20k per page or MUCH less). So (very simply) 50 users browsing that same page would potentially pull down 50x30k = 1.5MB.

However if you meant 10 posts a minute TOTAL (ie 600 posts /hour ie 14400 posts /day) that would represent 14400x30k = 400MB /day. That's still quite a busy forum (busier probably than any punbb forum in the world), but not a lot of bandwidth - 12GB/ month or so.

Thank you, you have been extremely helpful.

In terms of finding a good host, just lurk around http://www.webhostingtalk.com  . . . Oh, and you may find bandwidth to be the least of your worries if you anticipate running a busy forum... You will also need to start worrying about stuff like Apache and PHP and MySQL performance and optimization, and CPU load too. PHP and MySQL can be real performance pigs and will usually choke a busy forum long before it hits any bandwidth ceiling....

Yeah, WHT just seems a bit overwhelming.  Either every other post is about Dreamhost or there are dozens of obscure hosts and it's hard to make heads or tails.  It would be nice if a sort of top five hosting companies could emerge from the babble.  As I said, I already have experience with Dreamhost.

I thought I would start with the bandwidth question since I wanted to understand if there were any special requirements and if there was a chance I would need to do so I wanted a migration path from shared to VPC.  Basically getting the host is the first step I need to accomplish before I can start hacking on the software (there are some hacks I want to make, outlined in the other thread).

I'll noodle around on WHT some more, thank you very much.

Re: Getting a handle on bandwidth requirements

there is a top list. http://www.hostreview.com/webhostaward/ … bhost.html

I am using one of them in the top 5 and i must say i have had a verry good experance with them, feature and support wize.

Sorry. Unactive due to personal life.

10

Re: Getting a handle on bandwidth requirements

redneck wrote:

I'll noodle around on WHT some more, thank you very much.

No problem. As a final aside, when I have looked for hosts, I always include a Google search on a term like "HOST NAME problems" -eg "Dreamhost problems" or "Media temple problems" on any host that looks interesting. It's always revealing.