4 ms·
Give them a unique ID, correlate it to the upload in your database. Then upload the image to S3. Also drop a description of what needs to be done in an Amazon S
by st3fan 18y ago
Give them a unique ID, correlate it to the upload in your database. Then upload the image to S3. Also drop a description of what needs to be done in an Amazon Simple Queue.
Your Image Processors poll the queue. Receive the work order, fetch the image from S3 and then store it back there or do whatever you need to do with them.
Loosely coupled. Scalable. Fault tolerant. Oh and simple to implement.
Ping me if you need help with this :-)