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

Apply and commit: Write changes to the datastore after broadcasting them to clients #121

Open
GoogleCodeExporter opened this issue Dec 14, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

The wave server should be responsible for two steps when a delta is submitted 
by a user:
First, apply the delta and immediately sent a onAck message to client.
Second, commit the delta: write the delta to persistent storage and then sent a 
onCommit message to client.

The Design Overview page said:
    "Walkaround writes changes to the datastore before broadcasting them to other clients; this avoids the need for complicated rollback protocols."

To process the rollback, I guess most of the work will be done in 
GenericOperationChannel. When rollback occurs, the channel should try to resend 
the missing operations, so that the server side can silently ignore the 
corresponding commit fails.

The more complicated two step process is really a killer feature, please 
consider it. 

Original issue reported on code.google.com by i...@goodow.com on 25 Oct 2012 at 10:28

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

No branches or pull requests

1 participant