HyperLedger Fabric consensus algorithm

in hyperledger •  4 years ago 

Solo mode
The consensus algorithm of the solo mode in Hyperledger Fabric is the simplest kind of consensus algorithm. There is only one ordering node (order) to receive client peer node messages and complete the ordering. Blocks and uploads are generated according to the ordering results of the order nodes. Chain processing. This mode can only be used in a test environment and is not suitable for large-scale use in a production environment.

Kafka mode
The ordering service node is composed of a group of orderer nodes, which is connected to the Kafka cluster and uses Kafka to complete the message consensus function.
After the client peer node sends a message to the Orderer node cluster, it is encapsulated into a Kafka message format after being endorsed by the Orderer node group, and then sent to the Kafka cluster to complete the unified ordering of transaction information. If there are multiple channels in the alliance chain, the implementation in Kafka is based on the setting of a topic for each channel, and each channel has a chain.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!