The network configuration that is provided with the e2e_cli example has only one "orderer" container and a set of kafka/zookeeper containers.
My questions are:
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 ?
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 ?
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.
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. Also - orderers are multi-tenant regarding channels - orderers can service multiple channels.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With