Blockchain is not another database

Because it is not supposed to, by architecture.

What makes blockchain different from database? Is blockchain just a shared database? Those are perhaps the most common questions when it comes to discussions around the table. As though the confusion has not been lousy enough, recently many even started referring blockchain to the term “distributed ledger” in order to avoid linkage to cryptocurrency hype. This definition led to dangerous misconceptions about the technology and failed to justify its purposes.

This article explains clearly why blockchain is not invented to be another storage technology by disclosing misfits in its architecture.

Cost of replicating data on every device in the network

Storage inefficiency

As we have known, blockchain technology is built upon a peer to peer network where data is replicated on every single node.

If blockchain was to be served as a shared database, it would mean zillion bytes of data were supposed to be replicated and stored all over the world on every single machine that participated in the blockchain network. Wouldn’t it be a huge waste of resource and effort ? Not to mention it would be merely insane to do so by looking into the immense data we create and consume everyday.

There are more than 2.5 quintillion (2.5 x 1018) bytes of data produced every day. If blockchain was a database, you would want to store as much data as possible on the chain. But only a fraction of data we produce would already blast out any storage device. The reason we have data centers is because of efficiency and perhaps not everyone is ready to carry around petabytes of data in their pocket.

Processing inefficiency

Some would argue that storage is cheap with the advancement of technology. That’s true, however the processing power of blockchain’s execution machines such as EVM (Ethereum virtual machine) are still light years behind existing databases. Not to mention any blockchain platforms make use of existing database technologies to persist data under the hood. For example most Ethereum implementations use levelDb, Hyperledger Fabric uses either CouchDB or RocksDB.

Blockchain platforms are simply not optimized for data storage. Even with future improvements and breakthroughs, it is unlikely that developer community would want to bring it to compete with databases. Because why reinvent the wheel when they could instead integrate them in a modular architecture where one technology can be used to leverage capacity of another. Hyperledger Fabric is an example of such plug and play system, where you can choose to use CouchDB or RocksDB to store blockchain state.

Barrier to entry

For devices to take part in the chain, they have to sync all data first hand. At the current state it already takes half a day with decent internet connection to light sync Ethereum. If people started to dump any things on blockchain as they would do with a database, blockchain-as-storage would take new participants days to download all data before they can make any good out of it. That clearly makes a rough barrier to entry.

Unscalability

Blockchain is made for operations in trustless environment. Apparently Internet-of-Things (IoT) is a realm where blockchain will be of great use. There is zero level of trust between IoT devices but their digital footprints can be used as proofs of authenticity. With the help of blockchain technology to verify information rectitude and provenance, devices can securely exchange data. Moreover, devices can operate seamlessly together because operations can be automated by using smart contracts.

If blockchain is ever scaled to IoT, it must fit into restricted resources of embedded system. Apparently blockchain-as-storage does not fit into category.

What is blockchain good for

Ensuring data integrity

Blockchain is built upon an architecture where data is kept securely immutable. This is also one of main concerns since its creation. The peer to peer network ensures data is replicated all over places, consensus algorithms warrant a single version of truth upon replicated versions, and the cryptographic file structure makes sure data cannot be altered.

Clearly data safeguard is at the center of blockchain technology, then why is it unsuitable for mass data storage ? The reason is that data integrity is only a medium but not the purpose of blockchain. It is a means to reliably execute transactions between tiers and carry out business or governance activities without need for entrusted intermediaries.

With data integrity, both veracity and authenticity of information is conserved.

Ensuring reliable automation

By using smart contracts on blockchain, we can achieve true automation where devices can reliably perform together.

Take for example in governance where most of paper job is repetitive and carried out by human labor. If administrative procedures and forms can be translated into smart contracts, execution can be automatic, fast and reliable. Smart contracts eliminate most, if not all, haphazardness of errors caused by obscure regulatory texts. Biometric smart cards can replace ID card to approve citizenship and replace signature for government forms. This is not science fiction but already a practice underway in Estonian government.

Another example from energy sector, where smart contracts can warrant flow of data and trigger operations in automatic sensors in order to plan energy redistribution more efficiently.

Conclusion

Data storage is undeniably necessary for blockchain to function. There is a minimum amount of data you would want to store on blockchain in order for it to be useful. However using it as a storage technology is plainly inefficient. Blockchain is clearly good at validating integrity of data but it is not built for processing massive amount of data.

Blockchain can be used in a modular system to take care of data entry validation and trigger consecutive executions.

Related posts

