-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sidechain single shard benchmark #248
Comments
Rust intern benchmarking: https://nickb.dev/blog/guidelines-on-benchmarking-and-rust with criterion, github |
Linking the following issue: #231. if we use our cli, this might affect the benchmarking |
There is an example in the substrate-api-client which swamps a node with extrinsics. But that would require to write the entire benchmark in rust and not depend on python or bash to wrap our use case logic. But I guess if we want the highest stress bandwidth possible, we should do that anyway |
There exists already code in typescript to benchmark substrate: It might make sense to setup a benchmark similar to sub-flood, but written in Rust. Also: to really compare the performance with substrate, the benchmark should also be run against substrate nodes, being run on the same hardware. |
A few remarks on the current state (... in German ...): Probleme mit Threading
Daher würde ich jetzt eher mehrere Prozesse starten, statt weiter am Threading von einem Prozess zu arbeiten. Ablauf Benchmark
Anleitung |
Don't forget that we also want to bloat the state size, so we need an alternative mode where we create a new account with each transfer without reaping the old one (leave the ED) |
I don't see a difference between creating many accounts in the beginning or continously creating more accounts. |
See #752 regarding the issues with blocking |
We claim to provide a solution to dramatically improve the scalability of blockchains in both tps and confirmation time latency. A benchmark will be taken out in order to prove this claim and quantify the limits of the implementation. We would expect the single-shard performance to be in the order of substrate’s tps throughput but with much lower confirmation times. It is further expected that horizontally scaling to multiple independent shards will be approximately linear until the block confirmations by themselves congest layer one. Empirically quantifying the amount of shards that can be served by a single polkadot parachain would be too much effort and is out of scope. Instead, we will provide a theoretical estimate of total tps based on the number and complexity of layer one extrinsics.
single-shard performance
*No state queries
Substrate api client example: https://github.com/scs/substrate-api-client/blob/master/src/examples/example_benchmark_bulk_xt.rs
The text was updated successfully, but these errors were encountered: