Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 11-06-2005, 01:33 PM PHP Scalability
Novice Talker

Posts: 9
Trades: 0
I've decided to use PHP 4.1.1 and MySql to develop my site running on Tomcat using Microsoft-IIS/6.0, the latter details being meaningless to me as i haven't a clue what that does or doesn't mean. Also, i'm using ADOdb to talk to MySql and any existing customer database ii may have to deal with in the future.
Anyway, i have no real problems with the coding, i've taken a procedural approach despite this version of PHP supporting modularisation. Although my coding is primitive by experienced developers standards it is suprisingly brief and functions adequately.
My concern now is how and where my set-up will deal with multiple concurrent user requests which i assume is thread handling. I'm also concerned about bottlenecking of the database and Tomcats capabilities (would Apache be better). Finally, if by some miracle anything i produce needs scaling what support does my set provide. Excuse the volume of questions but i'm a bit of a novice in at the deep end.
phouse is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-06-2005, 01:57 PM
Extreme Talker

Posts: 160
Trades: 0
I would strongly advise you to update your version of PHP unless you are happy configuring your php.ini file for aspects such as greater security. Even then I would say upgrade to the latest version of 4. I would also advise you to use the mysql functions native to version 4 when connecting to a mysql database. These are well-documented in the PHP manual

You may consider updating to version 5 although this may not have any advantages for you depending on what you are doing, also the mysql support is not as seamless as it is in version 4.

There is nothing inherently wrong with the procedural approach. If your applications aren't large, stick with it.

The Apache, MySQL, PHP combination has excellent scaling potential and is very well-supported within the community.
ElectricSheep is offline
Reply With Quote
View Public Profile
 
Old 11-06-2005, 02:55 PM
0beron's Avatar
Defies a Status

Posts: 1,832
Location: Somewhere else entirely
Trades: 0
PHP usually runs as a compiled in module for Apache making it significantly faster than as a cgi handler. Not sure how it works with Tomcat.
__________________
UPDATE 0beron SET talkupation = talkupation + lots WHERE post = 'helpful';

Please login or register to view this content. Registration is FREE
(aka MSN handwriting for forums)
0beron is offline
Reply With Quote
View Public Profile Visit 0beron's homepage!
 
Reply     « Reply to PHP Scalability
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.41036 seconds with 12 queries