Number of users is not the only one thing, you need to think about, when you
are choosing technology.

PHP is a _scripting_ language with out of _static typization_,
multi-threading, full OOP support and its API is pretty weak too.
Also it is _not_ designed for servlet ideology: each request runs script
from the very beginning. You can use fast_cgi, but sometimes it is painfull
procedure too.

But it is fast and easy-to-use.

Apache + PHP  may run on P-166/64 RAM/FreeBSD serving phorum for ~ 100 users
with out of troubles.

Programs are small too, like in all scripting languages. 

If you are going to move to php, be ready to:
1) loose tools like log4j.
2) meet API, 10% of which uses OOP and exceptions, and 90% is procedure /
errors based. 
3) you would not have namespaces.
4) because of dynamic typization, you would be able to find some types of
errors only in runtime.
5) no multithreading

etc...



-----Original Message-----
From: Jason Pyeron [mailto:jpye...@pdinc.us] 
Sent: Friday, March 20, 2009 6:04 PM
To: 'Tomcat Users List'
Subject: very off topic marketing question

I have a client that is confused why we are giving them a J2EE product and
they are concerned with performance and scalability.

(IE/Tomcat 5.5/struts 2.1/hibernate 3.x/oracle 10g)

Note the system will never see more than 50 users/sessions with 7500 hits
per day on a lan. As such we don't see any relevance as to the performance
and scalability issues for either PHP or J2EE.

They have quoted to us:

"PHP by itself is very fast. Much faster than ASP or JSP running on the same
type of server. This is because it has very little overhead compared to its
competitors and it pre-compiles all of its code before it runs each script"

How would others respond to this?

-Jason

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to