Primary links

TextDrive Weblog: Optimizing Rails Resource Usage

So here it goes, a list of 10 things I recommend to do to streamline your application and make it more bearable for others.
In short,

  1. Minimize the amount of FCGI listeners
  2. Use caching
  3. NEVER run "development" on FastCGI for more than 1-2 hours
  4. Observe your memory consumption
  5. Rotate your logs
  6. Write and run unit tests
  7. Check for memory leaks when you are developing
  8. Be careful with iterations
  9. Watch the Rails TRAC for bug reports
  10. Be vigilant when restarting your server
實用程度: 
4

Powered by Drupal 5.5 and copyright © 新趨勢網路科技實驗室 ( Emerging Network Technology Laboratory ), Some Rights Reserved
This work is licensed under a Creative Commons License.