Optimizing Rails Resource Usage
Found via Rails Tips, link point to TextDrive weblog
- Minimize the amount of FCGI listeners
- Use caching
- NEVER run “development” on FastCGI for more than 1-2 hours
- Observe your memory consumption
- Rotate your logs
- Write and run unit tests
- Check for memory leaks when you are developing
- Be careful with iterations
- Watch the Rails TRAC for bug reports
- Be vigilant when restarting your server
Use RailsHelp for quick searching through the Rails API docs.