> Hi everyone, > I'm currently evaluating Cherokee as a replacement for an cPanel+Apache server > I'm using to host all my websites. I'm testing out my personal site and I've > noticed that Apache is loading quicker than Cherokee (whereas I thought Cherokee > would be faster)? I've set up a fresh Apache and fresh Cherokee > installation on > a new virtual server to test this out. > > My configuration: > - Debian Testing > - Apache 2.2.19 - Fresh install, running on port 80 > - Cherokee 1.2.2 (latest version in Debian repository) - Fresh install, > running > on port 81 > - PHP 5.3.6 and XCache from dotdeb.org > - PHP Apache module for Apache, PHP-FPM for Cherokee (XCache enabled for > both) > > Cherokee configuration: http://sprunge.us/NdPc > Test Apache: http://dan.vps.dan.cx/ > Test Cherokee: http://dan.vps.dan.cx:81/ > WebpageTest.org speed comparison: > http://stuff.dan.cx/temp/dan.cx_speed_test.png > > Any ideas as to why Cherokee would be performing slower? I would try a newer > version of Cherokee (1.2.98) but it's not in the Debian repository, and I didn't > want to compile it up myself. > >
You should really test it on static file serving, to make a true comparison. mod_php and php-fpm are totally different beasts, you should post your fpm config but take in account that in mod_php the php interpreter is embedded in the webserver (questionable choice...) in fpm is run proxied via the fastcgi protocol (can be a bit slower but gives you much more control and security) -- Roberto De Ioris http://unbit.it -- Roberto De Ioris http://unbit.it _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
