Previous Thread
Next Thread
Print Thread
Rate Thread
#102777 06/05/2001 6:59 PM
Joined: Mar 2001
Posts: 43
Member
Member
Offline
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..
Sponsored Links
#102778 06/06/2001 1:11 AM
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.
#102779 06/06/2001 9:29 AM
Joined: Nov 2000
Posts: 7
Junior Member
Junior Member
Offline
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?

#102780 06/06/2001 11:58 AM
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.
#102781 06/06/2001 5:58 PM
Joined: Mar 2001
Posts: 43
Member
Member
Offline
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..
Sponsored Links
#102782 06/06/2001 6:23 PM
Joined: Jul 2000
Posts: 1,349
Ell Offline
Member
Member
Offline
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.

#102783 06/07/2001 11:31 AM
Joined: Mar 2001
Posts: 43
Member
Member
Offline
Joined: Mar 2001
Posts: 43
Thanks alot smile


Like a phoenix rising from the ashes..
#102784 06/07/2001 1:18 PM
Joined: Jan 2001
Posts: 421
Member
Member
Offline
Joined: Jan 2001
Posts: 421
i got banned from PC borg

#102785 06/08/2001 12:02 AM
Joined: Jan 2001
Posts: 48
Member
Member
Offline
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.

#102786 06/08/2001 1:02 AM
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.
Sponsored Links
#102787 06/08/2001 5:16 AM
Joined: Mar 2000
Posts: 162
Member
Member
Offline
Joined: Mar 2000
Posts: 162
Personally, I smell MySQL in UBB 7.0 laugh and I think that UBB6 period will be short .. about a year or so.

[ June 08, 2001 05:17 AM: Message edited by: JB007 ]

#102788 06/08/2001 11:42 AM
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.
#102789 06/08/2001 10:22 PM
Joined: Jan 2001
Posts: 48
Member
Member
Offline
Joined: Jan 2001
Posts: 48
Quote
quote:
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.

#102790 06/08/2001 10:37 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
oh geez. Close this please... Paul Iracy!!

#102791 06/09/2001 12:58 AM
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.

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)