Function with Large Memory for Image Processing
Would be great to set a Scheduled Trigger to process all my database images and store then in S3.
1— Would need to have memory settings for a function, to specify like 2GB or 4GB.
2— And ultimately, add Sharp library https://github.com/lovell/sharp because it has install scripts. AFAIK I couldn't install on a local computer then upload to the Realm Dependencies (not tested yet).
That would create a great dev experience, after a user uploads some images the triggers take over and process all the required image sizes and stores on S3 for delivery over CloudFront.
Of course, the best scenario, would be if Realm include image processing and serving directly, maybe completely out of scope, but not so crazy if we think about a real-world use-case.
Thanks!