6 ms·
FlureeDB, a Practical Decentralized Database (2017) [pdf]
- fizx 9y agoThe more I read white papers, the more I appreciate academia's requirement of a summary of previous related work.
- nickpsecurity 9y agoThose sections are the source of a nice chunk of obscure references I post here that people like. They're a gold mine. The other is serendipitous search where you find what you're not looking for directly. Main way is to learn the buzz words of serious researchers in each sub-field plus verbs they use to describe results. Then, you just do permutations of those with quotes, minuses, and places like Citeseerx. You get the diamond mine once you master that. ;)
- thanatos_dem 9y ago"Fault tolerance and censorship resistance - Due to its decentralized nature, FlureeDB guarantees maximum uptime and no possibility for data regulation". Censorship is rarely a technological issue, but one of laws. No possibility for data regulation? Well, data regulation is already there, and they're effectively advertising that they are trying to bypass those regulations. If they actually can do that, it won't be long before someone rules "Use of FlureeDB violates GDPR compliance" and all your nice tech isn't worth squat. The database may prevent data regulation, but you can still put the people using it in jail.
- nwatson 9y agoThe GDPR question and "right to be forgotten", consent, etc., gets asked around this time in the Epicenter podcast with the founders: https://youtu.be/fdne9EvFNaw?t=3147 https://youtu.be/fdne9EvFNaw?t=3147 * Brian Platz addresses the question * first goes through benefits of immutability in Fluree in context of auditing * suggests one approach is storing PII (personally identifiable info) in encrypted manner in public fields, and storing the decryption keys separately -- the act of "forgetting" is the act of destroying the decryption keys * another approach: on the public Fluree blockchain DB store a UID that has no public ties to PII ... and store the PII in a private corporate-side Fluree blockchain DB ... the Fluree system allows JOINs across Fluree systems, so internal corporate-side queries can do JOINs to consolidate public info with PII stored internally ... now to the "forgetting" part ... in spite of immutability guarantees, Fluree does have one escape, which is the possibility in the private Fluree (for which the corporation completely controls consensus) to "retract" that entity containing the PII, along with a tombstone and a full audit trail of the retraction Both these approaches seem to address the right-to-be-forgotten pretty well. The Fluree guy also suggests that for the PII part perhaps Fluree isn't the system you want, and perhaps that should be stored in some other system.
- macawfish 9y agoIf I could favorite comments, I'd favorite this one.
- DoreenMichele 9y agoYou can. That's an option on HN. I think you need to click on it to find the "favorite" option.
- tripletao 9y agoThat obviously solves the problem. But do you see an application where Fluree adds value over just storing everything in the private database that keeps your PII?
- nwatson 9y agoI imagine the most interesting and relevant parts of Fluree-based applications will be in the data apart from the PII, the data visible to anybody who wants to view or update that info.
- tripletao 9y agoYeah, but what's an application where this would be useful? What kind of other data would the database store, and for what purpose?
- nwatson 9y agoHmmm ... * governments want to improve public health * parents in a given geographic region can opt-in on birth of a child to enroll their child in a longitudinal data-gathering regime * parents' and child's PII (personally identifiable information) is stored in a special private Fluree instance (or other DB), and each is assigned UIDs that can be public without disclosing their identity * the child's UID, along with basic demographic info (that can't be used to resolve their identity) is pushed to the public Fluree DB ... * some info, such as genetic profile, very specific outcomes of educational tests, etc., might be stored over time in a very secure DB not open to the public * basic measures of health, education, nutrition, could be stored publicly and available to researchers ... with more and more info stored over time * more info about a child's "history" that might be useful in correlating with positive / negative outcomes also might be stored publicly * public health researchers could analyze trends, etc., to determine what education and nutrition programs, environments, etc., contribute positively to good outcomes * public health and other researchers, such as medical, pharma, nutrition, etc., researchers, could use public data to find "cohorts" of children that might be suitable for studies ... and reach out in the system to families (whose identities will not be disclosed until appropriate) of those children to give them more info about why their child should become part of a study, and give them a chance to opt-in or contact researchers for more info That's just one very interesting application off the top of my head, and Fluree (I'm not associated), as a Public Benefit Corporation (PBC) who states they eventually plan to open-source all or much of their technology, might be a good venue in which to deploy such a system ... a system that would require high levels of confidentiality, trust, while still being open to the extent possible and advisable.
- gregwebs 9y agoThis looks a lot like Datomic if you add hashing to the datomic transaction (this would have to be done as a datomic stored procedure). Given that this is hosted I am wondering whether his is using datomic underneath or if it is written from scratch? Two critiques: * Given that this is a hosted offering this seems like an odd definition of de-centralized, from my reading a more accurate description would be: allows cross-partition queries. Edit: response below indicates this aspect is missing from the linked whitepaper but available elsewhere. * The graph database section is hand-wavy. This seems like it could be similar to Datomic where with a small enough dataset you may have amazing performance, but at a large enough scale you will be lacking index-free adjacency.
- nwatson 9y agoIf I understand properly, Fluree will partner with various "federated" enterprises to all run a Fluree ecosystem where everyone's data can be replicated, and queries can be served via multiple gateways ... in that sense Fluree will be decentralized. Note that I think I heard this in the Epicenter podcast (https://www.youtube.com/watch?v=fdne9EvFNaw https://www.youtube.com/watch?v=fdne9EvFNaw) featuring the Fluree founders. ... aahh, at this point in the podcast they talk about the federated/distributed Fluree: https://youtu.be/fdne9EvFNaw?t=3770 https://youtu.be/fdne9EvFNaw?t=3770 EDIT: pointer to "federated" / distributed database in podcast
- mchahn 9y ago> a practical decentralized database did not exist before FlureeDB It was hard to keep reading after this.
- craigching 9y agoI’m not sure what you misunderstood, describing your skepticism would have added to the conversation. Having read beyond that statement, I’m actually intrigued. What “practical decentralized database” are you thinking of such that you didn’t need to read further?
- mchahn 9y agoIt was the claim that no other practical decentralized databases exist that turned me off. If you want I'll name a few.
- craigching 9y ago> If you want I'll name a few. Yep, that’s what I’ve asked above. Might spur a conversation if your claim is legitimate.
- mchahn 9y agoWell, the one I use is CouchDB. It is very practical. Others I can think of quickly are CockroachDB, Cassandra, and Riak. And there are many others. Are you possibly limiting the term decentralized to blockchain DBs? That would be a stretch. Decentralized DBs existed for a long time before blockchains.
- michaelmior 9y agoFun flashback to my my Masters research paper where I wrote a system called FlurryDB (unrelated). http://sysweb.cs.toronto.edu/publications/254 http://sysweb.cs.toronto.edu/publications/254
- marknadal 9y agoThe paper says there aren't practical decentralized solutions, but doesn't mention any prior research/comparisons to existing systems? How does it compare against: - IPFS (yes, plenty of people are doing DB stuff on IPFS) - GUN (full disclosure, I'm the author, https://github.com/amark/gun https://github.com/amark/gun ) - Scuttlebutt ( http://scuttlebot.io/ http://scuttlebot.io/ ) - Beaker Browser They go on to talk about "append-only" data structures (this alone does not make a system a blockchain or decentralized, but I don't see any further reasoning on it), because technically, you could do things very similarly with: - Kafka - Cassandra - Couch And "append-only" is not practical, there are lots of caveats you have to handle (you don't get eventual consistency for free, performance is terrible on reads, etc.), it often times just makes scaling up harder, which is not "practical". The next section begins to discuss "blockchain" technology, but I don't see code on GitHub: - https://github.com/fluree/flureedb https://github.com/fluree/flureedb (empty repo) ? But their main website is already advertising $1000/month "Enterprise" plans. The whole point of Blockchain and Decentralization is not to be vendor-locked into a proprietary centralized DBaaS. Why isn't the code Open Source?
- all_blue_chucks 9y agoThe point of blockchain is to have something trendy to point to when your investors ask about it.
- diminator 9y agoAgreed, they seem to ignore literally everything that's going on the open source decentralized storage space. Adding to the list: - BigchainDB (https://github.com/bigchaindb https://github.com/bigchaindb) a practical BFT blockchain DB (disclosure, I'm the co-author) - SWARM - OrbitDB And also, it's a very very bad idea to have public storage - one (encrypted) PII entry illegal datum and it's over.
- jonnydubowsky 9y agoI really appreciate the approach that BigchainDB and Ocean Protocol take in addressing the extremely serious challenges around removing illegal content from a decentralized database. I don't remember exactly where I read/heard the details, but there is a talk Trent McConaghy gave where he describes the process of forking around a node where illegal content has been discovered and flagged via a takedown notice. I'll see if I can dig up the specific reference. The important takeaway for me, as I work on integrating decentralized and distributed database architecture into a platform for cancer drug discovery and the enrichment of user data through the incentive mechanisms within the decentralized databases that also have cryptographic tokens and utilize cryptographic primatives a la curation markets, is that hybrid solutions are starting to show promise in combining traditional centralized databases and decentralized ones that have novel token economics built it. I think BigchainDB and Ocean Protocol do a great job with this, as does OpenMined, and I'm interested to see where Cardstack goes with their approach. For me, it's not a binary set of options, rather about finding projects that are interoperable, and also take seriously their responsibilities to maintain compliance with the ever changing legal landscape surrounding data and rights management.
- macawfish 9y agoPeople are sleeping on hyperdb: https://github.com/mafintosh/hyperdb https://github.com/mafintosh/hyperdb It's built from hypercore, the same library powering the DAT protocol. Also, someone recently wrote a graph database on top of hyperdb: https://github.com/e-e-e/hyper-graph-db https://github.com/e-e-e/hyper-graph-db
- matthewaveryusa 9y agoSybil attacks are real and is the biggest road block towards resilient decentralized networks. In FlureeDB, Blockchain is an attempt to solve Sybil attack by attaching proof of work as reputation to counteract malicious nodes. While it does raise the bar significantly it's not a panacea -- still more work to be done!