0

I use resque to process pictures and upload to s3 with paperclip in background. But every worker will load whole rails instance about 120MB~150MB.

I found this tutorial could deal with background job without loading rails. http://railscasts.com/episodes/243-beanstalkd-and-stalker

How could I manipulate paperclip with stalker, or the other better solutions?

Thanks.

chiayi
  • 55
  • 2
  • 6
  • Paperclip is dependent on ActiveRecord. You can always omit the controller and view environment components, though. – tadman Jun 19 '12 at 15:57
  • @tadman I have no idea how to manipulate paperclip without model. Could you give me some tips or code, thanks. – chiayi Jun 20 '12 at 04:44

1 Answers1

0

I made a lightweight class that can be used for Paperclip.

That a look a it here : gist

basgys
  • 4,320
  • 28
  • 39