Blog Post

Feb. 1, 2019

Making the Business Case for Deploying Hyperledger Fabric Network on Kubernetes

By Tara Matamoros Carter


Businesses don’t exist to make money. They exist to solve problems. That’s what they are supposed to do anyway, even if sometimes they generate other problems. In the massively connected, always available, instantly updated world of 2019, you are going to need more advanced technology to solving more complicated problems. Which brings us to Hyperledger Fabric.

VMWare defined Hyperleger Fabric as “the most mature blockchain solution available now for business use cases.” Here’s an in-depth look at what that means, why Hyperledger Fabric needs Kubernetes, and what kind of problems they can help you solve.

What is Hyperledger Fabric?

Fabric has been the most popular of the six blockchain building frameworks on Linux Foundation’s Hyperledger site because it is the strongest in terms of data privacy. Although the entire project is open source, Fabric specifically has been developed by a team of 28 companies led by IBM. There are now more than 250 companies using Fabric and its 3.6 million lines of code.

Fabric streamlines the assembly of your own blockchain applications because the modular architecture allows you to plug and play using pre-built critical components of a blockchain. Other Hyperledger projects include frameworks like Grid, a WebAssembly library for supply chains, and Burrow, a rapid smart contract generator.

In addition to these frameworks, there are also several Hyperledger tools, such as Cello, an on-demand X-as-a-service deployment model, and Quilt, which patches together independent ledger systems.

Fabric creates permissioned networks, which means that everyone on the network has a confirmed identity. This is particularly necessary for applications governed by strict data privacy laws, such as financial services or healthcare. There has to be a clear record of everyone who has access to the data and what the data is being used for. As new data privacy guidelines go into effect all over the globe, more networks will need to be permissioned, so it makes sense to get ahead of the privacy curve now.

The Main Alternatives to Fabric

Ethereum was the framework that started it all in terms of enterprise blockchain development. Unlike Ethereum, though, the new specialized blockchain development frameworks - Hyperledger Fabric, R3’s Corda, and JPMorgan’s Quorum – don’t support a currency, partially to keep them far from the Bitcoin debate. Like Fabric, Corda and Quorum are for developing permissioned blockchains, but from there they differ significantly. Quorum was developed specifically for financial services and Corda for financial or legal use cases. Fabric is different in one important way that gives it the edge for applications in any industry that require maximum availability and rapid scalability.

Making the Business Case for Deploying Hyperledger Fabric Network on Kubernetes

The difference is that Fabric breaks up transactions into three pieces:

  1. The application sends a proposed transaction proposal to an endorsing peer.
  2. The endorser executes a chaincode in a read/write set, which goes to the ordering service.
  3. The block from the ordering service is added to the blockchain by the committing peer.

Separating the endorsement from the block creation from the recording greatly reduces the amount of traffic across the network, speeding up performance. The separation also makes the blockchain more secure in the same way that the segregation of duties (authority, custody, and control) does in accounting.

Does Fabric Need Kubernetes?

Fabric operates by creating a network of containers, and Kubernetes was specifically built for managing and orchestrating the movement of containers. Due to the complexity of keeping all the containers running concurrently, you need Kubernetes to automatically spawn new containers if one goes down, assuring maximum up time and high availability.

The Significance of Hyperledger Fabric

From a market analysis standpoint, enterprise technologies tend to go through three phases:

Stage 1: What are you talking about?
Stage 2: That’s never going to work.
Stage 3: Our clients are using this. Figure it out.

That is an updated and simplified version of the Diffusion of Innovation thesis by Everett Rogers, usually represented by the graph below. Kevin Kai Nielsen Garcia at CryptoOracle, suggested that blockchain has penetrated beyond the early adopter segment and is transitioning into “That’s never going to work” territory. Based on that conclusion, the biggest opportunity for new businesses now rests with middleware vendors and service providers who can makes blockchain application development easier for the non-technical masses.

Blockchain Growth

The tools made available here include a framework and an extensive code library that already contains hundreds of projects, wireframes and the skeletons of production systems so entrepreneurs and businesses can hit the ground running.

Hyperledger and the eBay Moment

There are indications that blockchain’s adoption trajectory is roughly following the same path as the world wide web a quarter of a century ago. There no more that a few dozen commercial websites when the National Center for Supercomputing Applications (NCSA) released their first web browser, Mosaic, in 1993. After a decade the number of active websites grew to 40 million, but the next 40 million took just 2 years. By 2016, there were more than one billion websites and the number has doubled since then.

Website Growth

While many factors influenced the accelerated of the web, certainly one of most powerful drivers was the market share growth of ecommerce sites in the late 1990s. Now, 40% of US shoppers aged 18-34 agreed with the statement, “Ideally, I would buy everything online,” as reported eCommerce in the Cloud.

Like the blockchain equivalent of eBay, applications of Hyperledger Fabric on Kubernetes are well-positioned to drive the consumerization of distributed ledger tech. They represent a path for a tool for collaborating, organizing and monetizing business on blockchain, especially for software related to financial services, healthcare monitoring, data privacy, geofailover backups, and verification processing.

Use Case: Dispute resolution

A good representative of the kind of projects being built with Hyperledger Fabric and Kubernetes is IBM’s Global Financial dispute resolution system. More than $100 million was being tied up every year in disputes when third party suppliers and partners didn’t get what they expected out of their transactions. Their Hyperledger Fabric deployment shrank “time to resolve” averages from 40 days down to 10, increasing capital efficiency by 40 percent and greatly improving the customer experience.

Use Case: Carbon emission reduction

There are many initiatives around the world seeking smarter approaches to halting and reversing the effects of greenhouse gas emissions. Quotas and financial incentives under carbon emission reduction (CER) programs have proven to be some of the most effective. Energy-Blockchain Labs in China announced that their Hyperledger Fabric project created smart contracts to improve carbon asset tracking, ensure data security, and boost the credibility of actors in the carbon emission reduction market due to better transparency and auditability of transactions. Cao Yin, Chief Strategy Officer of Energy-Blockchain Labs, estimates their project will “significantly shorten the carbon assets development cycle and reduce the cost of carbon assets development by 20 to 30 percent, enabling cost-effective development of a large number of carbon assets.”

Use Case: Farm to table

Consumers are growing increasingly concerned over what they consume, especially in terms of tracking the quality of the food they eat, all the way back to the source. The e.coli poisoning of romaine lettuce and various other threats to food supplies over the past year have highlighted the life and death importance of expanding transparency in food supply chains. That’s why new tools built on Hyperledger Fabric and Kubernetes have been instrumental in creating an immutable ledger of each stop on the path from the garden to the grocery. “The food system is absolutely too large for any single entity to [track],” Frank Yiannas, VP of Food Safety at Walmart, explained. “We’ve been working with IBM to digitize that, so the information is captured on the farm with a handheld system…. When it comes to safety, this is not a competitive issue. We all win or lose together.”

When you are ready to experiment with your own permissioned distributed ledger, this GitHub code pattern can walk you through the seven steps in setting up Hyperledger Fabric with Kubernetes APIs on IBM Cloud Kubernetes Service, including network topologies and video.

Next Stop: Serverless

Both Hyperledger Fabric and Kubernetes gained recognition based on their ability to be deployed across various vendor clouds and tech stacks. Open source is a more collaborative, inclusive way of organizing information. It just makes sense free-spirited application technologists would eventually bring that same aesthetic to DevOps. The problem is that migrating incredibly complex and fragmented software from one network to another requires a vast amount of changes to technical specifications and server settings. What if all of that didn’t matter though? What if you could just develop code in a server-agnostic, practically serverless, architecture? That’s what I’ll explore in the next article, when we look at which elements of Kubernetes have proved essential for the next evolution of cloud-based software in a serverless environment.

Share with your friends

 Kubernetes,  Blockchain, Hyperledger Fabric

You may also find interest in these posts:

Selling Cookies: 2 Timeless Lessons From An 11-year-old Entrepreneur

"Reading the Room" During These Trying Times to Maximize Your Profit