|
Joined: Mar 2001
Posts: 43
Member
|
Member
Joined: Mar 2001
Posts: 43 |
I was wondering how much will it affect my server if I have a UBB of 5,000+ active members? I've heard that Perl takes more Processing Power than PHP+mySQL. My question is, which is better in performance for large boards PHP or Perl? (performance doesn't necessary means speed; Stablized State would be appreciated)..
Like a phoenix rising from the ashes..
|
|
|
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
The Perl vs PHP debate is meaningless.
Both execute about as fast as each other in the end.
It's all in the I/O.
A system using flat files will always execute slower than a system using an RDBMS.
Therefore, a Perl system using an RDBMS will outspeed a PHP system using flat files, and a PHP system using an RDBMS will outspeed a Perl system using flat files.
If you have speedy disk I/O, then chances are that your users will never notice the difference between the flat file system and the RDBMS system.
UBB.classic: Love it or hate it, it was mine.
|
|
|
|
Joined: Nov 2000
Posts: 7
Junior Member
|
Junior Member
Joined: Nov 2000
Posts: 7 |
so, if you properly coded, you can port a BBS from php+mysql to perl+mysql and have no perfermonce issues?
|
|
|
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
Yup.
Or go from PHP + flat to Perl + flat, and it would still be slow if you had slow I/O.
UBB.classic: Love it or hate it, it was mine.
|
|
|
|
Joined: Mar 2001
Posts: 43
Member
|
Member
Joined: Mar 2001
Posts: 43 |
So, as to speed it heavly dependent on I/O speed? but what about Load Average? which one uses CPU power more? is it PHP or Perl?
What about the UBB, does it consume processing power when it gets big? about 5,000+ active users?
Like a phoenix rising from the ashes..
|
|
|
|
Joined: Jul 2000
Posts: 1,349
Member
|
Member
Joined: Jul 2000
Posts: 1,349 |
To summarise what Charles said: You will never notice a difference in CPU processing time between PHP and Perl, the file IO is the limiting 'bottleneck' in the total processing time between HTTP request, and page display in the browser.
I maintain a version 5 UBB that had over 25 THOUSAND members until I pruned back to just the active ones yesterday- 4000 or so.
And that site is on an shared, modest server. So from my experience, UBB can handle HUGE amounts of inactive members, and is also happy with several thousand active ones.
|
|
|
|
Joined: Mar 2001
Posts: 43
Member
|
Member
Joined: Mar 2001
Posts: 43 |
Thanks alot 
Like a phoenix rising from the ashes..
|
|
|
|
Joined: Jan 2001
Posts: 421
Member
|
Member
Joined: Jan 2001
Posts: 421 |
i got banned from PC borg
|
|
|
|
Joined: Jan 2001
Posts: 48
Member
|
Member
Joined: Jan 2001
Posts: 48 |
is there a way to customize or any trick that make UBB use less CPU usage? i got kick out from 2 ISP hosting due to CPU over usage.
|
|
|
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
If you were kicked off, your UBB was doing too much I/O for those hosts to handle. What is the URL to your board?
UBB.classic: Love it or hate it, it was mine.
|
|
|
|
Joined: Mar 2000
Posts: 162
Member
|
Member
Joined: Mar 2000
Posts: 162 |
Personally, I smell MySQL in UBB 7.0  and I think that UBB6 period will be short .. about a year or so. [ June 08, 2001 05:17 AM: Message edited by: JB007 ]
|
|
|
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
UBB will never feature a DBI + RDBMS backend.
UBB.classic: Love it or hate it, it was mine.
|
|
|
|
Joined: Jan 2001
Posts: 48
Member
|
Member
Joined: Jan 2001
Posts: 48 |
hi, here is the address. http://www.vietvoice.net/cgi-bin/ubb/ultimatebb.cgi What the isp hosting really mean when they said UBB uses resource 3 times more than regular file. Is it true or they just said it? Also, is is the UBB cause trouble since the script we use is not the lastest and officially from infopop? i got this script from a friend of mine... is it possible that the modify something so that it cause us trouble? thanks for you help.
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
oh geez. Close this please... Paul Iracy!!
|
|
|
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
Bubble, get the latest from the Members Area... and find a host that is competent please.
UBB.classic: Love it or hate it, it was mine.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 190
Joined: June 2000
|
|
Forums63
Topics37,571
Posts293,923
Members13,848
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|