作者提出十個針對Ruby on Rails Performance的小技巧,有興趣的可以到該網頁參考。

  1. Optimize your Ruby code.
  2. Caching is good.
  3. Use your database to the full extent of the law.
  4. Finders are great but be careful.
  5. Group operations in a transaction.
  6. Control your controllers.
  7. Use HTML for you views.
  8. Logging.
  9. Patch the GC.(Garbage Collection)
  10. A final not, be “performance aware” and work on your code with these principle in mind.