Closed timscott closed 11 years ago
Hi Tim.
Thanks for looking into this more. It seems that Heroku have made a change to the dyno lifecycle that is non-optimal for AAI use as you say. I'll discuss with other people and look at changing the docs.
Cheers.
D.
Douglas F Shearer http://douglasfshearer.com
On Wednesday, 9 May 2012 at 04:55, Tim Scott wrote:
The docs say that acts_as_indexed "supports Heroku." This is misleading and should be clarified.
https://devcenter.heroku.com/articles/read-only-filesystem
According to the Heroku, a file written to tmp is guaranteed no longer than the duration of a single request. In practice perhaps files live much longer; however, this should be explained. Also, it might be so that acts_as_indexed will try to rebuild indexes automatically, but my experience is, it will eventually fail, and there is no obvious way to manually repair it.
I should add that acts_as_indexed is pure awesome in terms of ease of use an intuitive and powerful design. However, in my opinion it's a bad choice on Heroku, event as a "starter" solution. Sucks that Heroku does not provide some limited durable file storage as part of the base plan.
Reply to this email directly or view it on GitHub: https://github.com/dougal/acts_as_indexed/issues/29
Hi Tim.
I've updated the Heroku documentation in the Readme to include the above link.
Thanks.
The docs say that acts_as_indexed "supports Heroku." This is misleading and should be clarified.
https://devcenter.heroku.com/articles/read-only-filesystem
According to the Heroku, a file written to tmp is guaranteed no longer than the duration of a single request. In practice perhaps files live much longer; however, this should be explained. Also, it might be so that acts_as_indexed will try to rebuild indexes automatically, but my experience is, it will eventually fail, and there is no obvious way to manually repair it.
I should add that acts_as_indexed is pure awesome in terms of ease of use an intuitive and powerful design. However, in my opinion it's a bad choice on Heroku, event as a "starter" solution. Sucks that Heroku does not provide some limited durable file storage as part of the base plan.