More Related Content Similar to Rails hosting (20) Rails hosting6. Version 1: pro’s
• fast
• lighttpd easily scriptable (lighty)
• lighttpd managed/monitors ruby processes
• mixing rails and php is possible
9. Version 1: lighty
• Perl-wrapper around lighttpd
• port locking
• force the production-env
• easy, short configuration files for clients
10. Version 1: lighty
$HTTP[quot;hostquot;] =~ quot;^(www.)?example.openminds.bequot; {
var.app = quot;examplequot;
accesslog.filename = base + quot;/logs/quot; + app + quot;.access.logquot;
server.errorlog = base + quot;/logs/quot; + app + quot;.error.logquot;
load Rails with capistrano app
}
11. Version 1: con’s
• restart everything on change
• deploy => restart needed
• heavy sites => connection drops
• errors in logfiles
• errors in config files (new users)
17. Passenger: con’s
• No client-config files (sock)
• Maximum amount of processes limiting, not
for minimum amount (startup delay)
• Apache 2: love & hate - small setup might
give memory problems
25. Technology
Mongrel / Evented Mongrel / Ebb / Thin / Nginx /
Apache / Passenger / Merb / Enterprise Ruby / JRuby /
Glassfish / ...