Skip to content

Commit 9e261ce

Browse files
0xLuccaeshaben0xlukemnhussein11
authored
Apply suggestions from code review
Co-authored-by: Erin Shaben <[email protected]> Co-authored-by: Lucas Malizia <[email protected]> Co-authored-by: Nicolás Hussein <[email protected]>
1 parent 1fa4ef9 commit 9e261ce

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

polkadot-protocol/architecture/polkadot-chain/elastic-scaling.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Elastic Scaling
33
description: Learn how elastic scaling in Polkadot boosts parachain throughput, reduces latency, and supports dynamic, cost-efficient resource allocation.
44
---
55

6-
# Elastic Scaling
6+
# Elastic Scaling
77

88
## Introduction
99

@@ -15,7 +15,7 @@ This technical advancement enables parachains to process multiple blocks within
1515

1616
## How Elastic Scaling Works
1717

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.
1919

2020
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:
2121

@@ -76,13 +76,13 @@ sequenceDiagram
7676
end
7777
```
7878

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.
8080

8181
From an implementation perspective:
8282

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
8686
- **State consistency** - while backed and processed in parallel, the parablocks maintain sequential state transitions
8787

8888
## Benefits of Elastic Scaling
@@ -91,21 +91,21 @@ From an implementation perspective:
9191

9292
- **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
9393

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
9595

9696
- **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
9797

9898
- **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
9999

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
101101

102102
## Use Cases
103103

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.
105105

106106
### Handling Sudden Traffic Spikes
107107

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.
109109

110110
### Supporting Early-Stage Growth
111111

@@ -114,7 +114,6 @@ Startups and new projects often begin with uncertain or volatile demand. With el
114114
### Scaling Massive IoT Networks
115115

116116
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.
117-
IoT Applications
118117

119118
### Powering Real-Time, Low-Latency Systems
120119

0 commit comments

Comments
 (0)