Ruby On Rails is slow…?

后端 未结 11 1994
说谎
说谎 2021-01-31 23:50

I\'m writing a web application to monitor a furniture factory production flow. It has thousand of data to handle. So far, I run RoR on Mongrel + MySQL and it\'s really really sl

11条回答
  •  情书的邮戳
    2021-01-31 23:57

    The previous two answers are helpful, especially using performance monitoring tools. I use New Relic RPM and it's helped me a great deal in the past.

    However, these sorts of tools are really best when you're trying to speed up from, say, 3 seconds to under 1 second.

    2-4 minutes for a view to render is absolutely not normal under any normal circumstances.

    Could you show us some of your development logs to figure out where the bottlenecks are?

    Are you including time the browser takes to load images, javascripts, or other files into this total measurement?

提交回复
热议问题