Ends in
00
days
00
hrs
00
mins
00
secs
SHOP NOW

Azure Sale - Get Up to 25% OFF All Azure Reviewers

Find answers, ask questions, and connect with our
community around the world.

Home Forums AWS AWS Certified Solutions Architect Associate Incorrect answer and explanation for duplicate message problem. Reply To: Incorrect answer and explanation for duplicate message problem.

  • Tutorials-Dojo

    Administrator
    September 1, 2024 at 8:50 pm

    Hi KentStop,

    We understand your point since Amazon SWF and AWS Step Functions both provide the capability to avoid duplicate processing.

    However, keep in mind that even AWS itself explicitly recommends using AWS Step Functions over Amazon SWF. This is because of the high overhead of Amazon SWF since you’ll have to learn and incorporate the Java-based AWS Flow framework on your existing application plus creating a custom Decider program. The AWS Step Functions service also provides a lower operating cost since it’s a serverless service compared with Amazon SWF.

    Please see this snippet from the official AWS FAQ page: https://aws.amazon.com/swf/faqs/#:~:text=AWS%20customers%20should%20consider%20using%20Step%20Functions%20for%20new%20applications.


    Q: When should I use Amazon SWF vs. AWS Step Functions?

    AWS Step Functions is a fully managed service that makes it easy to coordinate the components of distributed applications and microservices using visual workflows. Instead of writing a Decider program, you define state machines in JSON. AWS customers should consider using Step Functions for new applications. If Step Functions does not fit your needs, then you should consider Amazon Simple Workflow (SWF). Amazon SWF provides you complete control over your orchestration logic, but increases the complexity of developing applications. You may write decider programs in the programming language of your choice, or you may use the Flow framework to use programming constructs that structure asynchronous interactions for you. AWS will continue to provide the Amazon SWF service, Flow framework, and support all Amazon SWF customers.



    Regards,

    Tutorials Dojo Team