A simple alternative to the Amazon SQS Daemon ("sqsd") used on AWS Beanstalk worker tier instances. Inspired by https://github.com/mozart-analytics/sqsd, rewriten for Node.js
Thanks for the project. It is very useful in time of building applications via microservices and using Docker.
But we tried to use SQSd in an application with an enabled auto scaling and encountered an issue when one SQS message is processed by two workers simultaneously.
Could you tell me, product has an ability to work in environments that scale automatically?
If yes, is there a setting of how a correct behavior, like one message is processed by one worker, could be set?
Amazon's sqsd supports scheduled jobs via a cron.yaml spec file. It looks like this would be pretty easy to support since there are at least a couple of npm packages supporting scheduling jobs according to a cron schedule.
Have the developers considered such a feature? Just wanted to check before I possibly started working on adding it.
I have a message which triggers an upload of files. Since these files can be quite large the process may take some time. During this long interval of time the same message is posted to the server causing an endless loop of trying to upload these very large files. Any suggestions in regards to de-duping so only one of these messages is being processed at once?