Ruby On Rails is slow…?

后端 未结 11 1821
说谎
说谎 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-02-01 00:11

    There are some good screen casts on this topic http://railslab.newrelic.com/scaling-rails

    Things like fragmet caching and using :include (to avoid n+1) can help. It sounds like you're already using memcached, so why not curl the url to prefetch the cache?

提交回复
热议问题