Hi, I was assigned a class work in the university to compare web applications architectures, mainly PHP vs Java+Hibernate+Struts/Stripes. I'll need to provide some benchmarks for some typical web apps.
Well, I'm a bit afraid that Java may win, because of the usage of Hibernate, which caches sql stuff in memory. The first request is usually very slow (10 seconds or more), but following requests are much faster. So, do you have any suggestions for which PHP application architecture should I discuss? Like a standard pdo-based app, with files being generated and stored on the server, possibly bypassing php completly on the following request (like livedocs). Use a particular PHP framework (cake, zend, ...)? Any useful case-studies that you may have are also welcome. (Although I participate in the PHP development for a few years, the websites I run have at most 1.5 million page views per month, so performance isn't an issue, hence my lack of experience in scaling PHP apps..) Thanks, Nuno P.S.: Sorry for the off-topic, but I didn't find a better place to ask this. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php