• Fantom Logo
  • Technology Tools Enterprise Ecosystem Developers
  • Fantom DeFi
      • Sub menu

        Intro to Fantom

        Fantom is a fast, scalable and secure platform for digital assets.

      • Sub menu

        Stake on Fantom

        Earn rewards by securing the network.

      • Sub menu

        FTM token

        FTM is the primary token of the Fantom ecosystem.

      • Sub menu

        The Consensus

        Discover Lachesis, Fantom’s ultra-fast consensus protocol.

      • Sub menu

        Opera Chain

        The Fantom mainnet, with staking and EVM support.

    • WALLETS

      • Sub menu

        Fantom Wallets

        Store, send, receive, and stake FTM on desktop, mobile, and hardware wallets.

      EXPLORER

      • Sub menu

        FTMScan

        A new Fantom explorer built by the Etherscan team.

      • Sub menu

        Opera Explorer

        Explore the network transactions, blocks, and nodes on Opera.

      • Sub menu

        OKLink

        OKLink is an alternative explorer for the Fantom network

    • GUIDES

      • How to use Fantom Wallet

      • How to set up Ledger Nano with Fantom

    • Sub menu

      Enterprise

      Discover Fantom’s solutions for enterprise clients.

    • Sub menu

      Solutions

      Take a deep dive in real world use cases.

      • Sub menu

        About us

        Meet the people behind Fantom.

      • Sub menu

        Partners and integrations

        Learn how we're creating a cross-chain ecosystem on our innovative platform.

      • Sub menu

        Blog

        Learn about Fantom through our general and tech articles.

      • Sub menu

        Podcasts and interviews

        Check out all the Fantom related interviews and AMAs.

      • Sub menu

        FAQ

        Do you have questions? We have answers!

      • Sub menu

        Community

        Join our wonderful community and share ideas.

      • Sub menu

        Careers

        Come work with us!

    • Sub menu

      Documentation

      Start building on Fantom

      GET STARTED

      Deploy a smart contract Create a fixed-cap asset Create a local test network GraphQL API docs

      GUIDES

      Set up Metamask Run a validator node
    • Sub menu

      Technical papers

      Read our technical papers and latest research essays.

      Covalent API
      The Graph's Subgraphs
      Verified contracts
      Frontend JS Utilities
      DeFi Smart Contracts
      Developers’ chat
Fantom Logo
menu
Fantom Logo close
  • Technology
        • Sub menu

          Intro to Fantom

        • Sub menu

          Stake on Fantom

        • Sub menu

          FTM token

        • Sub menu

          The Consensus

        • Sub menu

          Opera Chain

  • Tools
      • WALLETS

        • Sub menu

          Fantom Wallets

        EXPLORER

        • Sub menu

          FTMScan

        • Sub menu

          Opera Explorer

        • Sub menu

          OKLink

        GUIDES

        • How to use Fantom Wallet

        • How to set up Ledger Nano with Fantom

  • Enterprise
        • Sub menu

          Enterprise

        • Sub menu

          Solutions

  • Ecosystem
      • Sub menu

        About us

      • Sub menu

        Partners and integrations

      • Sub menu

        Blog

      • Sub menu

        Podcasts and interviews

      • Sub menu

        FAQ

      • Sub menu

        Community

      • Sub menu

        Careers

  • Developers
      • Sub menu

        Documentation

      • GET STARTED

      • Deploy a smart contract

      • Create a fixed-cap asset

      • Create a local test network

      • GraphQL API docs

      • GUIDES

      • Set up Metamask

      • Run a validator node

      • Covalent API

      • Verified contracts

      • DeFi Smart Contracts

      • The Graph's Subgraphs

      • Frontend JS Utilities

      • Developers’ chat

      • Sub menu

        Technical papers

blog-image
November 30, 2021

TPS or TTF? Understanding Blockchain Speed

Education

TPS or “Transactions per second” is the first metric mentioned in almost any discussion of blockchain projects and, for many, the barometer of success for Layer-1 protocols. 

In this article, we give an overview of what TPS is, how to calculate it and highlight the reasons why it’s a problematic and frequently inaccurate measure of blockchain speed. As we lay out terms, we will explain why Fantom is the fastest public blockchain in crypto.

What is TPS?

TPS is defined in Database systems. In its broader usage, the term measures how many transactions occur in one second in a given information system. For reference, on a typical day, the Visa Network processes approximately 1400 TPS.

For blockchain protocols, TPS is calculated by dividing the average number of transactions per block by the block time in seconds:

TPS = No. txn. per block ÷ Block time in seconds

Here, the number of transactions per block can be estimated by:

No. txn. per Block = Block size in bytes ÷ average txn. size in bytes

Examining the above, one might ask about what counts as a transaction. Different projects have rationales for defining what qualifies as a transaction, and the answer may vary by protocol. Some projects even count internal messages in their systems as transactions.

