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

Task updates #18

Open
ghost opened this issue Sep 4, 2013 · 4 comments · May be fixed by #111
Open

Task updates #18

ghost opened this issue Sep 4, 2013 · 4 comments · May be fixed by #111

Comments

@ghost
Copy link

ghost commented Sep 4, 2013

You should be able to add entries to a task log for a given claim. Same logic as completes, basically.

@joelkuiper
Copy link

Does this include async updates as well? I'd be interested in getting something like core.async / reactor in place to stream updates back to the client

@ghost
Copy link
Author

ghost commented Nov 4, 2013

If you feel like writing that, go for it. Just getting the infrastructure in place to accept updates to a task is the first step, though.

@eric
Copy link
Contributor

eric commented Jul 30, 2014

What should we call these entries?

Should these task updates be indexed like claims?

Should that index be handled by the client or the server?

Should they be last-write-wins for a given index?

@aphyr
Copy link
Contributor

aphyr commented Jul 30, 2014

Oh, looks like I forgot to write this. Yeah, the term is "log"; there should be one log per claim, and the log for that claim should be a vector, merged pairwise, expanding to the size of the larger vector. Client API should be (update! task-id claim-idx log-idx message-byte-array); the client keeps track of an auto-incrementing index for the claim, starting at 0.

@eric
Copy link
Contributor

eric commented Jul 30, 2014

Thanks. That was just the guidance I was looking for.

@eric eric linked a pull request Aug 4, 2014 that will close this issue
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

Successfully merging a pull request may close this issue.

3 participants