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

Making too many decisions can cause AWS error #10

Open
addisonj opened this issue Nov 30, 2016 · 1 comment
Open

Making too many decisions can cause AWS error #10

addisonj opened this issue Nov 30, 2016 · 1 comment
Labels

Comments

@addisonj
Copy link
Contributor

addisonj commented Nov 30, 2016

According to http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-limits.html, the max of any SWF request is 1 MB, we handle most limits properly in simple-swf by using claim checks. However, this limit can hit if you try and make a ton of decisions in a single response.

This will probably be a tough one to deal with... a naive and probably would work as currently implemented solution would just be to drop the decisions and assume that another decision will happen and reschedule (since the decider is a pure function, this should work). However, it would probably be a hindrance for future deciders that may not be pure functions

@addisonj addisonj added the bug label Nov 30, 2016
@addisonj
Copy link
Contributor Author

addisonj commented Nov 30, 2016

On further thinking, the best way to probably take care of this would be to implement a max outstanding activities regardless of activity type (set it pretty high, like 500)

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

No branches or pull requests

1 participant