Avalanche Block And Transaction Performance

    In this dashboard, we will be assessing Avalanche's block and transaction performance in terms of: 1. The average TPS (transactions per second) by hour 2. The average/maximum/minimum number of transactions per block 3. The average time between blocks over time 4. The average transaction fees over time 5. The correlation between the average gas used by hour Vs. the average TPS by hour Avalanche's value proposition lies in the fact that it solves the blockchain trilemma, and thus support high transaction speeds without compromising on security and decentralization. At its core, it consists of three separate interoperable chains: X-Chain, P-Chain and C-Chain. Avalanche leverages a combination of two consensus mechanisms: Snowman algorithm and directed cyclic graph (DAG) optimized consensus protocol. Interestingly, Avalanche chain is not organized as a linear chain, rather it is organized as a directed acyclic graph, wherein one child block can have multiple parent blocks.

    Loading...
    Loading...
    1. The average TPS by hour will be calculated by taking a count of all the transaction hashes for every given second, then grouping them by hour and finding their average.

    2. As far as average/maximum/minimum number of transactions in a block are concerned, they will be computed by finding the total occurrence of unique transaction hashes for every block (represented by a block number) and hour separately. Ultimately, the average(),max() and min() functions were applied to calculate the required metrics.

    3. The average time between the creation of two consecutive blocks will be calculated by finding the difference between the timestamps of the given blocks in terms of seconds, and repeating the same for the rest of the blocks. Finally, the average of the resultant time periods, grouped by hour, will be taken to get to the result.

    4. The average transaction fees will be calculated in terms of both USD and AVAX. For AVX AVAX value, this can be computed by taking average of all the transaction fees grouped by hour. To convert it into USD, the price of AVAX will be assumed to be $18.84. The rationale behind this figure is that between 20th June, 2022 and 27th June, 2022, the average price of AVAX was equal to $18.84. Hence, for the required amount, the AVAX value will simply be multiplied by 18.84 to get to USD value.

    5. The average gas used by hour can be calculated by taking the average of amount of gas used, grouped by hour. For average TPS by hour, the same methodology shall be followed as point #1.

    Loading...
    Loading...
    Loading...

    Methodology

    1. The average TPS by hour has been quite volatile, the lowest being 3.9 at 5:00 on 20th June,2022 and the highest being 13 at 15:00 on 24th June, 2022.

    2. However, it has hovered in the range of 5-7 TPS for most part.

    3. The TPS saw two significant hikes to 11.59 and 13 on 24th June at 2:00 and 15:00 respectively.

    1. There is very significant difference between the average/minimum number of transactions in a block and the maximum number of transactions in a block, with the maximum number typically crossing 100 and the average/minimum metrics consistently staying in single digits.

    2. The minimum figures for all the metrics were observed on 26th June, 2022 at 82, 5.08 and 1 respectively.

    3. The maximum figures for the same were observed on 25th June, 2022 at 144, 5.35 and 1 respectively.

    4. Recently, these metrics has significantly fallen off on 26th and 27th June, 2022, as can be seen from the graph.

    1. The average time between two blocks has consistently stood at 2 seconds.

    2. There have two major deviations observed at 10 seconds and 7.19 seconds on 24th June at 15:00 and 16:00 respectively.

    1. In AVAX terms, the average transaction fees have remained stable.

    2. In USD terms, the same has exhibited much stability except 24th June at 2:00 and 15:00 and 25th June at 3:00 when $0.25, $0.03 and $0.43 respectively.

    1. There is a clear positive correlation between the average TPS and average gas used.

    2. Apparently, the correlation seems to lie in the range of 0.3-0.4.

    1. It can be inferred that there was a case of network congestion on the day of 24th June, 2022 as the average TPS, average time between blocks and average transaction fees in USD shot up to unusual levels.

    2. Avalanche has very much lived up to its promise of high speed block finality with average block time at 2 seconds.

    3. Interestingly, the average TPS rises with the increase of network usage(represented by average gas used) over the period of 1 week which makes it a compelling choice for mainstream adoption.

    4. The price volatility of AVAX has caused significant fluctuations in the transaction fees, despite the transaction fees in AVAX terms being quite stable.

    5. The average TPS remains much below Avalanche's claim that it can support upto 4500 TPS.

    Conclusion