Capacity/traffic question

The 2.0.x discussion forum has been locked; this will remain read-only. The 3.0.x discussion forum has been renamed phpBB Discussion.
Locked
jharmer
Registered User
Posts: 2
Joined: Mon Apr 08, 2002 6:48 pm

Capacity/traffic question

Post by jharmer »

What kind of traffic do you all do, on a daily basis, say in # of posts, and # of page views?

I'm considering using phpBB to replace our webX messageboards for some of the CNN properties (NASCAR, CNN, CNNSI, HBO, etc.) but I need to make sure it can handle the kind of traffic we have gotten.

I think some of our busy days have been like 200,000 page views, and around 8,000 posts.

We're thinking of implementing phpBB with a seperate, robust Oracle server, and maybe Sun Netra T1's as page servers. Does anyone here have any idea if that'll be able to handle that level of traffic?

What about load balancing a number of servers? Is that difficult?
romutis
Registered User
Posts: 142
Joined: Wed Jan 30, 2002 9:35 am
Location: Milan, Italy

Re: Capacity/traffic question

Post by romutis »

jharmer wrote: I think some of our busy days have been like 200,000 page views, and around 8,000 posts.

We're thinking of implementing phpBB with a seperate, robust Oracle server, and maybe Sun Netra T1's as page servers. Does anyone here have any idea if that'll be able to handle that level of traffic?

What about load balancing a number of servers? Is that difficult?


Implementation of phpBB2 on several webservers with on DB-server - isn't a problem. Oracle allows you to have concurrent connections from different web-servers to one DB. And also 200,000 pageviews - is nothing for robust Oracle Server. (We have project with 1DB (in cluster), 14 webservers and 6 mln. pageviews a day)

I don't know about behavior of PHP-part of phpBB but Oracle DB layer looks hmmm... quiet unoptimized... :( Everything comes with default values... Default values are good for small board but for your project... :-?

So, if you are going to implement phpBB2/Oracle - you must redisign Oracle definitions in oracle_schema.sql for your requirements.
// Romutis
User avatar
Brewjah
Registered User
Posts: 265
Joined: Sun Mar 10, 2002 5:37 pm
Location: I think im lost..
Contact:

Post by Brewjah »

it should handle anything that your server and net lines can handle..

if youre getting that many hits a day.. on your current server.. and its handling well it should be able to handle phpBB its just basically all depending on the applications being used.. your DBase.. your connectivity.. ive had around 2000+ hits on a p200 cable box in about 2 or 3 days that im currently using for testing and learning purposes.. i know this doesnt seem like alot compared to 200,000 that youre getting but.. take a look at the stats here.. theyre doing alright.. it all depends on how you config your servers and dbase for how it handles its loads..


- Brew
Filling in that ugly white noise with a bunch of black static..
nagasea
Registered User
Posts: 148
Joined: Wed Dec 19, 2001 7:06 pm

Post by nagasea »

mine is using 2-3 gigabyte of bandwith per day.
and it's keep growing and growing.
User avatar
ffeingol
Former Team Member
Posts: 1329
Joined: Wed Jul 11, 2001 4:51 pm
Location: Earth
Contact:

Post by ffeingol »

jharmer,

Contact me offline (PM, E-Mail, ICQ etc.) and I can give you a few more details, but. ..

In round numbers, this site has been doing 110K+ page views per day. I don't have a count on the number of posts. It's running on a P3 750 mhz box, 1/2 gig memory. Our backend is MySQL.

If we can do it on our (limited) hardware, I'm sure you can make it work :D.

Frank
romutis
Registered User
Posts: 142
Joined: Wed Jan 30, 2002 9:35 am
Location: Milan, Italy

Post by romutis »

OK, once again... You guys discuss just PHP performance but the problem isn't in PHP, problem is Oracle.

