Author

Topic: Private blockchains are “just” shared databases - Gideon Greenspan (Read 929 times)

legendary
Activity: 1358
Merit: 1014
A blockchain is more than a database (private or not). When something enters the blockchain, it's there stored literally forever, and cannot be modified. In the future, generations will say "carved in the blockchain" instead of "carved in stone". That's why it will become more expensive to use it and everyday stuff will have to go through payment networks like LN.
legendary
Activity: 1386
Merit: 1058
Private blockchains will need a common medium to compare or exchange their values. There would only available medium is bitcoin. So, all the private blockchains definitely will need bitcoin to set their own value. So, nothing is possible without bitcoin.
legendary
Activity: 2996
Merit: 1132
Leading Crypto Sports Betting & Casino Platform
Yes, private blockchains can not compete with bitcoin blockchain. Because we need a single payment system for the entire globe. When a private blockchain can not provide these things. So, no one can not solve financial needs like bitcoin is doing already. So the only option is, everybody need to adopt bitcoin.
legendary
Activity: 4424
Merit: 4794
In a shared database you can still delete old data, in a private blockchain you can't.

you can.. because its private the owner has full control (its not decentralised).. so it can be tampered with.
i agree its not as easy as just hitting the delete key and adding new data to a cell.. but all they need to do is remake the private blockchain. which due to sole ownership means it can be done at a difficulty of 1, thus solving new blocks in miliseconds to remake a new chain with edited data
full member
Activity: 196
Merit: 100
Why would you ever want a private blockchain? Since there's only one thing controlling it, wouldn't they be able to just change things since they are 100% of the hashing power?
legendary
Activity: 834
Merit: 1015
In a shared database you can still delete old data, in a private blockchain you can't.
member
Activity: 117
Merit: 10
Well they must take their private blockchains which consist of nothing but random figures generated by fatcats, and go and market it to people all over the world.

In the meantime Bitcoin is doing all this by itself.



legendary
Activity: 4424
Merit: 4794
The article is quite right, but there isn't a precise definition of a blockchain. It's not written in stone. I may say a blockchain is a public ledger shared among several computers which automatically update, but the number of computers is not set, nor the type and size of data inserted.

a blockchain is a transaction list.. not a database of totals a user owns. but a transaction list of all funds sent and received..
a public blockchain is a transaction list.. but many random people have a copy. reducing the risk of tampering and everyone can be part of the block creations
a private blockchain is a transaction list.. but only one entity and their trusted partners have. people can view data using the entities website to view data, but cannot be part of the block creations
legendary
Activity: 3066
Merit: 1047
Your country may be your worst enemy
The article is quite right, but there isn't a precise definition of a blockchain. It's not written in stone. I may say a blockchain is a public ledger shared among several computers which automatically update, but the number of computers is not set, nor the type and size of data inserted.
staff
Activity: 4270
Merit: 1209
I support freedom of choice
Quote
There is no need to use PoW to secure a block chain, let alone very strong PoW.
That design decision comes from a fundamental (but rarely discussed) design requirement Satoshi had, which is that all entities in Bitcoin must be able to join and leave at will, unannounced and anonymously.
If you want a purely decentralised system, this is a "hard" requirement, it's non-negotiable. Bitcoin simply wouldn't work without it.
If you are willing to relax the decentralisation requirements a bit so that there's some kind of explicit join/leave protocol and participants have some verified identity, or you can rely on non-standard hardware, then you don't need PoW anymore. You can just use chains of digital signatures, for example. Or you could use PoW as a means to do a randomised leader election like Bitcoin does, but where each miner just uses a single CPU because the amount of hashing doesn't matter (fraud can be punished via the legal system instead).
legendary
Activity: 2226
Merit: 1052
Princeton professor Arvind Narayanan said it before...

Quote
I suspect "private blockchain" is just a confusing name for "shared database."

https://twitter.com/random_walker/status/644615835089178624
hero member
Activity: 672
Merit: 500
I agree with the writer that blockchain is something very special. A direct comparison of a standard database with a blockchain in a "shared write" scenario is not correct.

Data on the blockchain is not a organised like a database. A blockchain is a ledger of transactions, a collection of changes to the previous data. A database is data at its most updated state. We could re-organise tradition databases to store changes rather than lastest data state and we could have the same "shared write" advantages as a blockchain.

Blockchain IS revolutionary, distributed ledger in a trustless environment. I am just saying his comparison is unfitting.
staff
Activity: 4270
Merit: 1209
I support freedom of choice
https://www.linkedin.com/pulse/private-blockchains-just-shared-databases-gideon-greenspan

The original post is full of useful links.

Quote
Why blockchain detractors are missing the point

And so it goes on. From popular posts to contemptuous tweets to predictions about the future, the world and its mother are lining up to throw tomatoes at private blockchains, before even understanding what they are.

Saying that a private blockchain is just a shared database is like saying that HTML and HTTP are “just” distributed hypertext. It’s wrong in two ways. First, the semantic one: private blockchains are a technology that enables shared databases, like pens enable writing and HTML/HTTP enable distributed hypertext. The bitcoin blockchain and its primary application cannot be meaningfully separated, because one could not exist without the other. But this equivalence does not apply to private blockchains at all.

The second mistake is the use of the word “just”. Just? Were HTML and HTTP just a way to do distributed hypertext? Hypertext was invented decades earlier, so are these technologies a minor footnote in computer history? Oh but let me count the ways in which they earned their place: (a) a simple markup language that any layperson could learn, (b) a hierarchical addressing scheme that works both with TCP/IP and our conceptual model of place, (c) a simple protocol for the state-free retrieval of content, and (d) both client and server software that brought the whole thing to life. We might as well say that Newton was just a scientist and Dostoyevsky just a writer.

So let’s make this perfectly clear: Yes, private blockchains are just a way to share a database. But they enable a new type of shared database, with huge implications for the financial world and beyond. And if you’re willing to read on, I’m going to tell you exactly why.

What is a database?
A database is a repository of structured information, organized into tables. You can think of it as a collection of one or more Excel spreadsheets, which can optionally be linked together. Each table contains information about a set of entities of a particular type, with one entity per row. Each table also has one or more columns, which describe different aspects of those entities. For example, the table for WidgetCo’s internal staff directory might have columns for employee ID, first name, last name, department, internal phone number and room number.

One of the important ways in which databases go beyond spreadsheets is that they contain rules about the data stored within. These rules help ensure that the information remains sane and consistent for the benefit of the entire organization. In today’s most popular databases, the rules take a number of common forms:

The database schema defines what kind of information is permitted in each column. For example, the phone number must contain 4 digits and cannot be left blank (“null”).
Unique keys which state that a particular column (e.g. employee ID) must have a different value in every row.
Check constraints which enforce relationships between the column values in each row. For example, if the department is “Procurement” then the room number must start with a 3 or 4.
Foreign keys which enforce relationships between tables. For example, if the database contains another table used for payroll, there might be a rule that every employee ID in the payroll table must also exist in the staff directory.
A transaction is a collection of changes to a database that is accepted or rejected as a whole. Every time a transaction modifies the database, the software ensures that the database’s rules are followed. If any part of a transaction violates one of these rules, the entire transaction will be rejected with a corresponding error.

There are other more esoteric rule types I could list, but they all have one thing in common. They answer the question: Is the database in a valid state? In other words, they act as a constraint on the database’s contents when viewed at a single point in time. And this works just fine for a database which sits inside a single organization, because the main job of the constraints is to prevent programmer error. If one of WidgetCo’s internal applications tried to insert a 3-digit phone number into the database, this wouldn’t be due to malice, but rather a bug in the developer’s thinking or code. The ability of a database to catch these mistakes is undoubtedly handy, and helps prevent bad information propagating within an organization, but it doesn’t fix problems of trust. (Constraints can also help simplify application logic, for example via foreign key cascading or on-duplicate clauses, but these are still just ways to help developers.)

Database sharing
Now let’s think about how WidgetCo’s internal staff directory might be shared with the outside world. In many cases, there is no problem providing shared read access. The directory can be exported to a text file and emailed to customers and suppliers. It can be posted on the Internet, just like this one. It can even be given an API to allow searching by external code. Shared read is a technical doddle, a question of deciding who can see what.

But things start getting stickier when we think about shared write. What if WidgetCo wants an external entity to modify its database? Perhaps the phones are being replaced by PhoneCo, who will then update the phone numbers in the staff database. In this case, WidgetCo would create a new “account” for PhoneCo to use. Unlike accounts for WidgetCo’s internal use, PhoneCo’s account is only permitted to change the phone number column, and never add or delete rows. All of PhoneCo’s transactions are processed by WidgetCo’s database system, which now applies two types of restriction:

Global rules which apply to all database users. For example, the phone company can’t change a number to contain only 3 digits, and neither can anybody else.
Per-account rules restricting what PhoneCo is permitted to do, in this case only modifying the phone number column of existing rows.
So far, so good. We have a shared write database. It works because WidgetCo is in charge of the database and the phone company gains access by virtue of WidgetCo’s good grace. If PhoneCo started setting phone numbers randomly, WidgetCo can shut down their access, terminate their contract, and restore some old data from a backup. And if WidgetCo started misbehaving, say by reversing the new phone numbers entered by PhoneCo, well that would be entirely pointless, since it would only harm WidgetCo themselves. The phone company would consider WidgetCo to be a peculiar customer but not particularly care, so long as they paid their bill on time.

