hyperledger / hyperledger/fabric
Clarify: can external chaincode be replicated?
- Dominant language
- Go
- Stars
- 16.7k
- Forks
- 9.1k
- Avg merge
- 5h 38m
- Merged PRs (30d)
- 26
Description
Looking at [Configuring a peer to process external chaincode](https://hyperledger-fabric.readthedocs.io/en/release-2.2/cc_service.html#modify-the-peer-core-yaml-to-include-the-externalbuilder) and [Writing chaincode to run as an external service](https://hyperledger-fabric.readthedocs.io/en/release-2.2/cc_service.html#go), it looks like it should be possible for a chaincode to be run on multiple machines and for a peer to connect to those multiple instances (with some form of load balancing), by making multiple calls to `shim.ChaincodeServer` and defining multiple external builders with
```
externalBuilders:
- name: myexternal1
path:
- name: myexternal2
path:
```
And so on. Is this in fact possible?
Contributor guide
Assessment
This issue has not been assessed yet.