开发者

What javascript tools or techniques can I use to manage conflict resolution when multiple users are updating shared state within a Google Wave gadget?

I think the answer to this question hinges on the whether or not it's possible to have access to the Operational Transformation architecture directly within the gadget API. It isn't currently there, so what might be the alternatives for fine-grained d开发者_如何学Goeltas, as opposed to just a big lock on each variable?


I think that the idea of Google Wave is that operational transformation is done and resolved on the server. So your gadget can only post delta's and get notified on updates, but could by definition not participate in conflict resolution and the like.

Interesting sideline could be how you could influence the way conflict resolution works be choosing a different form of storage from your gadget (dictionary with keys, arrays, strings). Some will behave differently in conflict situations, I'd expect.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