Pros and Cons of Hyperledger Fabric for Blockchain Networks

Pros and Cons of Hyperledger Fabric

Estimated read time: 11 minutes

Interested in the pros and cons of using Hyperledger Fabric for blockchain? In this article, I explain the pros and cos of Hyperledger Fabric for blockchain networks. However, I will first briefly describe why businesses require enterprise blockchains over public blockchains.

In this article

  1. Why Hyperledger Fabric for blockchain
  2. What is Hyperledger Fabric?
  3. Advantages of Hyperledger Fabric: 1. Modular architecture
  4. The 2nd advantage: you can use the Hyperledger Fabric to build permissioned blockchain
  5. The 3rd among the pros of Hyperledger Fabric: Performance and scalability
  6. The 4th advantage: ’Channels‘ for partitioning data
  7. Rich querying capability is the 5th among the pros
  8. Hardware-based protection of digital keys is the 6th advantage of Hyperledger Fabric
  9. The 7th advantage is the rich community support
  10. The disadvantages of Hyperledger Fabric
  11. Perceived disadvantages of Fabric
  12. Frequently Asked Question on Hyperledger Fabric

Why Hyperledger Fabric for blockchain

Businesses can‘t use public blockchains due to the following reasons:

  • Privacy issues: Public blockchains like Bitcoin are permissionless. Anyone can join it, including anonymous and pseudonymous users. Many businesses, such as financial services institutions and healthcare providers, work under stringent privacy requirements. They can‘t allow just anyone to see their sensitive information.
  • Scalability: Most public blockchains have low scalability because all the nodes on the network are required to process transactions. This also results in low transaction throughput.
  • Immutability of smart contracts: Smart contracts can‘t be changed once deployed and their execution results are irreversible. Businesses need ways to ensure they are bug-free before deploying these.
  • Storage issues: Since every full node stores all the data on the public blockchain, storage requirements are very high, continually increasing over time. This excessive storage redundancy isn‘t practical for businesses.
  • Unsustainable consensus algorithm: Bitcoin and Ethereum use the ’proof of work‘ (POW) algorithm, which requires lots of computing power and is energy-intensive. As time passes, the processing power and energy requirements increase, making it impractical in the business context. More information about POW is found in Proof of work vs proof of stake comparison.
  • Lack of governance: No one controls public blockchains, making it the responsibility of individual developers or developer communities to execute improvement projects. Businesses need sufficient governance to run blockchain effectively over the long term.

Businesses have specific requirements from a blockchain network:

  • They need a blockchain where they can control who joins the network, and they must be able to validate the identity of a new user with their organizational identity management system;
  • Enterprises need scalability and fast transaction execution;
  • Businesses must be able to set access control rules for their sensitive information;
  • The consensus mechanism should account for the business workflow where there is a separation of duties between a requestor, approver, and record keeper.
  • The network should have high resilience;
  • Troubleshooting should be as automated as possible;
  • Maintainability should be high;
  • A proactive governance to develop the right tools and processes for long-term effective operations.

Hyperledger Fabric is a platform that businesses can use to build their enterprise blockchains tho address these issues and meet their business requirements.

What is Hyperledger Fabric?

It‘s a platform used to build enterprise blockchains. It‘s one of the most important projects developed by the Hyperledger Consortium. The consortium intends to advance the development of enterprise blockchains.

Linux Foundation leads this foundation, which was launched in 2016 and counts several prestigious companies among its members. Some of the members are IBM, Intel, CISCO, SAP, Daimler, and American Express.

Hyperledger Fabric, also called ’Fabric‘, is an open-source framework to implement permissioned blockchains. Digital Asset and IBM were the two companies that built the initial version of Fabric.

You can build your enterprise blockchain using Fabric, where you can benefit from the following features:

  • Plug-n-play ability to integrate components such as consensus algorithm and membership services;
  • Smart contracts called ’chaincodes‘, which are hosted using the container technology;
  • Channel technology for confidential transactions;
  • Ordering service that delivers the transaction to ’peers‘, i.e. a group of nodes responsible for committing the transactions in the ledger;
  • Endorsement policy for transaction validation;
  • Database services like CouchDB.

Note: Hyperledger Fabric is an industry-agnostic framework. This is not suitable for cryptocurrency projects. You can develop a native digital token, but that will be a complex development project requiring significant time and effort.

banner-img

Get a complimentary discovery call and a free ballpark estimate for your project

Trusted by 100x of startups and companies like

Advantages of Hyperledger Fabric: 1. Modular architecture

An illustration of a hyperledger-fabric model

Building an enterprise blockchain can be challenging. Developers need to spend a lot of time building the required components since the technology is still relatively new. There is not much available in the way of off-the-shelf plugins, etc.

Developers devote significant energy to automating things at the protocol level. It‘s not easy since there‘s no single administrator. You can read more about the challenges of building enterprise blockchains in this article, “’WordPress of Blockchain’ Startup Seeks to Solve Enterprise Pain Points”.

