Replies: 1 comment 1 reply
-
I suppose it only makes sense to benchmark and provide weights for real network. The final figure largely depends on the already existing in the network. Abstract "substrate" benchmark is not important really. With approach So with |
Beta Was this translation helpful? Give feedback.
-
I am trying to find out which data to use for benchmarking the Databases (Rocks and Parity).
Please take a look and leave some feedback and/or ideas.
Ideally we want something that works in Substrate and any specific chain.
A. Historical Data
Normally I would opt for this, but maybe there are some obvious reasons against it, which I want to clear out with this discussion.
Polkadot:
Load up a validator DB and use that.
Substrate:
Load a Polkadot validator DB. Since Substrate does not have the Polkadot chain spec, the values would not be decodeable.
Should still work for populating it.
pros:
cons:
B. Modelled Fake Data
Build a statistical model from the data at block #x from Polkadot and then populate a DB with it.
pros:
cons:
C. Pure Fake Data
Just write 10M or whatever random key/values into the DB and use that.
Key and Value sizes could be set to
blake2_concat128(AccountId)
andAccountInfo
.pros:
cons:
Beta Was this translation helpful? Give feedback.
All reactions