ruby on rails - Flow for downloading and unzipping files for Heroku and S3? -


i'm working apple's itunes epf data files. i'll daily need download, unzip , process 1-3gb of data in .tbz files every day.

i've got rails app, hosted on heroku, asset storage being taken care of on s3.

but i'm having trouble flow getting epf files apple.

there 3 files i'll downloading. each .tbz files varying in size 1gb down ~20mb.

heroku doesn't have way reliable store files, assume need download files directly s3? somehow unzip them there?

that's i'm hitting snag. know how files apple , on s3, decompressing them i'm not following.

and since data files can pretty large, minimizing transfer on s3 critical keeping costs down.

is there service can let me download apple files servers, decompress, , upload s3 necessary files?

heroku's file system ephemeral, can still write out /tmp temporary scratch space download, unzip, whatever processing need, re-package (if needed), , uploaded s3. because of automatic dyno restarts (or manual restarts), make sure service knows how gracefully resume if interrupted.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -