PHP is interpreted. JSPs are compiled. Yet the PHP interpreter seems tightly coupled with Apache (using mod_php). The JSPs are compiled, but it's bytecode...yet the java runtime is highly optimized...yet there is the Tomcat container and mod_jk sitting in between Apache and the runtime.
Lots of things to consider, of course. Has anyone benchmarked these two configs? Anybody have some real-world data or experiences concerning performance, whether it is a simple site, or complex, under various (preferably heavy) loads?
Any thoughts?
For best performance should I code it all in C++ using a CGI gateway? (ha ha just kidding)