- 10月 16 週五 200914:38
EngineYard Blog 10/13 發表的一篇文章:Rails in the Wild: 5 Client-Side Performance Observations 五個重點: 1. Its easy to forget to compress your JavaScript and CS
這是今天在 EnvyLab 看到的一篇文章所提到的新 starup Mad Mini 一般傳統寄信的做法通常是靠 ActionMailler 去寄不過 ActionMailer 本身有相當多的問題,大量使用會有維護上的困難 這篇文章的建議是使用 Mad Mini API 取代掉 deliver me
在開發時,使用 partial 是相當簡潔以及迅速的做法但這會帶來一個壞處造成相當多的 db query 以及 render :partial 這個行為帶來的 slow down 解法是,在 controller 下 find all 時,順便下 :include ,把相關的 model 都拉一拉
使用 Data Fabric 這個 gem 這個 gem 的想法是建一個 proxy,先去問 mapping table,然後要資料時 reset db connection 去該負責的 db 拿資料
Splitting up Rails Models to different databases 然後在 lib/tasks/dev.rake 裡寫 override db:create; db:drop 的 rake; 確保重建資料時一致
Description Rails plugin and log parser to help narrow down the sources of increased memory usage in rails applications. Synopsis Oink adds memory and
Matt Jankowski provided a great article on properly indexing your database for your Rails application. He covers indexing validation and STI columns,