But now let’s see what happens if two or more parties want to share a database which (a) none of the parties controls, (b) can be written to by any party, and (c) can be relied upon by everyone. To make things worse, let’s say that these parties have different incentives, don’t trust each other and may even be fierce competitors. In this case, the solution has always been the same: introduce a trusted intermediary. This intermediary manages a database centrally, provides accounts to all of the parties, and ensures that all operations are permitted according to a known set of rules. In many cases, especially financial, every party still maintains its own copy of the data, so everyone spends a lot of time checking that their databases agree.

It all gets rather messy and cumbersome. But if we’re talking about a shared write database in an environment of limited trust, there is currently no alternative. That’s one of the main reasons why financial transactions go through central clearing houses, why you use Google Calendar even in a small workgroup, and why the crowd-sourced wonder that is Wikipedia spends millions of dollars on hosting. Even as the user interface of the web moves to the client side, centralized servers continue to store the data on which those interfaces rely.

Real shared write
So let’s say that we wanted to allow a database to be shared, in a write sense, without a central authority. For example, several competing companies want to maintain a joint staff directory for the benefit of their mutual customers. What might that actually look like? Well, it would need a number of things:

A robust peer-to-peer network that allows transactions to be created by any party and propagated quickly to all connected nodes.
A way to identify conflicts between transactions and resolve them automatically.
A synchronization technology that ensures all peers converge on an identical copy of the database.
A method for tagging different pieces of information as belonging to different participants, and enforcing this form of data ownership without a central authority.
A paradigm for expressing restrictions on which operations are permitted, e.g. to prevent one company from inflating the directory with fictitious entries.
Whew. That’s a tough list right there, and it’s simply not supported by today’s off-the-shelf databases. Current peer-to-peer replication technology is clumsy and has a complex approach to conflict resolution. Those databases that do support row-based security still require a central authority to enforce it. And standard database-level restrictions like unique keys and check constraints cannot protect a database against malicious modifications. The bottom line is this:

We need a whole bunch of new stuff for shared write databases to work, and it just so happens that blockchains provide them.

I won’t go into too much detail about how blockchains do these things, because I’ve covered much of it before. Some key elements include regular peer-to-peer techniques, grouping transactions into blocks, one-way cryptographic hash functions, a multi-party consensus algorithm, distributed multiversion concurrency control and per-row permissions based on public key cryptography. A long list of old ideas combined in a new way. HTML/HTTP, if you like.

In addition to all of these, shared write databases require an entirely new type of rule, to restrict the transformations that a transaction can perform. This is an absolutely key innovation, and makes all the difference if we’re sharing a database between non-trusting entities. These types of rules can be expressed as bitcoin-style transaction constraints or Ethereum-style enforced stored procedures (“smart contracts”), each of which has advantages and disadvantages. Perhaps there are other better ways waiting to be discovered. But they all share the property of tying together the database’s state before and after a transaction takes place. In other words, they answer the question: Was that a valid transaction? This is fundamentally different from asking whether the database is valid at a single point in time.

If you’re wondering if this type of database has useful real-world applications, well that’s a fair question. But you might note the intense interest in private blockchains from one sector at least, because of their potential for simplifying processes and reducing costs and delays. Financial institutions are heavy users of today’s database platforms, and those platforms do not enable a shared write scenario. This is what banks are looking for.

This problem and its solution have absolutely nothing to do with bitcoin and the idea of censorship-free money. In fact, the only connection to bitcoin is the technical similarity between the bitcoin blockchain and how some of these private blockchains are implemented today. Over time the two worlds may well diverge, because their requirements are completely different. Whether you like financial regulation or not, the simple fact is that private blockchains are potentially useful in a regulated world, whereas for now at least, public blockchains are not.

If I may finish with an analogy, the UN Declaration on the Principles of International Law does not tell countries that they can hold any territory they want, so long as it’s surrounded by a clearly-marked fence. Rather, it states that “No territorial acquisition resulting from the threat or use of force shall be recognized as legal”. In other words, it’s a rule regarding the legitimacy of changes, not just of situations. And the UN declaration, which seems so obvious to us now, was a complete revolution in international law. It meant a world no longer based on unilateral power and authority, but one where differences can be resolved by mutual consensus.

When it comes to shared databases, private blockchains do exactly the same thing.
Jump to: