osmosis-labs / osmosis

The AMM Laboratory
https://app.osmosis.zone
Apache License 2.0
889 stars 593 forks source link

Fast blocks without inducing red streaks #2815

Closed faddat closed 2 years ago

faddat commented 2 years ago

Highly informal presentation on osmosis block times

Problem:

Solution

Context: https://twitter.com/blockpane/status/1572823202753089536

Desired result

This should allow osmosis to produce blocks very raipidly without causing osmosis validators to miss significantly more blocks.

When a validator is down, osmosis will produce blocks at its current speed. Theoretically speaking, this reactivity will increase the pressure on validators to stay up.

ValarDragon commented 2 years ago

I don;t think this makes sense.

gaia commented 2 years ago

What's the rationale for using skip_timeout_commit=false as default? There seems to be no downside.

faddat commented 2 years ago

100% of votes coming in is a pretty silly metric

True; but I am not sure how to destigmatize missed blocks. It took me 10 months to realize that it really didn't matter. People shall meme this as long as the explorers show it and they probably should.

Can lead to cases with very low sync advantage factors for full nodes, potentially even non-existent ones when accounting for hardware differences.

I think I still don't understand this, would you mind eli5ing?

thanks

gaia commented 2 years ago

People shall meme this as long as the explorers show it and they probably should.

As opposed to %percentages, explorers could standardize on showing colors (green/yellow/red) and/or quality (excellent/good/fair/faulty) for uptime thresholds? Getting an influencer to have a talk about this on YT/Twitter would be a good starting point. But this is OT here.

ValarDragon commented 2 years ago

What's the rationale for using skip_timeout_commit=false as default? There seems to be no downside.'

This is a misunderstanding of block time parameterization in decentralized networks,

You need full nodes on weaker hardware than validators to be able to sync to tip efficiently. This is impossible if you shave down this time to a validator minimum.

You also lose any sort of predictability to block times, and reliable way to reason about them.

faddat commented 2 years ago

So, I'm really not sure about the first part, but I fully agree on the second part about losing the ability to predict block time reliably. Closing.