| TheOutlander | agile web devl on rails says that fastcgi is bad of course i am trying to it loads the ruby interpretor and rails framework for each request |
| pstickne | no it doesn't. |
| AnakinKain | lol i must have had been lying to myself. |
| pstickne | that's normal CGI. |
| AnakinKain | I got rid of the error though. |
| TheOutlander | it says to use proxying on http is a better option ... ? |
| ypSami | ReinH: rails abstract models < use that as a google term, and check out the 2nd result. |
| BigFisch | TheOutlander: It's bad because it's slow. Use a proxy cluster to use apache to serve static pages and then forward ruby to mongrel |
| pstickne | fastcgi and friends sets up an IPC server (apache module, etc)/client setup (loop around RoR code) |
| TheOutlander | BigFisch: interesting ... is that a scalable solution ... im using lighttpd |
| ReinH | ypSami: ok, sec |
| BigFisch | TheOutlander: It's the MOST scalable solution (using proxies) |
| lisa | apache-2.2.x + mod_proxy_balancer + lots of mongrels = win |
| BigFisch | TheOutlander: Especially w/ Mongrel (start with two clusters, and keep adding more clusters if you need it: need more memory though for each one) |
| TheOutlander | BigFisch: i c.... why mongrel ? ...I thought all i needed was lighttpd |
| lisa | TheOutlander: how do you plan to run rails without mongrel? |
| TheOutlander | BigFisch: i guess its good for dynamic content |
| lisa | do you know something we don't? ;) |
| TheOutlander | i guess not ... thats why i come here :P |
| scriptdevil | are there any free subdomains offering rails support? |
| TheOutlander | lisa: I am using fastcgi to process rails requests |
| BigFisch | TheOutlander: LightHttpd is a replacement for Apache, it's best at serving static files. The only way to serve RoR pages through lighthttpd is through a proxy or mod_roby/fcgi Just like apache |
| lisa | fastcgi is icky |
| TheOutlander | bigFisch: right .. I am using fastcgi .... i heard mod_ruby is deprecated too .... so is that where mongrel is a better option? yes I am having so many issues constantly ... crash log is HUGE |
| BigFisch | TheOutlander: Yes, use mongrel. |
| TheOutlander | Thanks! |
| BigFisch | TheOutlander: Read this => http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/ TheOutlander: It's probably out dated by now, or maybe not. But it's how I got started. |
| ben_h | hi folks |
| TheOutlander | i thought mongrel was not scalable ... . i c |
| Dreamer3 | ha |
| ben_h | has anyone inspected the log output that an update_attribute generates before? it seems inefficient |
| Dreamer3 | mongrel scales just fine |
| BigFisch | Anyone who says something isn't scalable doesn't know what they are talking about (relating to serving content) There is ALWAYS a way to scale something. |