Saturday, August 21, 2010

[Rails] Re: Cleanly handling sub-generatede files with Paperclip

Fernando Perez wrote:
> Interesting approach. In particular problem you ran into in practice?
> Too many files for the fs? Database blowing up? Other?

It has worked really well in practice. The failing point was always
ImageMagick, really. We ended up using pdf2image instead, which yielded
much better output, much faster. We've processed 120+ page documents, so
the file issue wasn't a problem. With the time it takes to process the
images (assuming you are resizing / thumbnailing) you'll certainly want
to process with a background processor though--Delayed Job, Resque or
the like.
--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate