Sign up
Login
To Build the Competitive High-performance Network
BlockRazor · 2024/09/14
Research
Service

image.png

Introduction

BlockRazor is an new startup focuses on optimizing the transaction value chain, providing global lighting-speed network service of intent fulfillment. On July 11, 2024, we launched a competitive high-performance network for our users with services of data stream subscription, fast transaction broadcasting, and full node high-speed synchronization.

Since its release, we have received positive feedback from users which is the best reward for our commitment to technological innovation.

How to be competitive

To build the competitive high-performance network , two problems need to be solved:

  1. How to receive the latest transactions/blocks as quickly as possible?

  2. How to receive as many of the latest transactions across the entire network as possible?

First we should learn about the network architecture of blockchain and the mechanism by which transactions/blocks are generated.

The network of EVM-compatible chains, such as Ethereum and BSC, consist of nodes of several types, including validators and full nodes. Blocks in the network are broadcasted by the validators, so being physically close to the validators is crucial to receive blocks more quickly.

Full nodes in the network are responsible for generating and broadcasting transactions. Unlike block generation, transaction generation is more decentralized, with everyone being able to send transactions through their own full nodes or public RPC services.

We have statistically analyzed the portion of new transactions and blocks generated across the entire network and selected several core regions, from which the high-performance network will collect blocks/transactions and then forward to the Relay endpoint to be subscribed by users. This ensures that we are physically close enough to the origin of transactions/blocks and, through a certain number of full nodes, guarantees that we collect a sufficient amount of transactions in the first place.

The above solution is not optimal, although the nodes where transactions/blocks are newly generated (which we refer to as the event node) are physically in the same region (ensuring the shortest physical transmission time), they are not directly connected to the high-performance network.

Network hop

As shown in the figure above, Node A generates a new transaction, but it needs to go through Node B to reach Node C. It may require more hops for new transactions/blocks to arrive at the high-performance network in practice. Therefore, in addition to the physical location, the connection path can greatly affect the efficiency of the high-performance network.

We have implemented a dynamically iterative mechanism to improve the efficiency. Two metrics, the transaction activity metric and the block activity metric, are established to access the status of peers in the network. The higher the value of the metric, the closer the peer is to the event node. Both metrics will be updated after each interaction with peers. At regular intervals, we sort all peers according to the metrics, disconnect from those with lower rankings, and establish connections with those with higher rankings.

After continuous iteration, the high-performance network will be connected to more and more nodes with excellent metrics, that is, increasingly closer to the event nodes, ensuring that new transactions/blocks can be received as quickly as possible.

Benchmark

To further prove BlockRazor’s high-performance, we have conducted rigorous tests between BlockRazor and bloXroute(industry-leading network service provider) in a fair competitive environment and obtained detailed comparative data.

Environment

Blockchain

The tests were performed on the Binance Smart Chain. And support for Ethereum is already in progress.

Location

Full nodes across the entire network of BSC

Through scanning process, we have discovered that there are approximately 2000+ full nodes across the entire network of BSC from which we selected Virginia in the United States, Frankfurt in Germany, Dublin in Ireland, and Tokyo in Japan as the core regions.

The physical distance between the TestClient and the measured Node is equal

The difference in physical distance can cause differences in network latency. To ensure a broader coverage, we tested the high-performance network in Virgina and Dublin, with the TestClients deployed physically close to their respective service.

Plan

  • bloXroute: Enterprise-Elite ($5000 / mo)
  • BlockRazor: Tier 2 ($1500 / mo)
  • BlockRazor: Tier 1 ($5000 / mo)

Results

First seen transactions

First seen transactions over latency(BlockRazor Tier1 vs bloXroute Enterprise-Elite)

First seen transactions over latency(BlockRazor Tier2 vs bloXroute Enterprise-Elite)

We have calculated the number of transactions that BlockRazor(Tier1&Tier2) and bloXroute (Enterprise-Elite) “saw first” over latency. As shown in the above graph, more transactions are seen by BlockRazor(Tier1&Tier2) across all ranges of latency. BlockRazor (Tier1) performed more excellently, with the number of first seen transactions twice that of bloXroute with latency ranging from 1~5ms, which receives the most transctions across all ranges.

First seen transactions during 24 hours(BlockRazor Tier1 vs bloXroute Enterprise-Elite)

First seen transactions during 24 hours(BlockRazor Tier2 vs bloXroute Enterprise-Elite)

We also measured the performance stability of the BlockRazor(T1&T2) and bloXroute(Enterprise-Elite) over an extended period. As can be seen in the graph above, the number of first seen transactions fluctuates throughout the day, during which BlockRazor maintains high performance.

First Seen Blocks

First seen blocks during 24 hours(BlockRazor Tier1 vs bloXroute Enterprise-Elite)

As shown in the above graph, when counting the number of first seen blocks, BlockRazor also performs very well compared to bloXroute.

Get started

From the above, we have found that the high-performance network of BlockRazor performs well in all indicators and can better meet the needs of speed-sensitive users.

If you are interested in BlockRazor’s high-performance network service, you can visit ☞ https://www.blockrazor.io/ to get started.