Skip to content

Compare ZMOK, Bloxroute and Fiber transaction streams

Notifications You must be signed in to change notification settings

zmok-io/tx-propagation-benchmark

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fiber vs. Bloxroute Benchmarks

This repo contains a Go program to help you benchmark and compare Fiber vs. Bloxroute transaction streams.

Requirements

Usage

To run, copy .env.example to .env and fill in the necessary information. Then run with

go run .

The program will run for DURATION time, after which it will print out the results of the benchmarks.

Example output:

Running benchmark for 10m0s ...
Bloxroute endpoint: wss://uk.eth.blxrbdn.com/ws
Fiber endpoint: fiberapi.io:8080


========== STATS =============
Mean difference: 174.61ms
Median difference: 2.00ms
Max difference: 335986.00ms
Min difference: -3713.00ms
Stdev: 6159.43ms

========== RESULT =============
Fiber won 56.79% of the time

It will also write all the individual transactions to benchmarks.csv, along with the difference in ms. Positive means Fiber was faster.

About

Compare ZMOK, Bloxroute and Fiber transaction streams

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 97.4%
  • Shell 2.6%