Solved

How much PHP server is scalable compared with the other web application servers ?

Posted on 2011-02-20
11
272 Views
Last Modified: 2012-06-27
Hi Experts


I'd like to know how much PHP server is scalable compared with the other web application servers like Tomcat etc...

(Let's say If a application grows up from 50 to 1,000 users connected)

Thanks in advance !
0
Comment
Question by:Eduardo Fuerte
11 Comments
 
LVL 4

Expert Comment

by:andreizz
ID: 34936997
Well it depends on your script mostly, but since i launched my website info.tm.edu.ro, from 0 day when i had 0 users to now when i have 2000 i didn't have to do a thing.
0
 
LVL 27

Accepted Solution

by:
Lukasz Chmielewski earned 167 total points
ID: 34937338
0
 
LVL 108

Assisted Solution

by:Ray Paseur
Ray Paseur earned 166 total points
ID: 34937726
Facebook is a PHP machine, as are many parts of Yahoo.  So if your site is going to be bigger than Facebook, you might need an alternative.  Until then, you will be able to do anything you want with PHP, without any risk of performance problems.

As a practical matter, the performance of your site will depend on the I/O subsystem, not the scripting language you choose.  In web applications that almost always means the data base.  Index your data base appropriately, write your queries correctly, use normalization and you will be fine.  When it comes time to start looking for high-performance options, consider APC and memcacheD.
0
 
LVL 38

Assisted Solution

by:Aaron Tomosky
Aaron Tomosky earned 167 total points
ID: 34937741
Don't confuse the webserver with the serverSide language. Iis and apache are web servers. Apache can use php or ruby or many other languages as it's server side language. Iis can do .net but also php and other languages. Tomcat is a special program that runs jsp (java server pages) and while it can run on its own, it's usually paired with apache.
0
 

Author Comment

by:Eduardo Fuerte
ID: 34951177
Hello

So as I understood  the point is:
Saying all script issues are well solved DB well designed, etc,..)
Scalability/ performance  is a matter of load balancing, I/O optimization, server capacity - in a word infrastructure solutions - ok ?

Only for my knowing and to conclude:

I've thought  that Java   technologies due the use of EJB (and it's special application server) could give a better scalability results. By the way PHP could use an similar resource ?
 
Thanks again.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 2

Expert Comment

by:karthi4all
ID: 34958809
Java fits for other purposes.

In project manager's view, its easy to train team and bring productivity on php side for some projects*.

If I want scalability, load balancing can be done within php itself just like facebook did.
0
 

Author Comment

by:Eduardo Fuerte
ID: 34960540
Ok, but my doubt remains in the possibility of server application like JBoss from PHP.
0
 
LVL 2

Expert Comment

by:karthi4all
ID: 34967687
Like said before PHP is a server language which runs on apache & PHP Interpreter,  Where JBoss is a java application server
0
 

Author Comment

by:Eduardo Fuerte
ID: 34968692
My doubt is: Does PHP could use something similar (not exactly JBoss)

JavaEE : Tomcat + JBoss (and many others)
PHP:       Apache + (???)
0
 
LVL 2

Expert Comment

by:karthi4all
ID: 34979702
As I mentioned before, for PHP to work, You will need Apache and PHP Interpreter.

The following link has the PHP interpreter

http://www.php.net/

According to your OS choose binaries in download section in the above provided link.
0
 

Author Closing Comment

by:Eduardo Fuerte
ID: 34980982
I had a technichal question but I think it's been misunderstood.
I'm actually owning a PHP/ Flash website - all developed by me. Few years ago I've got the needed software.
JavaEE can use two kinds  web servers Tomcat and  Jboss (and others) each one with different purposes with performance improvement.
My doubt was about  PHP could use the second kind of web server (It doesn't need to be of a JavaEE flavor)
I'm assuming PHP uses only Apache
Thank you for the significant technical replies (but  partial) about my doubts
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now