One might also note that TPS deals with averages. In real-life, some transactions, like simple balance transfers, take far less time to process than EVM-based smart contract transactions, which take measurably longer.

The overall lack of standardization already indicates the problems with the expression as a gauge of speed.

Why TPS is a faulty metric

If a blockchain is capable of 7 TPS, like Bitcoin, does this mean that our transaction will be quickly executed and confirmed at a moment of extremely low network traffic? Experience demonstrates otherwise.

TPS does not account for the total duration during which transactions are processed and then finalized in a decentralized network. When a transaction is submitted to the network, validators arrive at consensus that a transaction is legitimate. But the transaction cannot be fully confirmed until there is a guarantee that the transaction is immutable and final.

Most blockchain systems offer probabilistic transaction finality — transactions are not immediately final but become so eventually after a certain number of additional blocks have been appended to the chain.

The idea is that as blocks continue to be approved and added, the probability increases that prior transactions are valid and irreversible. On Bitcoin, finality generally requires 6 confirmations, with 20-25 confirmations or additional blocks required on Ethereum.

Though TPS is a measure of speed, it is not correlated to finality. A project may boast impressive TPS based on a reasonable definition of transactions, but finality may take longer to be established. 

TTF not TPS

Time-to-finality (TTF) is an alternative and more accurate gauge of speed since it measures the time from transaction submission to confirmation with guarantee of irreversibility. TTF is a direct analog to latency in networking. Latency is usually measured as a round trip transmission ‒ the time taken for information to get to its destination and back again.

Clearly, no user wants to wait more than a few seconds ‒ as with Visa ‒ for a transaction to be confirmed. Knowing TTF tells us exactly how long one can expect to wait, whereas TPS only tells us how long it takes for a transaction or process before being finalized.

Fantom’s distinguishing feature is its deterministic finality: as soon as a block is written to the chain, it is final and irreversible. In Fantom, a transaction just needs a single confirmation.

Fantom’s speed advantage derives from its consensus algorithm that requires ⅔+1 of the total validating power across nodes to confirm a transaction. As soon as a supermajority of nodes validates a transaction, it is considered to be a “root.”

As in pBFT, the protocol requires the root to be validated by another root to be finalized, and to remove any malicious nodes, if any. Then a new block is appended to the chain and finalized in a process that takes approximately 1 second. This efficiency makes it the fastest blockchain with pBFT guarantee in the industry.

The need for speed

In the broader DLT landscape, protocols relying on probabilistic finality have their place and their uses. In the early days of crypto, probabilistic protocols offered needed levels of security for a technology that was completely new at the time.

Since then, as recognition dawns that DLTs will provide the scaffold for Web 3.0, projects across the industry have sought ways to increase speed.

Some alternative approaches have gone so far as to sacrifice security for speed, using leader-based protocols, for instance, to randomly select a leader and voting members to approve blocks. But such protocols pose risk when implemented in fully public chains. 

In this variegated landscape, Fantom is a next-generation solution that optimizes for high-speed transaction confirmation while guaranteeing deterministic finality and safety.

From the ground up, Fantom is built for everyday applications and time-sensitive systems, like financial services, where speed, efficiency, and security are of the essence.

Read more

Card image cap
How Does an Increase in Validators Impact Fantom?
READ STORY
Card image cap
Plena Finance — Fantom Ecosystem Spotlight
READ STORY
Card image cap
Fantom General Update | March 27, 2023
READ STORY
Card image cap
How Does an Increase in Validators Impact Fantom?
READ STORY
Card image cap
Plena Finance — Fantom Ecosystem Spotlight
READ STORY
Card image cap
Fantom General Update | March 27, 2023
READ STORY
  • Technology
    • Intro to Fantom
    • Stake on Fantom
    • FTM token
    • The Consensus
    • Opera Chain
  • Tools
    • Fantom Wallets
    • Opera Explorer
  • Enterprise
    • Enterprise
    • Solutions
  • Ecosystem
    • About us
    • Partners and integrations
    • Blog
    • Podcasts and interviews
    • FAQ
    • Community
    • Careers
    • Media kit
  • Developers
    • Documentation
    • Technical papers
    • Covalent API
    • Verified contracts
    • DeFi Smart Contracts
    • GraphQL API
    • Frontend JS utilities
    • Developers’ chat
Social
  • Twitter
  • Discord
  • Telegram
  • Telegram ANN
  • Reddit
Fantom Logo

© 2023 Fantom Foundation

  • Cookie Policy
  • Privacy Policy
  • Terms of Service
  • Cookie Policy

The information on this website is for informational purposes only. It contains high-level summaries and is not intended to include all material information regarding the Fantom ecosystem and risk factors associated with holding FTM.