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

SimpleDB? #13

Open
davidpelaez opened this issue Nov 19, 2013 · 2 comments
Open

SimpleDB? #13

davidpelaez opened this issue Nov 19, 2013 · 2 comments

Comments

@davidpelaez
Copy link
Contributor

Fred,

could you tell me why you chose to use SimpleDB. I was looking in depth at the aws flow framework and it has way to many bad design decisions on it, so I came back to see how to improve some thing in SimplerWorkflow and I found SimpleDB in some parts of the code and I don't know why they're needed. It seem it's to save some tasks information shared by distributed systems, so that one component's activity can jump to the next one without going to the decider?

Also, I'm seeing up to 5s for a simple HelloWorld with occasional triggers being skipper, any ideas where to start looking at this possible 'skips'?

@fredjean
Copy link
Owner

There are some attributes of an execution that I needed to hold through out. They do not fit neatly into the attributes allowed by SWF. SimpleDB was an easy place to put them. Most of them have to do with what to do next with the default decider that comes with SimplerWorkflow.

I am open to suggestions if there are better options.

I'm not sure what you mean by triggers being skipped. Could you provide an example?

@davidpelaez
Copy link
Contributor Author

I see. Maybe using execution contexts and markers would make sense? It really depends on the exact information you need to keep. Maybe passing everything in a specific input/result format, like a series of conventions for those messages. I'm working on a simple adapter of AWS::SWF exactly like we want it to work and it's stateless, I'll drop you an e-mail when it's ready.

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

2 participants