Hacker News new | ask | show | jobs
by donavanm 885 days ago
David mentioned it but SQS `MessageGroupId` can get you really far on fair-ish work from the queue. Its effectively a virtual partition key for the queue. Set your customer id, resource id, etc as the MessageGroupId and use that to do the work allocation.

https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQS...