Questions tagged [amazon-swf]

Amazon Simple Workflow Service (Amazon SWF) is a workflow service for building scalable, resilient applications. Whether automating business processes for finance or insurance applications, building sophisticated data analytics applications, or managing cloud infrastructure services, Amazon SWF reliably coordinates all of the processing steps within an application.

Amazon Simple Workflow Service (Amazon SWF) is a web service that makes it easy to coordinate work across distributed application components. Amazon SWF enables applications for a range of use cases, including media processing, web application back-ends, business process workflows, and analytics pipelines, to be designed as a coordination of tasks. Tasks represent invocations of various processing steps in an application which can be performed by executable code, web service calls, human actions, and scripts.

The coordination of tasks involves managing execution dependencies, scheduling, and concurrency in accordance with the logical flow of the application. With Amazon SWF, developers get full control over implementing processing steps and coordinating the tasks that drive them, without worrying about underlying complexities such as tracking their progress and keeping their state. Amazon SWF also provides the AWS Flow Framework to help developers use asynchronous programming in the development of their applications. By using Amazon SWF, developers benefit from ease of programming and have the ability to improve their applications’ resource usage, latencies, and throughputs.

264 questions
1
vote
0 answers

@Asynchronous annotation not working

I have three groups. The first two groups can execute in parallel. The third group can execute only after the successful execution of first and second group. Problem is that all of them are executing randomly. There is no orchestration as…
Rahul
  • 33
  • 7
1
vote
1 answer

Execute Activity after the completion of all the activity

I have an activity(say actN) that is dependent on N number of activities. All the N activities are executed in parallel. After the completion of all the activities i want to execute activity actN. I want to do this without using any @Asynchronous…
Rahul
  • 33
  • 7
1
vote
1 answer

Shutdown activity worker and workflow

Is there any way to shutdown activity and workflow worker after all the activities in my workflow implementation have completed its execution or if any of them throws any exception.
Rahul
  • 33
  • 7
1
vote
1 answer

AWS SWF - IllegalStateException: No context found. (method called outside the workflow definition)

I am writing an AWS SWF application using the flow framework. Getting an IllegalStateException: No context Found. It means that the method is called outside of the workflow definition code. while calling the following code: private…
Jatin
  • 14,112
  • 16
  • 49
  • 78
1
vote
1 answer

Amazon SWF vs Data Pipeline for Pig Scripts

Hi have a daily data import pig script that I want to run on Amazon EMR. Should I use Simple Workflow or Data Pipeline to schedule and monitor the job? I tried going through data pipeline but it seems to require an output.. what goes into this…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
1
vote
1 answer

AWS SWF: Running activities on different servers

I have a workflow with >3 activities running on 2 servers, but I want one of the activities to run on a 3rd dedicated server i.e. this server should only execute activity x and not the entire workflow. So far (with my limited knowledge) I could make…
webber
  • 1,834
  • 5
  • 24
  • 56
1
vote
1 answer

How to start/cancel Simple Workflow Service timer?

I have a requirement where I need to invoke an activity in SWF after x minutes. For this I am planning to start a timer in SWF(for x minutes) and invoke the activity when timer fires. Can I get a pointer on how to start timer in SWF? Another…
nishant
  • 59
  • 1
  • 6
1
vote
1 answer

Upgrading running Upstart + PHP + SWF activity scripts until activities finished

I'm trying to create a distributed system with PHP daemons (via Upstart), running SWF deciders and activities, to replace a lot of our cron jobs and some processes that could do with being asynchronously run in the background. However there are…
Michal Charemza
  • 25,940
  • 14
  • 98
  • 165
1
vote
1 answer

Simple Workflow SWF for local testing

I am looking for an AWS (amazon web service) SWF (simple workflow) service that can be run locally for testing and development purposes. I've not seen anything like it available but I am aware of ElasticMQ which implements a subset of AWS SQS as a…
1
vote
1 answer

How do you get the state of a WorkflowExecution if all you have is a workflowId in Amazon SWF

It seems that all SWF operations for getting execution state always also need the runId (their reference to the workflow execution), and I don't feel like storing that. I want to be able to do a lookup based on workflowId only (my id, not theirs).…
Wilfred Springer
  • 10,869
  • 4
  • 55
  • 69
1
vote
1 answer

Rate Exceeding in workflow_execution polling

I am currently trying to modify a plugin for posting metrics to new-relic via AWS. I have successfully managed to make the plugin post metrics from swf to new relic (not originally in plugin), but have encountered a problem if the program runs for…
1
vote
2 answers

Amazon SWF @Signal

Is there a way to call an @Signal function from within an Activity in an Amazon SWF Workflow. I want to be able to notify the workflow that some processing has completed and it should spawn a child workflow for that subset of the processing. How…
user1786822
  • 107
  • 1
  • 6
1
vote
2 answers

Recursing using AWS Simple Workflow Service

I have a simple asynchronous method: @Asynchronous public void doSomething(Promise something) { if(something == 0) { return; } ActivityHolder.someActivity(); System.out.println("Current value: " +…
Rohan Prabhu
  • 7,180
  • 5
  • 37
  • 71
1
vote
1 answer

amazon simple workflow- processing tasks in parallel and going to next stage only after all parallel processes of previous stage are complete

I am working to create an app in which there are multiple stages- in the first stage there are multiple tasks to be executed in parallel...once all tasks of that stage have been completed, only then processing should go to next stage. From what I…
Arvind
  • 6,404
  • 20
  • 94
  • 143
1
vote
1 answer

On AWS SWF, what is the good approach to publish the user interface (html css js)?

To start with, please be sorry, I just start developping applications on AWS and I have some question that could be easy for you but not really for me... But impossible to find any response about web integration of a java website on SWF... I'm also…
Bourbon
  • 1,035
  • 7
  • 19