I have an application that sends emails and uploads files (and resizes the image). Both of these services are not used too often and are quite lightweight.
I already use the SQS queue to send messages (via email / subject / body) to a worker working with a Sinatra application that calls the SES API, this works fine. My question is: is it possible to send file upload messages to the same employee? Perhaps this may be in another queue.
It seems pretty wasteful to have two instances of ec2 sitting there (for the most part) without doing anything.
PS: I use elastic beanstalk
amazon-web-services amazon-sqs
Mark kenny
source share