yellowbench

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2024 License: MIT Imports: 26 Imported by: 0

README

[!IMPORTANT] This tool is still experimental. The results generated by it may not be fully accurate or reliable. Users should exercise caution and verify the data obtained through this tool.

yellowbench

Solana RPC benchmarking tool for Yellowstone Dragon's Mouth Geyser

This is a simple CLI tool that allows you to receive updates from a geyser server and measure their latency. The goal of this tool is to measure the latency and throughput of the geyser server.

[!TIP] Looking to measure transaction landing times instead ? Check out memobench

Usage

  • Download the latest release for your OS and architecture from the releases page.
  • Execute the binary in a command prompt or terminal.
    • Upon first execution it will create a sample config.json file and exit
    • Edit the config.json file as needed
  • Execute the binary again to start the benchmark
Configuration
  • geyser_url: The Geyser endpoint to benchmark
  • geyser_token: The x-token authentication string (optional, keep empty if not required)
  • send_rpc_url: The RPC endpoint to send transactions (optional, if omitted, the RPC URL will be used)
  • bench_type: The type of the test to perform, latency to test the latency of the blocks received against the local clock, throughput to test the throughput of the data received
  • duration_sec: The duration of the test in seconds

Acknowledgements

You like this tool ?

Buy me a coffee ☕ (or a pizza 🍕 or maybe some cake 🍰) CoffeeFpEteoCSPgHeoj98Sb6LCzoG36PGdRbYwqSvLd

or hire me ;)

Discord Badge Telegram Badge Protonmail Badge Github Badge

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL