JoseAlberto dijo [Wed, Sep 30, 2009 at 02:51:30PM +0200]: > twitter gains 30% of througput (without refactoring) using REE (1) but > the really great about passenger is how easy is to use, configure once > and use in 3each app, i dont need to worryed about what raisl version > need the app, just confiugre passenger, and put the app in thepassenger > dirs, restar the server and the apps works like charm.
Actually, the only real feature gain that Passenger would bring is the seamless application restarts — Given all the performance gain comes from the (completely non-free) REE, you would be better off using Mongrel. Mongrel has also a very lightweight configuration, and is built to get out of your way. The only thing I need to configure is to drop off a YAML configuration and to set the webserver to forward a virtual host to its TCP port: $ cat /etc/mongrel-cluster/sites-available/mysite.mx.conf --- cwd: /home/webapps/mysite.mx/ log_file: log/mongrel.log port: "8001" environment: production address: 127.0.0.1 pid_file: /var/run/mongrel-cluster/mongrel.pid servers: 1 The cool thing here is that each Mongrel process can be set to run with a different user ID. Via the Rails configuration wizard in cherokee-admin you can basically achieve the same thing. Of course, tweakability comes at a price: At the price of knowledge. Once your applications go live and you have to start worrying about details related to scalability and low downtime for upgrades, you'd much rather not leave yourself in the wizard's hands. You will learn what each entry means. -- Gunnar Wolf • [email protected] • (+52-55)5623-0154 / 1451-2244 _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
