Skip to content

Commit 9c357fb

Browse files
committed
site: weekly updates
1 parent 1a7ccb5 commit 9c357fb

File tree

3 files changed

+181
-0
lines changed

3 files changed

+181
-0
lines changed
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
title: Weekly Summary – April 21, 2025
3+
authors:
4+
- will
5+
tags: [progress, update, weekly]
6+
---
7+
8+
This week, the Leios team made significant progress in protocol development, focusing on simulation improvements, network protocol design, and economic analysis. The team completed extensive simulations across 648 scenarios, implemented new mini-protocols for Leios diffusion, and conducted important economic analysis regarding future reward sustainability.
9+
10+
## Simulation and analysis
11+
12+
- Completed comprehensive simulation of 648 scenarios for Full and Short Leios at tag [`leios-2025w16`](https://github.com/input-output-hk/ouroboros-leios/releases/tag/leios-2025w16)
13+
- Generated new analysis outputs:
14+
- Network, disk, and CPU resource usage summaries
15+
- Interactive "Leios graph" visualization showing transaction, IB, EB, RB, and vote linkages
16+
- Key findings from simulations:
17+
- Strong agreement between Rust and Haskell implementations
18+
- Haskell simulation shows network congestion at 16 IB/s
19+
- Rust simulation demonstrates higher CPU usage at elevated IB rates
20+
- Identified voting certification issues in Rust implementation.
21+
22+
## Protocol development
23+
24+
### Haskell implementation
25+
- Completed first draft of new mini-protocols for Leios diffusion:
26+
- IB-relay, EB-relay, Vote-relay for header diffusion
27+
- IB-fetch, EB-fetch for body diffusion
28+
- CatchUp protocol for historical blocks
29+
- Renamed `short-leios` command to `leios` to reflect full variant support.
30+
31+
### Rust implementation
32+
- Fixed conformance with shared trace format
33+
- Resolved voting logic bug affecting EB certification
34+
- Updated visualization system for documentation site integration.
35+
36+
## Economic analysis
37+
38+
The team conducted a detailed analysis of transaction lifecycle and future reward sustainability:
39+
40+
- Analyzed seven stages of Full Leios transaction processing
41+
- Identified optimal stage lengths and shard configurations
42+
- Estimated two-minute average delay from transaction submission to RB reference
43+
- Projected future IB rates needed to maintain current reward levels:
44+
- Current Reserve depletion rate: 12.8% per year
45+
- Required IB rates increase from 0.008 to 0.634 blocks/slot by 2035
46+
- Analysis assumes constant fee-related protocol parameters.
47+
48+
## Next steps
49+
50+
- Translate transaction lifecycle model to Delta QSD for network effects analysis
51+
- Compare model results with Rust simulator output
52+
- Develop memory-pool and ledger variant models
53+
- Continue investigation of voting certification issues in Rust implementation.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: Weekly Summary – April 28, 2025
3+
authors:
4+
- will
5+
tags: [progress, update, weekly]
6+
---
7+
8+
This week, the Leios team made significant progress in protocol documentation, simulation improvements, and transaction lifecycle analysis. The team completed a draft of the Leios CIP, enhanced simulation visualization capabilities, and conducted detailed analysis of transaction processing times in Full Leios.
9+
10+
## Simulation and analysis
11+
12+
- Completed simulation of 270 Full Leios scenarios at tag [`leios-2025w17`](https://github.com/input-output-hk/ouroboros-leios/releases/tag/leios-2025w17)
13+
- Resolved all outstanding discrepancies between Rust and Haskell simulation results
14+
- Conducted detailed transaction lifecycle analysis:
15+
- Average IB inclusion time: 2.4 seconds
16+
- Average EB referencing time: 27.6 seconds
17+
- Average RB referencing time: 67.2 seconds
18+
- Identified issues with transaction referencing and duplication in current Full Leios implementation.
19+
20+
## Protocol documentation
21+
22+
- Drafted major sections of the [Leios CIP](https://github.com/input-output-hk/ouroboros-leios/blob/main/docs/cip/README.md) using standard CIP template
23+
- Documented evidence-based arguments for Leios necessity and viability
24+
- Pending completion of Full Leios protocol sections due to ongoing discussions.
25+
26+
## Rust implementation
27+
28+
- Publicly hosted visualization as part of the Leios documentation
29+
- Added new "transactions" view showing transaction state graphs over time
30+
- Fixed stability issues in long-running simulations
31+
- Implemented `leios-late-ib-inclusion` extension for referencing older pipeline IBs.
32+
33+
## Plutus benchmarking
34+
35+
- Documented [workflow for benchmarking Plutus](https://github.com/IntersectMBO/plutus/blob/master/plutus-core/cost-model/CostModelGeneration.md)
36+
- Prepared methodology for potential experiments with increased Plutus execution budgets
37+
- Established framework for relating Plutus execution units to CPU time measurements.
38+
39+
## Next steps
40+
41+
- Address transaction referencing and duplication issues in Full Leios
42+
- Complete remaining Full Leios protocol sections in CIP
43+
- Investigate higher transaction rates after resolution of [#305](https://github.com/input-output-hk/ouroboros-leios/issues/305)
44+
- Continue monitoring and optimizing transaction lifecycle performance.
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
---
2+
title: Weekly Summary – May 5, 2025
3+
authors:
4+
- will
5+
tags: [progress, update, weekly]
6+
---
7+
8+
This week, the team focused on simulation analysis, security improvements, and protocol documentation, making significant progress across multiple areas.
9+
10+
### Simulation analysis and performance
11+
12+
The team executed the first high-throughput simulations of Leios using the Rust simulator, with transaction rates reaching up to 1000 TPS. We introduced two key efficiency metrics to quantify system performance:
13+
14+
- *Temporal efficiency* measures the fraction of submitted transactions that make it into the ledger, with near 100% indicating optimal transaction inclusion.
15+
- *Spatial efficiency* represents the ratio of transaction size to total ledger size (including IBs, EBs, and RBs), with higher values indicating better storage optimization.
16+
17+
Recent revisions to Full Short Leios have shown promising improvements in both efficiency metrics. The simulations revealed an average transaction lifecycle of approximately 100 seconds from submission to ledger inclusion.
18+
19+
Our analysis produced several key visualizations that demonstrate the system's performance:
20+
21+
<div align="center">
22+
23+
![Temporal efficiency bar chart](https://raw.githubusercontent.com/input-output-hk/ouroboros-leios/refs/heads/main/analysis/sims/2025w19/plots/temporal-efficiency-bar.svg)
24+
25+
*Figure 1: Temporal efficiency comparison across different transaction rates*
26+
27+
![Temporal efficiency time series](https://raw.githubusercontent.com/input-output-hk/ouroboros-leios/1a7ccb588bf87284858c05a0670b938b5d35c417/analysis/sims/2025w19/plots/temporal-efficiency-timeseries.svg)
28+
29+
*Figure 2: Temporal efficiency trends over time*
30+
31+
![Spatial efficiency analysis](https://raw.githubusercontent.com/input-output-hk/ouroboros-leios/refs/heads/main/analysis/sims/2025w19/plots/spatial-efficiency.svg)
32+
33+
*Figure 3: Spatial efficiency analysis showing ledger optimization*
34+
35+
![Transaction lifecycle visualization](https://raw.githubusercontent.com/input-output-hk/ouroboros-leios/refs/heads/main/analysis/sims/2025w19/plots/reach-rb-tx.svg)
36+
37+
*Figure 4: Transaction lifecycle from submission to ledger inclusion*
38+
39+
</div>
40+
41+
### Protocol documentation and analysis
42+
43+
We conducted extensive analysis of transaction throughput and block characteristics, producing several key visualizations:
44+
45+
<div align="center">
46+
47+
![Transaction throughput analysis](https://raw.githubusercontent.com/input-output-hk/ouroboros-leios/refs/heads/main/analysis/block-praos-leios-contour.svg)
48+
49+
*Figure 5: Transaction throughput as a function of block size and rate*
50+
51+
![Comparative transaction lifecycle](https://raw.githubusercontent.com/input-output-hk/ouroboros-leios/refs/heads/main/analysis/tx-to-block-fig.svg)
52+
53+
*Figure 6: Comparative transaction lifecycle between Praos and Leios*
54+
55+
</div>
56+
57+
The team also completed a comprehensive profitability analysis for Leios SPOs, considering various deployment scenarios:
58+
- Evaluated infrastructure costs across premium and value cloud providers
59+
- Demonstrated profitability without Reserve contributions at 50+ TPS
60+
- Documented the impact of diminishing future rewards due to Reserve depletion
61+
- Analyzed comparative economics between Praos and Leios SPOs
62+
63+
<div align="center">
64+
65+
![Profitability forecast visualization](https://raw.githubusercontent.com/input-output-hk/ouroboros-leios/refs/heads/main/analysis/leios-forecast-sqrt-fill.svg)
66+
67+
*Figure 7: Profitability forecast for Leios SPOs without Reserve contributions*
68+
69+
</div>
70+
71+
### Security and infrastructure improvements
72+
73+
The team addressed several security vulnerabilities in the web applications through a series of patches:
74+
- Fixed minor and moderate security issues in PRs [#321](https://github.com/input-output-hk/ouroboros-leios/pull/321), [#322](https://github.com/input-output-hk/ouroboros-leios/pull/322), [#323](https://github.com/input-output-hk/ouroboros-leios/pull/323), and [#325](https://github.com/input-output-hk/ouroboros-leios/pull/325)
75+
76+
### Protocol enhancements
77+
78+
Recent protocol improvements include:
79+
- Implementation of revisions to Full Short Leios design to enhance both temporal and spatial efficiency
80+
- Optimization of protocol parameters for improved transaction processing
81+
- Development of new sharding strategy in Rust simulation
82+
- Enhanced logging system for tracking spatial efficiency metrics
83+
84+
For more detailed information about the simulations and analysis, please refer to the [analysis documentation](https://github.com/input-output-hk/ouroboros-leios/tree/main/analysis) and the [profitability analysis notebook](https://github.com/input-output-hk/ouroboros-leios/blob/main/analysis/profitability-leios.ipynb).

0 commit comments

Comments
 (0)