阅读背景:

rails 3.1 - 将数据从本地数据处理服务器移动到heroku生产服务器

来源:互联网 

I'm building a rails 3.1 app that requires a load of data to be crunched and processed on a local server (using a bunch of non-rails tools and writing to mysql) and then for the refined results to be punted up to a heroku production server (front end). because the data crunching aspect of the process needs to be run in batches, my first instinct was simply to upload the results table to production using something like "heroku db:push --tables data" - but the problem is that it is sslloowww and the app is without data for about 40mins at a time. the crunching batches need to be run about 4x per day - so it looks like this approach isn't really going to work. any suggestions how to speed this process up or any alternative schemes for getting the data less obtrusively up to the production server? thanks!I'm building a rails 3.1 app that requires a lo




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: