3 ms·
Slightly off-topic : If the author or someone interested in the realm of mobile DB read this : there is definitely a niche to be taken right now in p2p db sync
by bsaul 12y ago
Slightly off-topic :
If the author or someone interested in the realm of mobile DB read this : there is definitely a niche to be taken right now in p2p db syncing ( think iPad apps connected in a local network and replicating their local datasets between each others). I have been trying couchbase-lite recently which advertizes this feature, but it's clearly not their focus and it shows (dirt-slow replications, hidden timeout settings, buggy binary objects syncing, etc).
Just my 2 cents.
- daleharvey 12y agoI wouldnt write couchbase-lite off entirely, sync is extremely hard and with Pouch we are still struggling with slow replications and bugs with binary objects. The couchbase-lite devs have been contributing to PouchDB and couchbase-lite, PouchDB and CouchDB should all interoperatate in a p2p environment, if they dont then its a bug and I am sure they would love to hear it (as would we if the issue was with PouchDB)
- nolanl 12y agoAlso Cloudant recently came out with their own libraries for iOS and Android (https://cloudant.com/blog/introducing-cloudant-sync https://cloudant.com/blog/introducing-cloudant-sync), and in principle they should all be compatible with PouchDB/CouchDB. So I like to think we have options.
- fidotron 12y agoI'm trying to tackle this problem here (as in, just starting up again after brief hiatus): https://github.com/atomirex/umbrella https://github.com/atomirex/umbrella My approach is to store files in a (J)Git repo which then get indexed on each device for structured data, rather than replicating structured data directly. (i.e. imagine a contacts database where each contact is in the repo as a separate JSON doc or similar). Java only for now, thanks to the amount of libs it needs to integrate, and that it hasn't reached proof of concept yet.