On Feb 26, 11:10 am, Tad Glines <[email protected]> wrote: > There are two possible delta propagation models: client-server and > peer-to-peer. The existing model, client-server, requires that all > deltas pass through the wavelet host before being broadcast to > participating remote servers and doesn't need support TP2 in order to > work. The peer-to-peer model, where each server sends deltas directly > to all participating servers, does require TP2 in-order to work.
Just because you CAN support a peer to peer network topology does not mean that you have to set one up... > I hope we all agree that the peer-to-peer model can not be secured. If > five servers are participating, then no single server can prevent the > others from participating in the wave. Why? Call one of the server the "authority" and it can accept and reject deltas based on what ever security model you like. If you want the authoritative version of a document, get it from the authoritative source (or validate it against the authoritative source, say with a hash). > The question is, what would be gained by adding TP2 support to the > client-server model, since ALL deltas are serialized through the > wavelet host? 1) Better interactivity due to lower latency 2) Simpler protocol as there is none of this sever ack guff 3) Simpler "recovery" when something crashes 4) Fail-over support through redundant servers 5) Scaling through adding servers (akin to a web server farm) 6) Branching and merging of data in an arbitrary manner 7) Distributing the OT load across multiple servers 8) The possibility of having geographically local servers, like one in London and one in New York. Users connect to the most local server. 9) Optimisation of your "backbone" as deltas need only be sent across a given link once. 10) Intention preservation that preserves intent I'll stop there... the benefits are massive. And that's all sticking with a client/server architecture. All we've done is satisfy TP2 and suddenly Wave looks useful. Dan -- You received this message because you are subscribed to the Google Groups "Wave Protocol" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/wave-protocol?hl=en.
