Which of PHP, ASP or Java is best for Maintenance Ease, Scalability and Uptime?


Planning to build a large portal? There are many large sites today that are on Php. Some believe J2EE or ASP.Net deliver the required performance. What is the best technology to go for scalability and uptime?

My answer for scalability is that they all work great. Computers have become fast. It depends on who codes. Most of the technologies: php, asp.net, j2ee, perl, ruby all have large websites built with them.

Uptime has more to do with your servers, maintenance processes, full time 24/7 staff, upgrade procedures, and SLA’s with the web providers. For full uptime, you have to pay for it. Full time 24/7 staff, active/active connections in multiple data centers, rollback procedures, backup plans, and much more all have to be considered for a full fledged running website..

All of the technologies are scalable.

If you have a coder that codes the same efficiency for all applications, the faster maximum speed you get will require more complex coding. Generally speed of stuff goes like this:

* C – fastest – bar none. however, pain to rebuild and there’s not a lot of talented C coders out there
* C++- same issues as C but C++ is much more popular – especially in the financial markets. If you need a data set like google (trust me, you don’t) then you’re going to need C++ and probably on a UNIX platform (although Windows has proven to have enough horsepower)
* Java – Great for moving between operating systems. Works on nearly all platforms. Lots of $50/hr coders out there. However, not as fast as C++. But who needs that speed? Would you notice the difference if you clicked on a webpage and it returned in .001 second or .1 second? Bet you won’t.
* ASP – same thing as java but will only work on windows (yes, there’s ASP for unix out there, but just stay clear of it). If you’re OK with staying windows forever, then this works fine.
* php, python, ruby – much slower than java, but you can make changes faster. Again, if you pump in the hardware to scale with the site (hardware is cheap these days), this works fine too.

My point: ASP, Java, and much more *do* the required performance.