简体   繁体   English

Hyperledger Fabric v1.0 - 单通道的多个“订购者”

[英]Hyperledger Fabric v1.0 - multiple “orderers” for single channel

The network configuration that is provided with the e2e_cli example has only one "orderer" container and a set of kafka/zookeeper containers. e2e_cli示例提供的网络配置只有一个“orderer”容器和一组kafka / zookeeper容器。

My questions are: 我的问题是:

  • Q1: Is the single "orderer" some kind of architectural restriction of HLFv1.0 when single channel need to be created ? Q1:当需要创建单个通道时,单个“订购者”是HLFv1.0的某种架构限制吗?
  • Q2: Is it possible to run multiple "orderers" for HA purposes when only one channel is used ? Q2:当只使用一个通道时,是否可以为HA目的运行多个“orderers”?

the documentation suggests that multiple orderers can be used, but my understanding is that each "orderer" provide ordering service for single channel - is it right ? 文件表明可以使用多个订货人,但我的理解是每个“订货人”都为单一渠道提供订购服务 - 是不是?

Q1: Is the single "orderer" some kind of architectural restriction of HLFv1.0 when single channel need to be created ? Q1:当需要创建单个通道时,单个“订购者”是HLFv1.0的某种架构限制吗?

No, you can have more than 1 ordering service node. 不,您可以拥有多个订购服务节点。

Q2: Is it possible to run multiple "orderers" for HA purposes when only one channel is used ? Q2:当只使用一个通道时,是否可以为HA目的运行多个“orderers”?

Yes. 是。 That was the intention of the kafka-based orderer - to have multiple instances of ordering service nodes all connect to a single fault tolerant service (kafka) that would do the ordering, and have them act as mediators to that service. 这就是基于kafka的订购者的意图 - 让多个订购服务节点的实例都连接到一个能够进行排序的容错服务(kafka),并让它们充当该服务的中介。

the documentation suggests that multiple orderers can be used, but my understanding is that each "orderer" provide ordering service for single channel - is it right ? 文件表明可以使用多个订货人,但我的理解是每个“订货人”都为单一渠道提供订购服务 - 是不是?

You can submit a transaction or pull a block from any of the orderers. 您可以提交交易或从任何订货人处提取一个区块。 They would go to the same kafka node that is the leader of that channel for that time. 他们会去那个时候那个频道领导者的同一个kafka节点。 Also - orderers are multi-tenant regarding channels - orderers can service multiple channels. 此外 - 订购者是关于渠道的多租户 - 订购者可以为多个渠道提供服务。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM