> For the complete documentation index, see [llms.txt](https://shoppinpal.gitbook.io/docs-shoppinpal-com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shoppinpal.gitbook.io/docs-shoppinpal-com/9.-queues-and-workers/nodejs-workers-in-aws-ebs/sqs-daemon-by-aws.md).

# SQS Daemon by AWS

## NodeJS workers in AWS EBS

### SQS Daemon by AWS

1. `nginx` sits between `sqsd` and workers for no good reason!
   * Its presence creates more issues:
     * `5xx` errors that claim "loss of connection to upstream server"
     * connection errors like `ECONNRESET` and various other socket hangup problems
2. `sqsd` itself is quite buggy too
   * messages end up on dead letter queue (`DLQ`) despite the worker reporting `200 OK` for success.
