...
When a users updates an entity, a single message is published to 'prod-<stack-number>-reop-ENTITY' SNS topic after the update transaction commits (no messages is published if the transaction fails). No messages are published for failed transactions. The above screen shot shows four Amazon Simple Queue Service (SQS) queues that are subscribed , one for each worker, that subscribe to the 'prod-188-repo-ENTITY' topic. This means each time When a message is pushed to the entity topic, a copy of the message is automatically pushed to each subscribing queue. Each worker can then process messages from its own queue independently of all other indirect workers, at is own pace.
...