You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Polkadot SDK consensus engines can't support 100 ms block time, but SPIN consensus allows to achieve it.
Description
In this experiment, we demonstrate an attempt to achieve a 100 ms block time using the Polkadot SDK. We begin with a straightforward approach based on the Polkadot SDK documentation and template project. The configuration will set block production at 100 ms intervals, followed by deploying an experimental network. We expect the system to fail, allowing us to identify bottlenecks - whether in the algorithm, software, or physical limitations - across all consensus options provided by the Polkadot SDK. Once bottlenecks are identified, we will implement a minimal version of SPIN "fast-path" to demonstrate its necessity as part of the Quantum Fusion Network for achieving such a short block time.
Record the progress and result on each step to enable further data-driven engineering decisions.
Expected Outcomes
Data supporting the decision to develop a custom consensus engine for QF.
A publication showcasing our attempt to "push Polkadot SDK to the limit," forming the basis for implementing a custom consensus engine.
A minimal SPIN "fast-path" implementation proving viability where Polkadot SDK fails.
Success Criteria
Experiments completed and data collected for blockchains using AURA and BABE consensus with short block configurations.
Engineering article with experiment results published for the community.
SPIN "fast-path" implementation capable of achieving theoretical 100 ms block times (pending planned database and networking improvements).
Resources Required
Infrastructure for experimental networks, including at least two nodes meeting Polkadot reference hardware requirements.
Proofreading and editing support for the article.
Risks and Mitigation
Risk: Bottlenecks may persist even if the block producer role is assigned to one node for a long sequence of blocks, unlike BABE and AURA, which rotate roles every block.
Mitigation:
Risk: Unknown bottlenecks may prevent SPIN v0 from achieving shorter block times than BABE and AURA.
Mitigation:
Results
[To be filled after experiment completion]
Learnings
[To be filled after experiment completion]
Next Steps
Design a production-ready SPIN "fast-path" architecture.
Develop SPIN v1.
The text was updated successfully, but these errors were encountered:
Hypothesis
Polkadot SDK consensus engines can't support 100 ms block time, but SPIN consensus allows to achieve it.
Description
In this experiment, we demonstrate an attempt to achieve a 100 ms block time using the Polkadot SDK. We begin with a straightforward approach based on the Polkadot SDK documentation and template project. The configuration will set block production at 100 ms intervals, followed by deploying an experimental network. We expect the system to fail, allowing us to identify bottlenecks - whether in the algorithm, software, or physical limitations - across all consensus options provided by the Polkadot SDK. Once bottlenecks are identified, we will implement a minimal version of SPIN "fast-path" to demonstrate its necessity as part of the Quantum Fusion Network for achieving such a short block time.
Methodology
Deploy experimental nodes locally and on reference hardware (https://wiki.polkadot.network/docs/maintain-guides-how-to-validate-polkadot) in cloud infrastructure.
Monitor network behavior using common tools like Polkadot\Substrate Portal (https://polkadot.js.org/apps/#/explorer) and performance monitoring tools such as Netdata (http://netdata.cloud/).
Record the progress and result on each step to enable further data-driven engineering decisions.
Expected Outcomes
Success Criteria
Resources Required
Risks and Mitigation
Risk: Bottlenecks may persist even if the block producer role is assigned to one node for a long sequence of blocks, unlike BABE and AURA, which rotate roles every block.
Mitigation:
Risk: Unknown bottlenecks may prevent SPIN v0 from achieving shorter block times than BABE and AURA.
Mitigation:
Results
[To be filled after experiment completion]
Learnings
[To be filled after experiment completion]
Next Steps
The text was updated successfully, but these errors were encountered: