2021 Q3 Hyperledger Fabric
Hyperledger Fabric https://github.com/hyperledger/fabric
Project Health
Hyperledger Fabric continues to mature, as evidenced by the following observations throughout this report:
- LTS release available
- Project developers have been spending a larger percentage of time on maintenance and support than in the past, given the increasing number of production deployments and LTS releases.
- Lower commit velocity on new features in core Fabric, more activity around extensions in Hyperledger labs
- Healthy RFC process with reviews in contributor meetings to drive consensus on new features.
The commit rate and mailing list activity were down compared to the same period last year. PRs and mailing list questions are generally turned around quickly.
Required Information
- Have you switched from master to main in all your repos? Yes
- Have you implemented repolinter.json in all your repos? Not yet
Questions/Issues for the TSC
None
Releases
v2.2 is the current LTS releases with patch releases quarterly. v1.4 LTS went end of support in April 2021. Production users are encouraged to use v2.2, users who want to try new features are encouraged to use v2.3 and v2.4.0-alpha and provide feedback.
Releases past quarter:
- v1.4.12 - April 23, 2021
- v2.2.3 - April 23, 2021
- v2.3.2 - April 23, 2021
- v2.4.0-alpha - April 15, 2021
Upcoming releases planned this quarter:
- v2.2.4
- v2.3.3
- v2.4.0-beta
v2.3 added two major features which are seeing encouraging adoption in the community:
- Ledger snapshot enables a peer to take a snapshot of its state. This allows new peers to join a channel from an agreed upon snapshot, reducing the time to join a channel and the storage size required to maintain a ledger. In the future it will also be possible to prune/archive old blocks to bring the same benefit to existing peers.
- The channel participation management feature improves the privacy and scalability of the ordering service since a global 'system channel' will no longer be needed for the creation and management of channels.
Overall Activity in the Past Quarter
The project was busy maintaining the releases and preparing for a v2.4.0-beta release with the new Fabric Gateway (details below).
Additionally the project has been planning future work through the RFC process.
RFCs merged this quarter:
- Orderer ledger snapshots
RFCs in review this quarter:
- WASM for smart contracts
- BFT ordering service
- Modular crypto service
- OpenTelemetry
There has also been a significant amount of Fabric activity in Hyperledger Labs, a few highlights:
- https://github.com/hyperledger-labs/fabric-smart-client
- https://github.com/hyperledger-labs/fabric-token-sdk
- https://github.com/hyperledger-labs/fabric-operations-console
- https://github.com/hyperledger-labs/minifabric
- https://github.com/hyperledger-labs/fabric-opssc
- https://github.com/hyperledger-labs/mirbft
Current Plans
The largest item being worked in 2021 is the Fabric Gateway, a new component that will implement much of the high-level 'gateway' programming model. This will remove much of the transaction submission and query logic from the client application and shift it to a common gateway running within the Fabric peer, enabling each of the various client SDKs to be slimmer, more consistent, and require less maintenance. It will also simplify the administrative overhead of running a Fabric network because client applications will be able to connect and submit transactions via a single network port rather than the current situation where ports have to be opened from a client application to multiple peers across potentially multiple organizations. The Fabric Gateway is expected to be function complete for a Q3 v2.4.0-beta release.
Other work items in plan or in progress:
- A feature to purge private data stores, which will help solutions meet GDPR requirements. An RFC is expected so that we can gather additional feedback from the community.
- A feature to unjoin a peer from a channel.
- A more realistic Node.js SDK sample application demonstrating good practices (connection management, error handling, timeouts, retries, etc)
- Guidance for kubernetes deployments
Additional discussion of Fabric roadmap can be found in this contributor meeting recording.
Maintainer Diversity
Two maintainers retired this quarter. 5 of 10 maintainers are from IBM.
Contributor Diversity
Year to year comparison, by commit:
- Q2 2020 - 1140 commits. 67% from IBM.
- Q2 2021 - 396 commits. 54% from IBM
Year to year comparison, by contributor:
- Q2 2020 - 96 contributors. 38% from IBM.
- Q2 2021 - 77 contributors. 22% from IBM.
Additional Information
Link to the Fabric dashboard: Q2 2021
Reviewed By
- Angelo de Caro
- Arnaud J LE HORS
- Arun .S.M.
- Baohua Yang
- Bobbi Muscara
- Danno Ferrin
- David Enyeart
- Gari Singh
- Grace Hartley (Deactivated)
- Hart Montgomery
- María Teresa nieto
- Mark Wagner (Deactivated)
- Nathan George
- Tracy Kuhrt
- Troy Ronda