Rails Performance Tuning for Production?

后端 未结 4 1943
醉酒成梦
醉酒成梦 2021-01-30 03:45

I\'m getting close to deploying an application built on Rails 3.1.x and started running some performance tests. After fiddling with ab for a bit, I\'m seeing some

4条回答
  •  失恋的感觉
    2021-01-30 04:12

    As nothing has come up yet, I'll provide an answer for the PostgreSQL part. I can't assist with Ruby.

    You can find excellent starting points for optimizing performance at the PostgreSQL wiki.

    • Tuning the server settings (not sure how much is possible with Heroku)
    • Pay special attention to slow queries
    • Check your hardware (not applicable with Heroku)

提交回复
热议问题