Pixwel Services
The following services are installed across all environments, and are responsible for background dispatch and delivery of event notifications over various channels. These workers use Amazon SQS to ensure that messages are delivered and processed atomically. In development and demo environments, ElasticMQ is used to provide an SQS-compatible API so that the same pattern can be used across all environments.| Name | Config | Description |
|---|---|---|
pixwel-worker-notifications | ecs-worker-notifications.service.yml | Runs worker-sqs --queue=$sqs_queue_notifications. Dispatches Notifications from Events, and pushes real-time messages to a Faye server. |
pixwel-worker-emails | ecs-worker-emails.service.yml | Runs worker-sqs --queue=$sqs_queue_emails. Pushes email messages to the EmailJobs digest spool. |
pixwel-worker-send-emails | ecs-worker-send-emails.service.yml | Runs send-emails. Flushes any pending email digests and sends them over SMTP. |
Infrastructure
These workers run as their own AWS ECS (Fargate) services — one perecs-worker-*.service.yml, deployed with fargate-deploy.sh. They sit apart from the web/API services and out of the load balancer pool: they only churn through notifications, emails, KPI gathering, and embargo checks, and don’t serve the user interface. That insulates users from high volumes of notifications.
Back to docs index | Next page in recommended reading order >>