[jdev] Replication & revision protocol
    Liam 
    pubsub at networkimprov.net
       
    Wed Jan 20 17:44:50 CST 2010
    
    
  
I'm building an app which replicates collections of data objects among
groups of contributors/subscribers.
I use XMPP for transport & store-forward, and I've built a simple
replication & revision system on top of PubSub.
I'm considering open sourcing this code and documenting the protocol.
(Source is javascript requiring Strophe.) Creating a separate package for
this would entail some work, so I'd like to gauge potential interest...
My replication & revision system does the following:
Establishes pubsub nodes for shared collections
Reliably transmits (reliable requires IQ Notifications):
  - invitations to join a collection
  - invitation acceptances
  - collection replicas to new members
  - resignations from a collection
  - revisions to a collection, containing:
    a) list of revised objects
    b) diffs for added/modified objects
       format is app-specific; common diff types may be specified
Obviously, it's very lightweight. It's not focused on real-time apps per se,
but could be applied thereto.
Also, I'd love pointers to other forums where folks could be interested...
Liam
PS: protocol specifics to follow...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20100120/28a5ecfc/attachment.htm>
    
    
More information about the JDev
mailing list