How to properly implement a feed in django, drf and aws?

The project is on Django and DRF on aws. Files on aws s3.
Task: need a feed with content (pictures, videos, animations).
Each image should be multiple thumbnails with different sizes.
GIF and video had to be converted to mp4.

How best to implement, to avoid sags performance\query time?

To convert I think when you save.
For miniatures I think to use, but not sure how to do everything competently.
sorl does cache of thumbnails. To keep it also on s3 or something on the type of redis?
In post_save it is necessary to cut the thumbnails into the cache?

Can someone tell me good practices or articles on this topic, or just throw a couple of thoughts I would be grateful.
March 19th 20 at 08:54
1 answer
March 19th 20 at 08:56
Pictures pinch using lambda@edge on the fly and cached in the same CDN. Video can be pinched or when uploading to s3 via event trigger, or to use a rtmp Cloudfront (they have a ton of options for broadcast video)
And everything else as you want and do it)

Find more questions by tags Django Rest FrameworkAmazon Web Services