I'm using PHP and Graphicsmagick and I have a bunch of users uploading batches of images.
These batches run from one image to hundreds, maybe even a thousand.
I need to store these original uploads on Amazon S3 and I also need to resize each image to three different sizes and also store those copies on Amazon S3.
This needs to be as realtime as possible.
How would you architect this for best performance?