jharmer in his original post said about Oracle as DB for his board. I'm sure that his board will be dead in 1 month due to unoptimal configuration of Oracle schema.
  1. Maximium number of extents for table/index is 505 - with his 8000 posts/day - he'll reach this value very fast.
  2. Maximum tablespace size is 100M - it's too small for active board.
  3. PCTINCREASE = 50 - fragmentation of linear growing objects (tables/indexes) - will be <beep> <beep> and <beep>.
  4. PCTUSED = 40 - it mean that tablespace will be huge but almost empty.
  5. Undefined initial/next extents for objects.
  6. All objects in one tablespace - performance will be just a dream.
  7. Not tuned "indexes using".
Other 1000 reasons are skipped...

And i can repeat : He can use phpBB2/Oracle board - but he has to reconfigure Oracle part of phpBB2!
// Romutis
sj26
Registered User
Posts: 447
Joined: Fri Dec 14, 2001 4:06 pm
Location: /dev/cpu/[0-9]+ :D
Contact:

Post by sj26 »

Well, maybe we need to get some good, experienced oracle people to redesign the oracle schema (hint, hint! :D ) :wink:
[ Working on: It's a secret! ]
[ Links: My Mods | My Site | PALGN ]
romutis
Registered User
Posts: 142
Joined: Wed Jan 30, 2002 9:35 am
Location: Milan, Italy

Post by romutis »

sj26 wrote: Well, maybe we need to get some good, experienced oracle people to redesign the oracle schema


I could do it (as soon as i work as Senior Oracle DBA for last 3 years), but...
  1. For 99% of phpBB/Oracle boards - these parameters are more or less OK (10 registered users, 5 posts/day :)).
  2. For serious projects - Oracle schema must be reconfigured from the default one anyway. At least physical location of objects.
P.S. Message size is limited by 2K now for Oracle configuration.
// Romutis
User avatar
ffeingol
Former Team Member
Posts: 1329
Joined: Wed Jul 11, 2001 4:51 pm
Location: Earth
Contact:

Post by ffeingol »

I hate to be the bearer of bad news, but if you check the supported RDBMS's under Features, you'll notice that Oracle is not supported. The schema and DB layer shipped with 2.0, but it's not supported.

I also have to agree with romutis. I've been a relational DBA for 10 years now. Most vendors (I'll call the phpBB group a vendor in this case) ship their schema etc. with very default settings. The DBA's/IT group then has to review this default installation and make modifications that make sense in their environment.

Frank
romutis
Registered User
Posts: 142
Joined: Wed Jan 30, 2002 9:35 am
Location: Milan, Italy

Post by romutis »

ffeingol wrote: I hate to be the bearer of bad news, but if you check the supported RDBMS's under Features, you'll notice that Oracle is not supported. The schema and DB layer shipped with 2.0, but it's not supported.


But may be we can make a "light tuning" for Oracle - at least to avoid default values for Oracle objects created for phpBB?

After that Oracle can be included in the list of DBs supprted officially (with NOTE: "please, put correctly datafile and don't forget to make your own fine-tuning as soon as you will need it"). IMHO, this will be enough for distribution of phpBB with Oracle DB layer.
// Romutis
jharmer
Registered User
Posts: 2
Joined: Mon Apr 08, 2002 6:48 pm

Post by jharmer »

Thanks for the info, folks.

We have a couple of good Oracle DBA's here that will be able to tune that part of the equation. I wasn't as worried about that, due to our existing infrastructure. PHP will be new to the organization, and I just wanted to make sure it would work. I guess we'll find out the hard way :)

Thanks again. I'll be back with updates, if you're interested.
vhm3
Registered User
Posts: 15
Joined: Mon Apr 22, 2002 9:04 pm
Location: San Jose, CA (USA)
Contact:

Post by vhm3 »

I'm also considering this. I have a few very large clients, whom I administer their Web Crossing installations. What I am looking to do, is to not only move them away from it, but also import the data, usernames, etc into the phpBB environment. Anyone know if this is possible?

I'm still in the planning stages of this right now, and not ready yet to make a pitch to the customer.

Thank you,

Chip
Locked

Return to “2.0.x Discussion”