Skip to content
Pablo Cantero edited this page Jun 25, 2017 · 5 revisions

Design your workers to be idempotent

SQS provides at-least-once message delivery, which means each job you published could end up being delivered more than once by SQS. That's why it is very important that you design your workers to be idempotent (they should be aware that the job might be worked on or already completed by another worker). Shoryuken can NOT handle this case because different workers don't share the knowledge across different jobs so there is no way to detect the job duplication at shoryuken's level. For more information please refer to issue#257.