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
Copy file name to clipboardExpand all lines: polkadot-protocol/architecture/polkadot-chain/elastic-scaling.md
+10-11Lines changed: 10 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Elastic Scaling
3
3
description: Learn how elastic scaling in Polkadot boosts parachain throughput, reduces latency, and supports dynamic, cost-efficient resource allocation.
4
4
---
5
5
6
-
# Elastic Scaling
6
+
# Elastic Scaling
7
7
8
8
## Introduction
9
9
@@ -15,7 +15,7 @@ This technical advancement enables parachains to process multiple blocks within
15
15
16
16
## How Elastic Scaling Works
17
17
18
-
Elastic scaling enables parachains to process multiple blocks in parallel by utilizing additional cores on the relay chain. This section provides a technical analysis of the performance advantages and implementation details.
18
+
Elastic scaling enables parachains to process multiple blocks in parallel by utilizing additional cores on the relay chain. This section provides a technical analysis of the performance advantages and details of the implementation.
19
19
20
20
Consider a parachain that needs to process four consecutive parablocks (P1-P4). With traditional single-core allocation, the validation process follows a strictly sequential pattern. Each parablock undergoes a two-phase process on the relay chain:
21
21
@@ -76,13 +76,13 @@ sequenceDiagram
76
76
end
77
77
```
78
78
79
-
The relay chain processes these multiple parablocks as independent validation units during backing, availability, and approval phases. However, during inclusion, it verifies that their state roots align properly to maintain chain consistency.
79
+
The relay chain processes these multiple parablocks as independent validation units during the backing, availability, and approval phases. However, during inclusion, it verifies that their state roots align properly to maintain chain consistency.
80
80
81
81
From an implementation perspective:
82
82
83
-
-**Parachain side** - collators must increase their block production rate to fully utilize multiple cores
84
-
-**Validation process** - each core operates independently but with coordinated state verification
85
-
-**Resource management** -cores are dynamically allocated based on parachain requirements
83
+
-**Parachain side** - collators must increase their block production rate to utilize multiple cores fully
84
+
-**Validation process** - each core operates independently, but with coordinated state verification
85
+
-**Resource management** -cores are dynamically allocated based on parachain requirements
86
86
-**State consistency** - while backed and processed in parallel, the parablocks maintain sequential state transitions
87
87
88
88
## Benefits of Elastic Scaling
@@ -91,21 +91,21 @@ From an implementation perspective:
91
91
92
92
-**Lower latency** - transaction finality improves substantially with multi-core processing. Parachains currently achieve 2-second latency with three cores, with projected improvements to 500ms using 12 cores, enabling near-real-time application responsiveness
93
93
94
-
-**Resource efficiency** - applications acquire computational resources precisely matched to their needs, eliminating wasteful over-provisioning. Coretime can be purchased at granular intervals (blocks, hours, days), creating cost-effective operations particularly for applications with variable transaction patterns
94
+
-**Resource efficiency** - applications acquire computational resources precisely matched to their needs, eliminating wasteful over-provisioning. Coretime can be purchased at granular intervals (blocks, hours, days), creating cost-effective operations, particularly for applications with variable transaction patterns
95
95
96
96
-**Scalable growth** - new applications can launch with minimal initial resource commitment and scale dynamically as adoption increases. This eliminates the traditional paradox of either over-allocating resources (increasing costs) or under-allocating (degrading performance) during growth phases
97
97
98
98
-**Workload distribution** - parachains intelligently distribute workloads across cores during peak demand periods and release resources when traffic subsides. Paired with secondary coretime markets, this ensures maximum resource utilization across the entire network ecosystem
99
99
100
-
-**Reliable performance** - end-users experience reliable application performance regardless of network congestion levels. Applications maintain responsiveness even during traffic spikes, eliminating performance degradation that commonly impacts blockchain applications during high-demand periods.
100
+
-**Reliable performance** - end-users experience reliable application performance regardless of network congestion levels. Applications maintain responsiveness even during traffic spikes, eliminating performance degradation that commonly impacts blockchain applications during high-demand periods
101
101
102
102
## Use Cases
103
103
104
-
Elastic scaling enables applications to dynamically adjust their resource consumption based on real-time demand. This is especially valuable for decentralized applications where usage patterns can be highly variable. The following examples illustrate common scenarios where elastic scaling delivers significant performance and cost-efficiency benefits:
104
+
Elastic scaling enables applications to dynamically adjust their resource consumption based on real-time demand. This is especially valuable for decentralized applications where usage patterns can be highly variable. The following examples illustrate common scenarios where elastic scaling delivers significant performance and cost-efficiency benefits.
105
105
106
106
### Handling Sudden Traffic Spikes
107
107
108
-
Many decentralized applications experience unpredictable, high-volume traffic bursts, especially in areas like gaming, DeFi protocols, NFT auctions, messaging platforms, and social media. Elastic scaling allows these systems to acquire additional coretime during peak usage and release it during quieter periods, ensuring responsiveness without incurring constant high infrastructure costs.
108
+
Many decentralized applications experience unpredictable, high-volume traffic bursts, especially in gaming, DeFi protocols, NFT auctions, messaging platforms, and social media. Elastic scaling allows these systems to acquire additional coretime during peak usage and release it during quieter periods, ensuring responsiveness without incurring constant high infrastructure costs.
109
109
110
110
### Supporting Early-Stage Growth
111
111
@@ -114,7 +114,6 @@ Startups and new projects often begin with uncertain or volatile demand. With el
114
114
### Scaling Massive IoT Networks
115
115
116
116
Internet of Things (IoT) applications often involve processing data from millions of devices in real time. Elastic scaling supports this need by enabling high-throughput transaction processing as demand fluctuates. Combined with Polkadot’s shared security model, it provides a reliable and privacy-preserving foundation for large-scale IoT deployments.
0 commit comments