how hyperledger fabric works
traditional blockchain networks can t support private transactions and confidential contracts that are of utmost importance for businesses hyperledger fabric was designed in response to this as a modular scalable and secure foundation for offering industrial blockchain solutions hyperledger fabric is the open source engine for blockchain and takes care of the most important features for evaluating and using blockchain for business use cases within private industrial networks the verifiable identity of a participant is a primary requirement hyperledger fabric supports memberships based on permission all network participants must have known identities many business sectors such as healthcare and finance are bound by data protection regulations that mandate maintaining data about the various participants and their respective access to various data points fabric supports such permission based membership 4the modular architecture of hyperledger fabric separates the transaction processing workflow into three different stages smart contracts called chaincode that comprise the distributed logic processing and agreement of the system transaction ordering and transaction validation and commitment 5 this segregation offers multiple benefits additionally hyperledger fabric s support for plug and play of various components allows for easy reuse of existing features and ready made integration of various modules for instance if a function already exists that verifies the participant s identity an enterprise level network simply needs to plug and reuse this existing module instead of building the same function from scratch the participants on the network have three distinct roles in a nutshell the transaction proposal is submitted to the endorser peer according to the predefined endorsement policy about the number of endorsers required after sufficient endorsements by the endorser s a batch or block of transactions is delivered to the committer s committers validate that the endorsement policy was followed and that there are no conflicting transactions once both the checks are made the transactions are committed to the ledger 7image source ibmsince only confirming instructions such as signatures and read write set are sent across the network the scalability and performance of the network is enhanced only endorsers and committers have access to the transaction and security is improved with a fewer number of participants having access to key data points 5example of hyperledger fabricsuppose there s a manufacturer that wants to ship chocolates to a specific retailer or market of retailers i e all us retailers at a specific price but does not want to reveal that price in other markets i e chinese retailers since the movement of the product may involve other parties like customs a shipping company and a financing bank the private price may be revealed to all involved parties if a basic version of blockchain technology is used to support this transaction hyperledger fabric addresses this issue by keeping private transactions private on the network only participants who need to know are aware of the necessary details data partitioning on the blockchain allows specific data points to be accessible only to the parties who need to know 6criticism of hyperledger fabricthe high water mark of crypto enthusiasm broke in 2018 after the collapse of the price of bitcoin which hit its peak on dec 17 2017 89 overoptimistic claims about the value of the new technology were replaced with skepticism and related technologies including hyperledger also suffered from this skepticism hyperledger fabric competes with other hyperledger projects like iroha indy and sawtooth 10 it also competes with r3 s corda which is also a private permission based dlt blockchain service firm chainstack published a paper in january 2020 that shows development in corda has been historically higher than development in fabric though fabric development passed corda s in q3 2019 when fabric switched to github 11the chainstack report shows that while there are three times as many developers working on fabric corda developers made more than two times as many code contributions and fabric developers push far less code per developer than corda s developers 12several critiques of hyperledger fabric point out that a permission based private blockchain with hyperledger fabric s features is not a blockchain and current non blockchain technologies are far less expensive and deliver the same amount of security cointelegraph s stuart popejoy put the case like this hyperledger fabric has also been critiqued for lacking resiliency a team of researchers from the sorbonne in paris and csiro data61 australia s national science agency found that significant network delays reduced the reliability of fabric b y delaying block propagation we demonstrated that hyperledger fabric does not provide sufficient consistency guarantees to be deployed in critical environments 14hyperledger fabric 2 0 released in january 2020in january of 2020 hyperledger fabric 2 0 was released to address some of the existing criticisms 3 according to ron miller at techcrunch the biggest updates involve forcing agreement among the parties before any new data can be added to the ledger known as decentralized governance of the smart contracts 15although the update isn t a sea change in the simplicity or applicability of fabric it does demonstrate that progress continues to be made in the cryptocurrency industry beyond the crypto mania that occurred in 2018 over the next five to ten years it s expected that enterprise blockchain will undoubtedly find its proper use 16