Fabric offers a modular architecture where developers can create plug-in components. This is very helpful to developers. Thanks to this feature, they can easily include components like custom identity management.

The need to include a custom identity management system is a particularly common requirement. Many companies want to build a permissioned blockchain but want to reuse their existing identity management system for network participants. The modular architecture allows this.

The 2nd advantage: you can use the Hyperledger Fabric to build permissioned blockchain

If you are building a blockchain for a business, you are likely building a permissioned one. Businesses such as banks operating under stringent regulatory requirements can‘t afford unknown users to view transaction data. Besides, information is an asset to these enterprises so unauthorized viewing is a risk to future financial profits.

Fabric is a permissioned framework. All participants have known identities, which are validated against the organizations‘ identity management system. There are no anonymous or pseudonymous users.

Organizations using Fabric would typically use a ’Membership Service Provider‘ (MSP). This is for issuing and validating certificates, as well as for user authentication.

MSP is also called Certificate Authority (CA) in Fabric parlance. The platform provides tools for MSP certificate generation, for e.g. ’cryptogen‘. Read more about the MSP in Fabric in this article “Hyperledger Fabric in practice. Main components and running them locally”.

You can assign different roles to the nodes as follows:

  1. ’Client‘: invokes transactions;
  2. ’Orderer‘: updates transaction data;
  3. ’Peer‘: receives updates from orderer and commits transactions in the ledger;
  4. ’Endorser‘: a kind of peer that validates transaction authenticity.

Given that the process of building a permissioned blockchain network is complex and challenging, it’s a good idea to think about hiring expert blockchain developers and ensuring that it runs like clockwork.

The 3rd among the pros of Hyperledger Fabric: Performance and scalability

There is no POW algorithm and crypto mining in Fabric, and it delivers high scalability and fast transactions. Transaction validation mirrors how a transaction workflow operates in normal enterprise and works as follows:

Hire expert developers for your next project

62 Expert dev teams,
1,200 top developers
350+ Businesses trusted
us since 2016
  1. The transaction processing has 3 separate phases:
    1. Distributed logic processing and agreements involving chaincodes;
    2. Transaction ordering;
    3. Transaction validation and commit.
  2. This ensures fewer levels of trust and validation across different types of nodes, thus reducing overhead;
  3. A transaction lifecycle is as follows:
    1. A requester submits a transaction proposal to an endorser;
    2. The endorsement policy specifies the number and combination of endorsers required for this transaction;
    3. The endorser executes chaincodes to simulate the proposal to the peers through a ’read/write set‘;
    4. The endorser sends back the signed proposal responses, also called ’endorsements‘;
    5. The client submits a transaction to the orderer with digital signatures;
    6. The orderer creates a block of transactions and sends it to the peers;
    7. The peer checks whether the endorsement policy was met and checks for conflicting transactions. When both checks are successful, the peer commits the block in the ledger.

Only signature read/write sets traverse the network, which optimizes scalability and enables performance. Only endorsers and peers committing transactions actually see these transactions, hence confidentiality of data is optimally maintained.

The 4th advantage: ’Channels‘ for partitioning data

Take the case of the financial services sector, where some investment instruments can take 10 or more years to deliver the desired returns. This means that the data concerning such instruments must remain confidential for a decade or more.

Banks and financial institutions aren‘t confident that data encryption technology used in blockchain or any other technology for that matter can protect their sensitive data for that long. They are aware that hackers are continuously upgrading their capabilities.

E.g., a decade from now, quantum computing, i.e., a technology that’s expected to increase computing power many times over, theoretically will be able to break today’s data encryption technology.

Read “Quantum computers threaten data encryption” if you wish to know more.

Financial services companies are keen on physically separating their sensitive data to protect them. ’Channels‘ in Fabric provide a data-partitioning capability that achieves this physical separation of sensitive data.

Rich querying capability is the 5th among the pros

A fabric example of query the ledger

With every update of distributed ledger solutions, a set of asset key-value pairs is also committed to the ledger. The file system of Fabric incorporates LevelDB, which is very suitable for query functions.

LevelDB has a key-value database and enables keyed queries. There can also be composite key queries and key range queries.

You can also optionally add CouchDB, which has a document database where content is stored as JSON. This makes the database very easy to query.

Using JSON eliminates the need for frequent changes to the application just to facilitate querying. CouchDB also supports data-rich queries.

Hardware-based protection of digital keys is the 6th advantage of Hyperledger Fabric

Fabric features a ’Hardware Security Model‘ (HSM) that helps in safeguarding and managing digital keys used for authentication. For use cases such as identity management, HSM increases the protection of keys and sensitive data.

The 7th advantage is the rich community support

Earlier, I listed a few member organizations involved in the Hyperledger consortium. There are many more, including Oracle, Deloitte, Huawei, JP Morgan, ABN-AMRO, ANZ, and Aetna. You can find the complete list of members in the “Members” section of their hyperledger foundation website.

Hire expert developers for your next project

Trusted by

This is one of the richest development communities going. Coming from such a diverse set of organizations, each of which have significant expertise both in blockchain technology as well as their primary ’Lines of Business‘ (LOBs). The combined might of the community is expected to pay a rich dividend to Fabrics‘ future development roadmap.

The Disadvantages of Hyperledger Fabric

Two obvious disadvantages of Fabric are both related to the framework being quite new. These are:

  1. Lack of proven use cases;
  2. An inadequate number of skilled programmers able to use it.

Considering that Fabrics 1.0 was released only in July 2017, the above disadvantages are expected. The project team is aware that addressing these challenges will take time. You can read about their viewpoint in the article “The pros and cons of Hyperledger Fabric.”

Perceived disadvantages of Fabric

There are those in the crypto community who consider Fabric to have fundamental disadvantages. However, this is debatable. These crypto community members insist on a fully decentralized and completely open blockchain. Nothing less meets their standards.

Below are their concerns with Fabric and the counterpoints from supporters of Fabric:

  1. Critiques argue that Fabric is permissioned, and therefore not a public blockchain. This doesn‘t allow complete transparency in hyper-ledger projects. Supporters of Fabric say that it will be used in business-to-business (B2B) and business-to-consumer (B2C) contexts that demand trusted participants only. This removes the possibility of using a permissionless blockchain.
  2. Critiques don‘t find the consensus algorithm in Fabric as secure as POW. However, supporters of Fabric argue that in a network where all participants have already been verified using an internal identity management system, a costly algorithm like POW isn‘t required.
  3. Critiques argue that without a crypto token, there will not be an incentive for nodes to keep the network as secure as miners do in the Bitcoin network. Supporters point out that there will be no anonymous transactions in the network, hence, POW and an expensive mining process isn‘t necessary.
  4. Critiques claim that there won‘t be real immutability without POW. Supporters agree that complete immutability isn‘t possible in Fabric since it doesn‘t employ POW. But they also point out that in a network with known participants, all bound by the governance and code of conduct of the business organization, a ’tamper-evident’ system is needed, and not a ’tamper-proof’ one. The cryptographic hash will be different if someone tampers with data. In Fabric, checking the hashes will reveal if tampering was done, and that will allow organizations to start the necessary corrective process.

You can read about these perceived disadvantages and the corresponding responses from the supporters of hyperledger fabric networks, in “Private Blockchains for Bitcoin Maximalists”.

Are you interested in using hyper ledger fabric for enterprise blockchain application development? You will require expert software developers with the right skill set. DevTeam.Space can help you here with their community of blockchain-expert developers.

Write to us your initial hyperledger fabric development requirements via this quick form and one of our technical managers will get back to you for further discussion.

Frequently Asked Question on Hyperledger Fabric

What is Hyperledger Fabric?

Hyperledger was started in 2015 by the Linux Foundation. It is an open-source blockchain framework that supports the development of blockchain applications using distributed ledger technology.

Is Hyperledger Fabric network a public Blockchain?

It is an enterprise blockchain that is designed for business application development. It is not a public blockchain.

What is the difference between the Ethereum and Hyperledger Fabric blockchain?

The main difference is that the Ethereum blockchain is a public blockchain that allows anyone to develop on it using a smart contract. Hyperledger Fabric, on the other hand, is an enterprise blockchain that is designed for businesses to create blockchain solutions on.


Alexey

Alexey Semeney

Founder of DevTeam.Space

gsma fi band

Hire Alexey and His Team To Build a Great Product

Alexey is the founder of DevTeam.Space. He is award nominee among TOP 26 mentors of FI's 'Global Startup Mentor Awards'.

Alexey is Expert Startup Review Panel member and advices the oldest angel investment group in Silicon Valley on products investment deals.

Hire Expert Developers

Some of our projects

Islandbargains

Shipping

Enterprise

FL, United States

Android iOS Java Mobile PHP Web Website

A complete rebuild and further extension of our client's web and mobile shipping system that serves 28 countries.

Details
NewWave AI

Academic

Papers

United States

All backend All frontend Design WordPress

A website to publish AI research papers with members-only access and a newsletter.

Details
Fun And Function

Mobile Web

E-commerce

Pennsylvania, United States

All frontend Design PHP

A mobile website update for the e-commerce marketplace to support mobile traffic growth. 

Details

Read about DevTeam.Space:

Forbes

New Internet Unicorns Will Be Built Remotely

Huffpost

DevTeam.Space’s goal is to be the most well-organized solution for outsourcing

Inc

The Tricks To Hiring and Managing a Virtual Work Force

Business Insider

DevTeam.Space Explains How to Structure Remote Team Management

With love from Florida 🌴

Tell Us About Your Challenge & Get a Free Strategy Session

Hire Expert Developers
banner-img
Hire expert developers with DevTeam.Space to build and scale your software products

Hundreds of startups and companies like Samsung, Airbus, NEC, and Disney rely on us to build great software products. We can help you, too — 99% project success rate since 2016.