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: docs/egress-node-traffic-analysis.md
+38-30Lines changed: 38 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,9 @@
1
1
# Egress cost estimation per node
2
2
3
-
> **Note:** This analysis assumes fully utilized block space (filled blocks) for both Ouroboros Praos and Leios protocols. In practice, block utilization may vary, but this provides a conservative upper bound for egress traffic estimation.
3
+
> [!Note]
4
+
> **100% filled blocks assumption:**
5
+
>
6
+
> This analysis assumes **fully utilized block space (filled blocks)** for both Ouroboros Praos and Leios protocols. In practice, block utilization may vary, but this provides a conservative upper bound for egress traffic estimation.
4
7
5
8
## Ouroboros Praos
6
9
@@ -14,39 +17,44 @@
14
17
-**131,400 blocks per month**
15
18
16
19
#### Total block data
17
-
- block size 90,112 bytes (88KB)
18
-
-**131,400 blocks x 90,112 bytes = 11,840,724,480 bytes ~11.84GB**
20
+
- block size 90,112 bytes (88 KiB)
21
+
-**131,400 blocks x 90,112 bytes = 11,840,724,480 bytes ~11.84 GiB**
22
+
23
+
> [!Note]
24
+
>
25
+
> For reference, during epoch 500, blocks had an average size of 18.9 KiB
26
+
> which is ~21.5% of what's available.
19
27
20
28
#### Egress traffic for p2p block propagation
21
29
- Peers (P): assume:
22
30
```
23
31
(A) 20 peers from TargetNumberOfActivePeers default configuration
24
32
(B) ~35 downstream peers per node
25
33
```
26
-
- Block header size: 1,024 bytes
27
-
- Block body size: 90,112 bytes
34
+
- Block header size: 1,024 bytes (1 KiB)
35
+
- Block body size: 90,112 bytes (88 KiB)
28
36
- Propagation model: 100% header propagation, 25% body requests
29
37
30
38
#### Node traffic
31
39
```
32
-
(A) Headers: 131,400 blocks x 1,024 bytes x 20 peers = 2.69 GB
33
-
Bodies: 131,400 blocks x 90,112 bytes x 5 peers = 59.19 GB
34
-
Total: 61.88 GB
40
+
(A) Headers: 131,400 blocks x 1,024 bytes x 20 peers = 2.69 GiB
41
+
Bodies: 131,400 blocks x 90,112 bytes x 5 peers = 59.19 GiB
42
+
Total: 61.88 GiB
35
43
36
-
(B) Headers: 131,400 blocks x 1,024 bytes x 35 peers = 4.71 GB
37
-
Bodies: 131,400 blocks x 90,112 bytes x 9 peers = 106.55 GB
38
-
Total: 111.26 GB
44
+
(B) Headers: 131,400 blocks x 1,024 bytes x 35 peers = 4.71 GiB
45
+
Bodies: 131,400 blocks x 90,112 bytes x 9 peers = 106.55 GiB
46
+
Total: 111.26 GiB
39
47
```
40
48
41
-
- additional traffic from transactions (5-10GB?) and consensus (~1-2GB?)
49
+
- additional traffic from transactions (5-10 GiB?) and consensus (~1-2 GiB?)
Note: Percentage increases are calculated against Praos scenario A (20 peers) baseline of 67.88 GB/month and $7.73/month (using average cost across providers)
135
+
Note: Percentage increases are calculated against Praos scenario A (20 peers) baseline of 67.88 GiB/month and $7.73/month (using average cost across providers)
0 commit comments