hyperledger / fabric

Hyperledger Fabric is an enterprise-grade permissioned distributed ledger framework for developing solutions and applications. Its modular and versatile design satisfies a broad range of industry use cases. It offers a unique approach to consensus that enables performance at scale while preserving privacy.
https://wiki.hyperledger.org/display/fabric
Apache License 2.0
15.68k stars 8.83k forks source link

QUIC support #3340

Open xinyoulinxi-T opened 2 years ago

xinyoulinxi-T commented 2 years ago

Can the Fabric protocol stack replace TCP with QUIC?Hope to get the answer, if possible, how to modify?Thank you

yacovm commented 2 years ago

Fabric uses gRPC over TLS to communicate between nodes (peers and orderers) and with clients and chaincodes.

You will need to make the change in not only the Fabric core, but also in the clients (implemented in multiple languages).

xinyoulinxi-T commented 2 years ago

Fabric uses gRPC over TLS to communicate between nodes (peers and orderers) and with clients and chaincodes.

You will need to make the change in not only the Fabric core, but also in the clients (implemented in multiple languages). Thanks for your reply, but how can the Fabric kernel be modified?

carusyte commented 8 months ago

Is there any materials / prelim explorations indicating how much gRPC-over-QUIC can outperform existing TCP protocol?

yacovm commented 8 months ago

I saw some posts that claim it's much quicker. However currently the bottleneck in Fabric is in the slow transaction processing at the peer, unless you use SmartBFT in which case it's slightly slower, but we will always have the 3K TPS limit at the peer unless we do something about it.