-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 23.01.2016 05:11, Christopher Small wrote: > Can you listen for changes on a server store?
What exactly do you want to do? If you want to track updates to a CRDT, I would create a stage and subscribe to the updates as I do in the topiq client: https://github.com/whilo/topiq/blob/master/src/topiq/core.cljs#L177 This is still very "low-level" and I want to provide a proper function for this, but maybe you get the idea. I can refactor it and put it into replikativ, if this helps you. > > Also, have you developed a mechanism for just sharing parts of a > distributed data structure? Do you mean metadata? All metadata needs to be distributed for the code to work (the commit-graph to be connected etc.), but not the data (commits and transactions). The syncfree group did some work on partial metadata replication with swiftcloud: http://arxiv.org/pdf/1310.3107.pdf They need a fixed number of replicas in the datacenters for their vector clocks, this is not possible in an open p2p system. But I am open to optional metadata reduction strategies with the help of some centralized coordination, e.g. physical time, vector clocks or a classical coordination service. Atm. even all data needs to be backed up by each peer, but I came to the conclusion that this is not necessary, peers can replicate the metadata only and updates from them will then be dropped by peers which need the data, but can't get it from them. I just wanted to start with the assumption that storage is infinite and I don't need to worry much about it (but bandwidth is not ofc.). Christian -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBAgAGBQJWo6EBAAoJEKel+aujRZMkurwIALavrxwYx7/wfkEp66NUS1Mu G3XFUxgpT/yQZ4zT/nO9+xlB+6X4ZFGJs+4beLVR8vc6rY+2WrBUwU6O8kxA8BIV Tt3ZZTUlSh8gxXUiYqO9XGmU605nbpdRYv2FA5xi1kTrmd5tZ2SsjaSMPB6SHbYE MMqk6LZyxvrrYHizFbopVKdLP3awkCBCUbjVNZm7w8mLtxnTafItiumCepFtqZw6 AOGDbNWkdDG5f39cTTNShfnLE04XFl+b5AwqvSyXB8OfB6bi/w4toYrxXbGV3T/n e/9tEvrfdsrc6zoHi4sQf8EdGEU5p75acrvb9Z1bbcMeiBhe5G87DwN3SP9KXfo= =lb1U -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.