Solved

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

Posted on 2011-02-20
11
268 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

759 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

22 Experts available now in Live!

Get 1:1 Help Now