Re:Ask HN: Why Prefer Blockchain over Distributed DBs?
by jqpabc123 on Monday May 02, 2022 @10:29AM
(#31235564)
Many distributed db doesn't have role based access control?
These are developer tools, not end user apps. They aren't designed for direct exposure to end user validation. Most apps making use of a distributed db have a UI of some sort that can act as proxy to implement access control.
Re:Ask HN: Why Prefer Blockchain over Distributed DBs?
by not_a_noogler on Sunday May 01, 2022 @11:36AM
(#31225886)
Re:Ask HN: Why Prefer Blockchain over Distributed DBs?
by billconan on Sunday May 01, 2022 @12:00PM
(#31226105)
for example, according to https://www.reddit.com/r/Bitcoin/comments/3c7tma/any_thought...
Apache Cassandra is a database used by Facebook. It has converging databases. If you're used to normal SQL databases, it would be like a way of replicating information across lots of copies. Updates are done in really strange ways. Imagine a Facebook comment or status update. That gets a time associated with the data, and the database copies slowly converge to a common truth.
> gets a time associated with the data
it's easy to fake a timestamp in an untrusted network.
Imaging I want to build a p2p forum. There is an administrator, multiple moderators, members and visitors.
Visitors can only have read access. members can post, moderators can delete. administrator can promote members to moderators.
Can this be supported by distributed db?
I have checked a few, I didn't see they support that. Most assume the peers have the same permissions to access the db. They may be useful in a trusted environment, not in a untrusted environment.