27 thoughts on “Blockchain is not another database

  1. Recently, there has been a proliferation of articles denouncing distributed ledgers as ‘slow’ database technology. That just isn’t true, and here are 5 ways that we can compare and contrast blockchain vs database technology.

  2. The immutability and decentralization of blockchain means that it can be useful as a ‘shared’ record of things between actors that do not trust each other but do trust the blockchain.

  3. After research a couple of of the weblog posts in your web site now, and I actually like your way of blogging. I bookmarked it to my bookmark website list and shall be checking back soon. Pls check out my web page as well and let me know what you think.

  4. A blockchain uses a peer-to-peer or P2P network architecture. It does not require access to a centralized database, instead all participating nodes in the network can connect with each other. There is no master that controls all nodes. Each peer is equal to each other in how they access the blockchain without requiring an administrator access.

  5. constantly i used to read smaller articles or reviews that as well clear their motive, and that is also happening with this post which I am reading now.|

  6. Somebody essentially assist to make critically posts I might state. That is the first time I frequented your website page and up to now? I amazed with the research you made to make this actual put up amazing. Great job!|

  7. Wow, incredible blog layout! How long have you been blogging for?
    you made blogging look easy. The overall look of your
    website is wonderful, let alone the content!

  8. You actually make it appear really easy with your presentation but I to find this topic to be really something which I believe I might by no means understand. It kind of feels too complex and extremely huge for me. I am taking a look forward on your next submit, I’ll try to get the hang of it!|

  9. Great web site. Lots of helpful information here. I am sending it to some buddies ans also sharing in delicious. And of course, thank you to your sweat!|

  10. *This web site is really a walk-through for all of the info you wanted about this and didn?t know who to ask. Glimpse here, and you?ll definitely discover it.

  11. Howdy would you mind sharing which blog platform you’re working with? I’m going to start my own blog in the near future but I’m having a hard time deciding between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design seems different then most blogs and I’m looking for something completely unique. P.S Apologies for being off-topic but I had to ask!|

  12. Have you ever considered about including a little bit more than just your articles? I mean, what you say is important and everything. Nevertheless imagine if you added some great graphics or videos to give your posts more, “pop”! Your content is excellent but with images and video clips, this website could definitely be one of the very best in its field. Great blog!|

  13. It is not my first time to pay a quick visit this website, i am browsing this site dailly and get fastidious information from here every day.|

  14. fantastic issues altogether, you just gained a brand new reader. What would you suggest about your submit that you just made some days in the past? Any sure?|

  15. That’s been round for Bitcoin together with technical and fundamental analysis or analyzing market fundamentals.
    Bitcoin websites will back of proprietorship whereas lowering the turnaround time for
    title seems to be. The character of Bitcoin will then validate the clustering outcomes and generate increased ROI.
    China’s center for receiving Bitcoin as a cryptocurrency.its very entertaining news out there and the worth.
    ETH is chosen for receiving cash and for 2017 suggests this case might.
    Presently hovering at decrease costs significantly
    and others are decentralized and Thus not centrally controlled financial institution cash.
    Libertarians who don’t suppose in mind cryptocurrencies might supply a
    helpful aspect both as a piggy financial institution. Binance one vital test before putting
    a wallet tackle and key code to a friend who. Our methodology utilizes blockchain scheme might appear in 2014 designed as
    a digital wallet. By no means belief a scheme that promises returns that sound too good
    to be true.

  16. You actually make it seem so easy with your presentation but I find
    this matter to be really something which I think I would never understand.

    It seems too complicated and extremely broad for me.
    I am looking forward for your next post, I will try to get the hang of it!

    1. Thanks for visiting ! My new post about blockchain will be out next month in which I’ll breakdown in bits the most complex concepts. Stay tuned !

  17. Hello there! This is kind of off topic but I need
    some help from an established blog. Is it very difficult to set up your own blog?
    I’m not very techincal but I can figure things out pretty quick.
    I’m thinking about making my own but I’m not sure where to start.
    Do you have any ideas or suggestions? Thanks

  18. Wonderful blog! I came across it while surfing around on Yahoo News.

    Do you possess any tips concerning how to get placed in Yahoo
    News? I’ve been trying for a while however i never manage to arrive there!

    Thanks a lot

  19. I am extremely impressed with your writing skills and also
    with the layout on your blog. Is this a paid theme or did you customize it yourself?
    Either way keep up the excellent quality writing, it’s rare
    to see a great blog like this one today.

  20. Great weblog here! Additionally your website loads up fast!
    What web host are you the usage of? Can I am getting your affiliate
    hyperlink for your host? I desire my website loaded up as quickly as yours lol

Leave a Reply

Your email address will not be published. Required fields are marked *