RaiBlocks: How Fast Actually Is It? About 1.7 Second Transaction Times

Brian Pugh
Jan 2, 2018 · 2 min read

Testing Methodology

These experiments were done between a rai_node v9.0 on a consumer computer running Ubuntu in my house (computer 1), and a rai_node v9.0 running on a $5 Digital Ocean Droplet (computer 2). All PoW was pregenerated because this experiment is more about the network rather than hardware specific PoW performance. The router in my house is an Apple Airport Extreme, in case that matters.

During experiments, 3 times were recorded on computer 1:

  1. Time before the send RPC command was sent
  2. Time the “pong” was received from computer 2
  3. Time the “block_found” was received from computer 2

The script on computer 2 has a websocket open and listens for hashes from computer 1. As soon as computer 1 sends out the transaction, it sends the transaction hash via websocket to computer 2. Computer 2 then continuously polls the local rai_node for that block. Once the block is observed, a response is sent back to computer 1 over the websocket.

The distribution of times are as followed. 1000 send transactions were performed. Half of the initial ping time is subtracted as an approximation to account for latency over the websocket.

Min: 0.632 seconds
Median: 1.682 seconds
Mean: 2.4334 seconds

Like stuff like this? Support me at:

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store