Skip to content
Cosmopediaby Unity Nodes
DiscussionsValidationValidator Block Time Performance ConsiderationsForum ↗

Validator Block Time Performance Considerations

Validation2 posts1,723 views2 likesLast activity Apr 2019
CH
chris-chainflowOP
Mar 2019 2

This topic is to discuss validator block time performance considerations. It continues a discussion related to this governance proposal to adjust the blocks_per-year parameter.

Topics to discuss include -

1 - What factors impact a validator’s block time?

2 - What’s an acceptable validator block time?

3 - What’s the impact of validator block time on performance, e.g. missed pre-commits?

4 - What steps can a validator take to improve performance and decrease block times?

YT
ytu
Apr 2019

Hi chirs, thanks for opening this discussion. First of all I don’t think `blocks_per_year` can achieve the goal it is initially proposed for. `blocks_per_year` would be affected by various of factors. It is not only affected by the block time, but may also related to any downtime of the blockchain. Even if block time is the only concern it is still out of our control. 1 - What factors impact a validator’s block time? The main factor which affects the block time is the timeout settings . The timeout settings is defined in `.toml` file which is not part of consensus state and any validators can change it easily. Besides we find out that the transactions per block will also affect block time. Once a block contains too many transactions the block time will exceed the timeout set by validators. Though we can prevent such situation by the constrain like block size but it is still hard to maintain a stable block time due to various types of transactions. Finally the validator set size may also affect the block time. A larger validator set means more validators to talk to for each block. This factor is much easier to control and it is usually quite stable but every time when…

Excerpt (1199 of 2172 characters). Read the whole post on the forum ↗

← Back to Discussions