Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Alternative operational transformation algorithm?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Saikat Chakrabarti  
View profile   Translate to Translated (View Original)
 More options May 1 2010, 12:24 am
From: Saikat Chakrabarti <saik...@gmail.com>
Date: Fri, 30 Apr 2010 21:24:46 -0700 (PDT)
Local: Sat, May 1 2010 12:24 am
Subject: Alternative operational transformation algorithm?
I have been reading up on operational transformation (as well as other
methods for doing real-time collaborative work) and came across the
Google Wave white paper.  I understand the motivation for the
extension (having clients wait for acks before sending more actions),
but wanted to propose a different algorithm that achieves the same
goal of low server overhead without the need for added latency.  I'm
not seriously proposing using this in Wave, but more just want to see
what others thought of it (not sure what other forums there are to
talk about things like this, after all) and if there are any obvious
flaws with it.

My motivation for this algorithm comes from combining the ideas
presented in the original groupware paper (http://portal.acm.org/
citation.cfm?id=66963) with a client-server model as described in the
Jupiter paper(ftp://ftp.lambda.moo.mud.org/pub/MOO/papers/
JupiterWin.ps).  In my proposed algorithm, the server maintains one
stack of all operations that have been executed.  Each operation on
the stack also has a state vector attached to it where the state
vector may be <Na, Nb, Nc> where Na is the number of operations the
server had processed from client a at the time this message was added
to the server's stack, Nb is the number of messages from client b,
etc.   It additionally has an integer per client indicating the number
of total messages it has processed from the client. Additionally, each
client keeps a log of all operations it gets from the server (like in
Ellis' p2p algorithm) as well as a state vector indicating the number
of operations the client has generated and the number of operations
from the server it has received for each operation in its log.  Now
both the client and server implement the algorithm described on page 6
of Ellis' groupware algorithm (screenshot from the paper:
http://imgur.com/og7uF.png) with these important distinctions:

1) When the server receives a message from C, the "state vectors" that
the server uses when doing comparisons against its log is just a
comparison of the state vectors <Si, Ci> with <Sj, Cj>.  Here, Si is
the number of total operations the server has executed from any client
at the time of the message in the log, Ci is the number of operations
from C that the server has executed, Sj is the number of of operations
from the server that C has processed when it produced its message, and
Cj is the number of operations that C had produced when it sent out
this latest message.
2) There is no need for priorities.
3) Causality is also a given since communication is ever occurring
between a client and a server (given that the connection is over FIFO,
and TCP/IP/HTTP is).

I'm basically proposing a client-server model where each client/server
pair thinks it is in a peer-to-peer network.  And then, I am adapting
a simplified algorithm proposed in "Concurrency control in groupware
systems" to manage the communication between each client/server pair.
This requires less memory than the Jupiter system, though slightly
more than Wave's current approach (since we need to store an extra
state vector that increases with number of clients for each
operation).  It has the benefit of having less latency than Wave's
approach though.

Does anyone see any flaws with this algorithm?  Is the main downside
of this algorithm just the complexity of implementing it?  Any other
thoughts about it?

Thanks,
Saikat

--
You received this message because you are subscribed to the Google Groups "Wave Protocol" group.
To post to this group, send email to wave-protocol@googlegroups.com.
To unsubscribe from this group, send email to wave-protocol+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/wave-protocol?hl=en.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tad Glines  
View profile   Translate to Translated (View Original)
 More options May 3 2010, 10:25 pm
From: Tad Glines <tad.gli...@gmail.com>
Date: Mon, 3 May 2010 19:25:30 -0700
Local: Mon, May 3 2010 10:25 pm
Subject: Re: Alternative operational transformation algorithm?

In doing my own research into OT algorithms I ran across this paper on ACM (
http://portal.acm.org/toc.cfm?id=1416729&coll=Portal&dl=Portal&type=p...)
that seems to propose an OT algorithm that satisfies TP2 without the need
for individual client state vectors.

-Tad

On Fri, Apr 30, 2010 at 9:24 PM, Saikat Chakrabarti <saik...@gmail.com>wrote:

--
You received this message because you are subscribed to the Google Groups "Wave Protocol" group.
To post to this group, send email to wave-protocol@googlegroups.com.
To unsubscribe from this group, send email to wave-protocol+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/wave-protocol?hl=en.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bernardo Ferreira  
View profile  
 More options May 4 2010, 6:24 am
From: Bernardo Ferreira <bernardolferre...@gmail.com>
Date: Tue, 4 May 2010 11:24:23 +0100
Local: Tues, May 4 2010 6:24 am
Subject: Re: Alternative operational transformation algorithm?
Tad, that link you posted is for the whole "Proceedings of the 8th
international conference on New technologies in distributed systems".
Which specific paper is the one you're talking about?

--
You received this message because you are subscribed to the Google Groups "Wave Protocol" group.
To post to this group, send email to wave-protocol@googlegroups.com.
To unsubscribe from this group, send email to wave-protocol+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/wave-protocol?hl=en.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Saikat Chakrabarti  
View profile  
 More options May 3 2010, 10:39 pm
From: Saikat Chakrabarti <saik...@gmail.com>
Date: Mon, 3 May 2010 19:39:31 -0700 (PDT)
Local: Mon, May 3 2010 10:39 pm
Subject: Re: Alternative operational transformation algorithm?
Is the specific paper you are talking about this one:
http://portal.acm.org/citation.cfm?id=1416729.1416781&coll=Portal&dl=...
?  That page has a bunch of papers on it.

On May 3, 7:25 pm, Tad Glines <tad.gli...@gmail.com> wrote:

--
You received this message because you are subscribed to the Google Groups "Wave Protocol" group.
To post to this group, send email to wave-protocol@googlegroups.com.
To unsubscribe from this group, send email to wave-protocol+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/wave-protocol?hl=en.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tad Glines  
View profile  
 More options May 4 2010, 9:15 pm
From: Tad Glines <tad.gli...@gmail.com>
Date: Tue, 4 May 2010 18:15:48 -0700
Local: Tues, May 4 2010 9:15 pm
Subject: Re: Alternative operational transformation algorithm?

Yes, that's the one.

On Mon, May 3, 2010 at 7:39 PM, Saikat Chakrabarti <saik...@gmail.com>wrote:

--
You received this message because you are subscribed to the Google Groups "Wave Protocol" group.
To post to this group, send email to wave-protocol@googlegroups.com.
To unsubscribe from this group, send email to wave-protocol+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/wave-protocol?hl=en.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »