--
You received this message because you are subscribed to the Google Groups "ShareJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sharejs+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Not right now. Aside from pubsub, the OT model requires an ultimate source of truth to exist somewhere when deciding on the order of operations. I did however get a proof of implementation of livedb working built on top of foundationdb - github.com/josephg/livedb-foundation . Foundationdb has excellent scaling & replication properties, its is an excellent fit for the ShareJS data model and you can drop that in as a replacement. However, if you want to use it you'll need to do a bit of work first - its not ready for prime time:
- There are probably bugs
- The query code hasn't been ported across (this should be mostly a copy paste job from the original)
- it doesn't currently reuse watches (subscriptions) across multiple clients which are subscribed to the same document
- bulkSubscribe and bulkFetch haven't been implemented.
If you care enough, maturing the foundationdb implementation is your best bet if you want multi server scalability.
-J
0.6 didn't support having the oplog & snapshots stored in different
places. That report is on CRDTs, which are a different set of
algorithms from the OT algorithms which sharejs uses. CRDTs have their
own set of tradeoffs - they don't require transformation and they work
better in distributed environments, but documents have to store
per-character metadata in perpetuity (even after the characters have
been deleted) - which adds bloat.
Dominic Tarr has a CRDT implementation in nodejs if you want to take a
look at it, but thats not how sharejs works.