Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New polling request created on every new wf execution #56

Open
ericln opened this issue Mar 3, 2017 · 1 comment
Open

New polling request created on every new wf execution #56

ericln opened this issue Mar 3, 2017 · 1 comment

Comments

@ericln
Copy link

ericln commented Mar 3, 2017

we are experiencing a behaviour in our decider (and activity) worker where a new pollForDecisionTask connection is created (identified from aws client logging) every time a new workflow instance is created.

When the worker is first deployed we see log like the following every 60 seconds (default long polling period)

[AWS swf 200 60.289s 0 retries] pollForDecisionTask({ domain: 'dev',
  taskList: { name: '...' },
  identity: '...',
  maximumPageSize: 100,
  reverseOrder: false })

after we start a new workflow execution, and the decider go through its logic and activities then we start seeing another log for pollForDecisionTask.

Is that the expected behaviour ? or is there some kind of clean up we need to do when the execution is suppose to be terminated ?

we have been fighting this issue for a while now, as the time goes the response time for task.response.respondCompleted become very very slow (5 mins +).

@ericln
Copy link
Author

ericln commented Mar 4, 2017

seem like this might have fixed that problem, doing some more testing now.
#49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant