Paperclip, Delayed Job, S3, Heroku - design for delayed processing of sensitive uploaded files: db or s3?

后端 未结 2 1806
终归单人心
终归单人心 2021-02-04 20:08

I need feedback on the design for uploading and delayed processing of a file using heroku, paperclip, delayed job and, if necessary, s3. Parts of it have been discussed in other

2条回答
  •  终归单人心
    2021-02-04 20:10

    For my part I'm using :

    • Delayed Job
    • Paperclip
    • Delayed Paperclip which uploads the original file on S3 and create a delayed job with the custom post processing. It can add a column to you model stating that the file is being processed.

    Only a few lines to set up. And you can do a lot with paperclip interpolations and generators.

提交回复
热议问题