On Wed, 2009-09-30 at 13:55 +0200, Stefan de Konink wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > JoseAlberto schreef: > > Any plans to integrate REE & phusion passenger in cherokee? > > nginx already do it, ruby web apps get aroun 30% more of througput adn > > less memory use when run on passenger over REE (both are opensource > > projects). > > Nginx is gettign a lot of users thanks to that. > > My hunch or high performance webapps; Ruby should not even come into the > picture. But that aside, reading the documentation: > > "Passenger cannot use the mod_php way because it would force us to spawn > a new Rails application for each request, which is — as explained > earlier — unacceptably slow. Instead, Passenger uses the PHP-FastCGI > approach. We maintain a pool of application instances, and whenever a > request is received, we forward the request to one of the application > instances in the pool. The size of the pool is configurable, which is > useful for administrators of servers that are either heavily loaded or > have little memory." > > If anyone is interested in Phusion, why not make Phusion fastcgi compatible? >
Phusion is a complete stack built to hide the apache internals to the lazy programmer/sysadmin Behind all the auto-configuration stuff there is a simple communication protocol (similar to SCGI) and a rack handler (in the latest version) rack is the ruby equivalent of wsgi and there are a lot of rack-handler to communicate with standard protocol (FastGCI, SCGI...), so i think there is no need to pollute the webserver with a complex handler that does all the automagic things. Use Rack with a communication (fastcgi, scgi and even uwsgi) protocol and you can use all the ruby frameworks, now and pritcally all modern version of cherokee. Phusion Passenger is surely a great product but i do not think that adding that sort of heavy-layer its a good design choice. -- Roberto De Ioris http://unbit.it JID: [email protected] _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
