Skip to content

althea-net/deep_space_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deep Space demo

Deep Space is a Rust based client for Cosmos SDK blockchains built exclusively on top of the gRPC api.

This demo leverages Rust async/await, combined with the gRPC api to demonstrate just how ridiculously fast Deep Space can be.

Here's a simple test run of this program, against the gravitychain.io node cluster. This cluster is three 8vcore 16gb ram $80/mo Digital Ocean VM's. Nothing special, furthermore it's over 80ms away from me, so hardly ideal latency conditions.

This node has 405455 blocks to download, starting clock now
Successfully downloaded 313255 blocks in 186 seconds

1684 blocks / second download speed. Between 300-500mbps download and Rust isn't even using more than one core.

At that speed you could download all 10,804,593 blocks in the Cosmos Hub history in about 109 minutes.

Storing the downloaded block data locally would be a pretty straight forward extension using the RocksDB or Sled crates.

About

Deep Space performance demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages