?
Solved

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

Posted on 2011-02-20
11
Medium Priority
?
292 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 668 total points
ID: 34937338
0
 
LVL 111

Assisted Solution

by:Ray Paseur
Ray Paseur earned 664 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 39

Assisted Solution

by:Aaron Tomosky
Aaron Tomosky earned 668 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
 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
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 create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
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 …
Suggested Courses

770 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