区块链 hyperledger fabric 2.x版本 排序服务 共识机制采用什么

Posted 软件工程小施同学

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了区块链 hyperledger fabric 2.x版本 排序服务 共识机制采用什么相关的知识,希望对你有一定的参考价值。

Raft!

Ordering service implementations

While every ordering service currently available handles transactions and configuration updates the same way, there are nevertheless several different implementations for achieving consensus on the strict ordering of transactions between ordering service nodes.

For information about how to stand up an ordering node (regardless of the implementation the node will be used in), check out our documentation on deploying a production ordering service.

  • Raft (recommended)

    New as of v1.4.1, Raft is a crash fault tolerant (CFT) ordering service based on an implementation of Raft protocol in etcd. Raft follows a “leader and follower” model, where a leader node is elected (per channel) and its decisions are replicated by the followers. Raft ordering services should be easier to set up and manage than Kafka-based ordering services, and their design allows different organizations to contribute nodes to a distributed ordering service.

  • Kafka (deprecated in v2.x)

    Similar to Raft-based ordering, Apache Kafka is a CFT implementation that uses a “leader and follower” node configuration. Kafka utilizes a ZooKeeper ensemble for management purposes. The Kafka based ordering service has been available since Fabric v1.0, but many users may find the additional administrative overhead of managing a Kafka cluster intimidating or undesirable.

  • Solo (deprecated in v2.x)

    The Solo implementation of the ordering service is intended for test only and consists only of a single ordering node. It has been deprecated and may be removed entirely in a future release. Existing users of Solo should move to a single node Raft network for equivalent function.

The Ordering Service — hyperledger-fabricdocs main documentation

以上是关于区块链 hyperledger fabric 2.x版本 排序服务 共识机制采用什么的主要内容,如果未能解决你的问题,请参考以下文章

学习Hyperledger Fabric 实战联盟链

实战:区块链hyperledger fabric 初体验 - 2: 测试网络

Hyperledger Fabric 2.x Java区块链应用

区块链——Hyperledger Fabric2.2多机搭建及区块链浏览器

区块链 hyperledger fabric 2.x版本 排序服务 共识机制采用什么

区块链:Hyperledger Fabric智能合约(链码)