Raft vs BFT ordering for a Fabric network: which one your consortium needs
Your consortium has to decide how ordering nodes are run and how much each member trusts the others to run them honestly. Raft is the default choice in the Fabric documentation, and it fits most permissioned networks where ordering organizations trust each other not to act maliciously but need the service to survive crashes and maintenance. Raft is crash fault tolerant and leader based: one leader orders blocks and replicates them to followers, and the cluster stays available while a majority of nodes are online. A five node Raft cluster therefore tolerates the loss of two nodes. The Fabric ordering planning guide is the natural next read for sizing that cluster and deciding where each consenter runs.
SmartBFT is the Byzantine fault tolerant option that Fabric v3.0 added. It is configured with 3f + 1 nodes, where f is the number of failures the network must tolerate, so a network that must withstand one malicious or faulty orderer needs four nodes. It also requires the channel capability V3_0 before it can be used. Teams usually need SmartBFT when ordering organizations do not trust one another enough to accept a single operator's orderer misbehaving, for example when a consortium member that runs ordering nodes is a competitor of other members. Confirm the node count and capability requirements against the BFT configuration guide before you commit to a design.
Decide before go-live, because the choice is hard to undo. The Raft to BFT migration guide states that migration is one way: once a channel has moved to BFT and is committing transactions, it cannot return to Raft. Write down who runs each ordering node, what failures each organization accepts, and whether the consortium will add ordering organizations later. Then confirm that your Fabric version, client tooling and channel capability levels support the option you pick. Piloting the design on a test network first gives your team a concrete view of node counts and operator effort.
Raft and SmartBFT compared for ordering decisions
This table compares Raft and SmartBFT ordering on fault model, node count, version and channel requirements, and fit. Read each row as a constraint that narrows the choice, then check the failure figures against your own consortium's trust assumptions. The main takeaway is that BFT adds Byzantine fault tolerance at the cost of a newer version line, a channel capability change and a migration that cannot be reversed.
| Decision factor | Raft (crash fault tolerant) | SmartBFT (Byzantine fault tolerant) |
|---|---|---|
| Fault model | Tolerates crashed or unreachable orderers. Assumes ordering nodes follow the protocol. | Tolerates Byzantine ordering nodes, including ones that act maliciously, up to the configured limit. |
| Node count rule | Majority must stay online. Five nodes is a common example. | Configured as 3f + 1 nodes, where f is the number of tolerated failures. |
| Failure tolerance (example) | A five node cluster tolerates the loss of two nodes. | Tolerates failures of up to, but not including, one third of ordering nodes. Confirm exact counts for your size in the docs. |
| Required Fabric version | Available on the 2.5 LTS line and the 3.x line. | Requires Fabric v3.0 or later. |
| Channel capability | Works with the channel capability levels used by existing Raft channels. | Requires channel capability V3_0 before the BFT service can run on the channel. |
| Reversibility | Raft is the supported starting point and the default recommendation in the Fabric docs. | Migration from Raft to BFT is one way. A migrated channel cannot return to Raft once it commits transactions. |
| Operational limits | Leader based. The cluster stays available while a majority of nodes are online. | Confirm current SmartBFT operational limits, such as supported node counts and tooling, in the BFT configuration docs before committing. |
| When it fits | Orderers are run by one organization or by parties that trust each other to follow the protocol. | Several ordering organizations do not fully trust each other and need protection against a malicious orderer. |
Six factors that drive the Raft or BFT decision
The Raft or BFT choice is rarely settled by one question. Ownership of ordering nodes, the trust model between members, node count, the Fabric version line, client compatibility and operating capacity all push in the same direction, so answer them together before committing to a consensus type.
Ordering node ownership
Ask who will run each ordering node and whether every consenter belongs to a different organization. If one operator runs all ordering nodes, the trust question shrinks and Raft is usually the simpler fit. If several members each contribute nodes, you must plan endpoints, TLS and admin access per organization, and BFT becomes worth evaluating. Confirm the ownership model in writing before any node is provisioned.
Ordering service planningTrust between ordering organizations
Ask whether the ordering organizations trust each other enough to accept a crash fault model, where a node may stop but is assumed not to act maliciously. A yes keeps Raft on the table. A no, or a consortium where members may collude or be compromised, points toward BFT, which is designed to tolerate Byzantine behavior. Record the threat assumption explicitly, since it is the main justification for the extra cost of BFT.
- BFT node formula
- 3f + 1
Node count and cost of extra nodes
Ask how many failures the network must survive and how many nodes that requires under each model. Raft keeps working while a majority of nodes is online, so a five node cluster tolerates two failures. BFT requires 3f + 1 nodes, so tolerating one failure needs four nodes. Each extra node adds compute, storage, certificates and monitoring that recur over the life of the network.
Fabric version and upgrade path
Ask which Fabric line you will run and whether your upgrade plan can keep it supported. BFT ordering arrived with v3.0, so choosing it commits you to the 3.x line, while the v2.5 line remains the LTS release for production. Confirm the v3.x patch cadence and your maintenance window before deciding, because the move to BFT cannot be reversed once channels commit transactions.
Upgrade to newest versionClient and peer compatibility
Ask which client applications, SDKs and peer versions must connect to the network during and after the change. The Fabric Gateway client API works with both v2.5 and v3.0, so applications can move separately from the network. Check every peer, orderer and client in your estate against the target version and the channel capability levels, and confirm that no legacy component blocks the upgrade path.
Recovery and operations staffing
Ask whether your team can run the chosen consensus type during an incident, including node replacement, certificate renewal and recovery from a failed majority. BFT adds configuration and operational steps that Raft does not require, so a team without BFT experience needs rehearsed runbooks before go-live. Name the people on call, the skills they need and the monitoring endpoints each node exposes.
Operations service docsHow to plan the ordering service before you deploy
This sequence turns the Raft versus BFT choice into a written decision that fixes the Fabric line, the trust model, the node count, the channel capability level and the rollout order before any orderer is deployed.
Confirm the Fabric release line
The platform team confirms which Fabric line the network will run on. Fabric v2.5 is the long-term support release for production users, and the 3.x line adds BFT ordering with SmartBFT. Check the current patch versions on the Fabric releases page, since v3.1.5 and v2.5.16 both carry releases from the same date and the two lines receive patches in parallel. Record the chosen line and patch level in the design document. The step is done when every organization in the consortium has confirmed the same line in writing, and the binaries you plan to deploy match it.
Decide the ordering trust model
The consortium decides how far it trusts the organizations that run ordering nodes. Raft is crash fault tolerant and assumes nodes fail by stopping, not by acting maliciously, so it fits a group that trusts each consenter to follow the protocol. BFT tolerates some nodes behaving arbitrarily, which matters when no single ordering organization should be able to corrupt or stall the ledger. Governance, legal and security leads should answer the question together, and the output is a one-page statement of which organizations run consenters and what each is trusted to do. The step is done when the consortium signs off the statement and the rest of the plan references it.
Size the cluster with the 3f+1 and majority rules
Work out the node count from the failure tolerance you need. A Raft cluster stays available while a majority of nodes is online, so five nodes tolerate the loss of two. A BFT cluster is configured with 3f + 1 nodes, where f is the number of tolerated failures, so the network must have at least four nodes to tolerate one. Confirm that the planned count gives the failure tolerance the consortium agreed in the previous step, and that the organizations contributing nodes can each run their own. The step is done when a table lists the node count, the failures tolerated and the organization that hosts each consenter.
Confirm channel capability requirements
Check which channels will use the ordering service and whether each one can reach the capability level BFT requires. A BFT ordering service needs channel capability V3_0, and any channel that has already moved to a newer capability level must be checked against the Fabric upgrade steps. Confirm that every peer and client application on the channels supports the chosen line, using the Fabric Gateway compatibility note for v2.5 and v3.0 where client upgrades are staggered. The step is done when each channel has a written entry showing its current capability level, its target level and any application that must change first.
Plan the rollout and the one-way migration
Decide whether the network starts on BFT or starts on Raft and may migrate later. Migration from Raft to BFT is one way, and once a migrated channel commits transactions it cannot return to Raft, so a rollback plan is not available after that point. Schedule the work with the operators who will run each consenter, and write down the backup of the ledger and MSPs that must exist before any binary changes. The step is done when the rollout order is approved and the team knows the point of no return for each channel.
Rehearse the migration in a non-production network
Run the planned sequence on a test network built from the same Fabric line, node count and channel capability settings as production. Use it to confirm that consenters start, that channels reach the target capability, and that peers and client applications keep committing transactions. Record the commands used, the errors seen and the time each stage took on your own hardware, since public guidance does not give timings for your environment. The step is done when the rehearsal runs end to end without manual fixes, and the production runbook is updated from what the rehearsal showed.
The decision path from trust model to ordering type
The path starts with who operates the ordering nodes. If every node is run by one organization or by organizations that trust each other, Raft is the default because it is crash fault tolerant and keeps working while a majority of nodes are online. If some ordering organizations may act maliciously, the path moves to the BFT question: can the network run 3f + 1 nodes, and does every channel have capability V3_0 on a Fabric version that supports SmartBFT? Check each hand-off before committing, because a channel that migrates from Raft to BFT cannot return to Raft.
Trust model and version checks decide between Raft and SmartBFT ordering.
Why the Raft to BFT migration cannot be undone
The Raft to BFT migration is one way. Once a channel has been migrated to SmartBFT and is committing transactions, it cannot return to Raft. Any rollback plan that assumes you can switch the ordering service back later does not exist, so the decision has to be treated as permanent for that channel. The practical consequence is that the migration gate, not the migration itself, is where the risk sits.
Before migrating, confirm that every channel meets the prerequisites in the Fabric docs: the channel capability V3_0 must be enabled, the orderer and peer binaries must be on the Fabric v3.x line, and the ledger and MSP material must be backed up, following the four-step sequence in the upgrade guide. Check the Fabric docs on migrating from Raft to BFT for the exact order of steps and any conditions on the consenter set. Also confirm with your consortium that every ordering organization has agreed to the BFT node count and operating model before the change is made.
A rehearsal on a non-production network with the same versions, channel configuration and consenter layout is the strongest control available here. It shows whether your backup and restore procedure works, how long the orderers take to restart in a rolling fashion, and whether client applications behave correctly against the new ordering service. Record the results and the exact steps, then ask your vendor or the Fabric community channels to confirm any version-specific behavior before you schedule the production change.
Security and operational considerations for ordering nodes
Whichever consensus type you choose, each ordering node carries keys, certificates and an operations endpoint that the network depends on. The cards below cover the controls that apply to both Raft and BFT nodes and the questions to settle in your environment before the first channel is created.
Mutual TLS on the operations service
The operations service on each orderer exposes health, log level, version and metrics endpoints. Requests to these endpoints are secured with mutual TLS client certificates, so only callers holding a trusted certificate can read node state or change log levels. Confirm which monitoring systems and operators hold client certificates, how those certificates are issued and renewed, and who is allowed to change the log specification on a production orderer.
Operations service docsMSP keys in an HSM
Peer and orderer MSP signing keys can be kept in a hardware security module through the PKCS#11 standard. This matters for ordering nodes because their signing keys sit in the consenter identity that other organizations trust. The prebuilt Docker images are not built with PKCS#11 support, so you need a custom image. Confirm that your HSM vendor's PKCS#11 library is supported, that your image build is owned and patched by your team, and who holds the HSM credentials.
HSM docsFile-based TLS keys
Even when MSP keys move to an HSM, TLS keys must remain file-based. Each orderer therefore holds TLS key material on disk, and that material has to be protected, backed up and rotated without an outage. Ask who will issue orderer TLS certificates, where the TLS CA lives, how key files are permissioned and encrypted at rest, and how a rotation is rehearsed on a non-production consenter before it is applied to a live cluster.
Fabric CA availability for enrollment
Fabric CA registers identities, issues enrollment certificates, handles renewal and revocation and generates certificate revocation lists. Ordering nodes cannot receive renewed identities if the CA that issues them is down. Several CA servers can share a database behind a load balancer for high availability. Confirm which database backend you will use, whether the CA cluster is reachable from every organization's ordering nodes, and how a renewal is handled if the CA is unavailable close to certificate expiry.
Fabric CA user guideHealth checks and Prometheus monitoring
Ordering nodes expose a /healthz endpoint for liveness checks and a Prometheus /metrics endpoint, or StatsD push, for metrics. Use the health endpoint in load balancer or orchestrator probes and alert on metrics that show a node falling behind the cluster. Confirm which alerts page an on-call engineer, how a node that has lost quorum is detected, and whether the metrics pipeline itself is covered by the mutual TLS controls above.
Questions teams ask before choosing Raft or BFT
What decides the cost or effort of switching from Raft to BFT?
The effort depends mainly on how many channels run on the ordering service, how many ordering organizations must agree to the change, and how much of the network already meets the BFT prerequisites. Fabric requires the channel capability V3_0 for BFT, and it also requires the network to be on a release that supports BFT ordering, which means the 3.x line. A team that is still on the 2.x lifecycle or on Kafka ordering has more work before the ordering change itself. Ask any provider to price the upgrade path, the consenter changes, the channel configuration updates, and the testing as separate line items so you can see what is one-time and what recurs, such as ongoing node operation and patching.
Can our team choose and run BFT ordering without outside help?
A team with strong Fabric administration skills can make the decision and run the change alone, but the risk is concentrated in the one-way step. Because a channel that moves from Raft to BFT cannot return to Raft once it is committing transactions, a mistake is expensive to reverse. Your team should be able to read the migration and BFT configuration documentation, rehearse the procedure in a non-production environment, manage TLS and MSP material for each consenter, and operate the operations service endpoints for health and metrics. If any of those skills are thin, an implementation partner can scope the work in writing before you commit, which is a fixed-scope engagement pattern DeployOpen uses.
How long do planning and rollout take, and what drives that time?
No duration is fixed for this change, so treat any date as a claim to verify against a written plan. The main drivers are the current release level of every orderer and peer, the number of channels that must reach the V3_0 capability, the number of consenters and their hosting, and how long the consortium takes to approve the change. Rolling upgrades of orderer and peer binaries add time because each component is upgraded in turn while the network keeps running. Rehearsing the migration on a copy of the network usually adds more time up front but reduces the risk of rework. Ask for a plan that lists each dependency and the approval gates it needs.
What does the consortium need to agree on before the switch?
Every ordering organization and every channel member should agree on the change, because the channel configuration that enables BFT is a governed update. The consortium needs to confirm which organizations will run consenters, how many nodes each one contributes, and who can approve the channel configuration update under the channel's policies. Members should also agree on the trust model. BFT is designed for ordering organizations that may act maliciously, while Raft assumes they fail by crashing but do not lie. Agree on the failure tolerance you need, the node count that follows from it, and the process for adding or removing consenters later.
Can we test BFT ordering before we commit a live channel?
Yes, and you should. Build a separate test network with the same Fabric version, the same number of consenters you plan to run, and the same TLS and MSP layout as production. Run the migration on a test channel, submit transactions, stop and restart nodes, and confirm that the network keeps committing while the required majority of nodes is online. Test the failure cases you care about, such as a node that is down during the migration and a node that rejoins with stale data. Only the test results should decide whether the production channel moves, because the production migration cannot be reversed.
Can a channel move back to Raft once it runs on BFT?
No. The Fabric migration guidance is explicit that moving from Raft to BFT is one way. Once a channel has been migrated and is committing transactions, it cannot return to Raft. That means the choice should be made before any production traffic depends on the channel. If you later need Raft after all, the practical route is to create a new channel on Raft and move the application state and membership to it through a planned process, which is a new project with its own approvals and testing. Record the decision, the reasons for it, and the sign-off of each ordering organization before you start.
How do Raft and BFT compare on node counts and failure tolerance?
Raft is crash fault tolerant and keeps working while a majority of its nodes are available, so a five node cluster tolerates the loss of two nodes. BFT is configured with 3f + 1 nodes, where f is the number of failures tolerated, and it tolerates failures of up to, but not including, one third of the ordering nodes. The right size depends on how many ordering organizations you have and how many simultaneous failures or malicious actors you need to survive. Plan the node count with the trust model in mind, and confirm the exact sizing with the Fabric orderer planning documentation before you write it into the consortium agreement.
How DeployOpen scopes and delivers Fabric ordering decisions
DeployOpen scopes the ordering decision in writing before any build starts. The written scope covers the trust model between ordering organizations, the node layout across their infrastructure, the Fabric version plan, a rehearsal on a non-production network and the handover to the operators who will run the service. For a Raft or BFT choice, the scope should name which organizations contribute consenters, how many nodes each one hosts, which channels will use the ordering service, and the capability level each channel must reach. Most engagements are fixed-scope, so these items are agreed with the client and written down before the work begins, and the quote follows from that document.
DeployOpen plans, implements, hardens and documents the Fabric platform inside the client's own infrastructure, whether that is their cloud accounts, data centers or air-gapped networks. For the ordering layer, that work includes the orderer configuration, TLS and MSP material handling, the rehearsed migration path if BFT is chosen, and the runbooks for adding or removing consenters. Because a Raft to BFT migration cannot be reversed once the channel is committing transactions, the rehearsal on a non-production network is where the team checks the sequence, the rollback point and the operator steps. Confirm with DeployOpen which of these items the written scope includes and which the client's own team will carry.
DeployOpen does not issue audit reports, attestations or certifications. Its work prepares systems, controls and evidence for compliance assessments, and independent auditors or certification bodies perform the assessment. Ask for the evidence pack the engagement will produce, such as configuration records, test results from the rehearsal and the handover documentation, and confirm with your assessor which of those artifacts they will accept. Ask DeployOpen to state the retainer options for ongoing upgrades and testing in the same quote so the operating costs are visible alongside the build.

