Reference Architecture for a High-Performance Lightning Node on AWS
@joostjager 已經在處理了。
開始於 2026年5月28日。
評估
這個 Issue 還沒有評估資料。
描述
This issue is intended as a place for the team to discuss a reference architecture for running a high-performance Lightning node on AWS. The goal is to identify a deployment pattern that gives strong funds-safety properties, predictable persistence latency, operational simplicity, and enough throughput headroom for a serious routing node.
Initial Starting Point
As an initial proposal, use Aurora PostgreSQL Standard with two provisioned instances:
- One Aurora PostgreSQL writer instance
- One Aurora PostgreSQL reader instance in another Availability Zone
- The Lightning node connects to the Aurora writer endpoint
- The watchtower process connects to the Aurora reader endpoint, or to a pinned reader instance
- The Lightning node process runs on separate application compute in the writer AZ
- The watchtower process runs on separate application compute in the reader AZ
Aurora provides the replicated cluster storage layer underneath the database instances. The writer handles node persistence writes, while the reader gives the watchtower a cross-AZ read path over the same committed database state.
Persistence Requirements
The exact persistence model is intentionally left open. The important requirement is that the node and watchtower operate on a consistent committed view of the node's persistence state.
The watchtower can read the same committed monitor data as the node. A small durable cursor or outbox table may still be useful so the watchtower can reliably determine what changed, resume after restart, and measure lag, without duplicating monitor payloads.
Assumptions
- The node may continue once the Aurora commit succeeds.
- It is acceptable for the watchtower reader to observe committed data with some reader lag.
- The watchtower does not need to acknowledge each update before the node releases safety-critical messages.
- The watchtower has an independent chain view and can catch up after restart or database failover.
Why This Seems Like a Good Baseline
- Aurora gives managed multi-AZ durability without operating PostgreSQL replication ourselves.
- Two database instances are enough for a writer plus a watchtower reader.
- The architecture keeps the node and watchtower in separate AZs while sharing the same committed persistence state.
- The database-backed architecture gives us a concrete place to define and validate consistency between the node and watchtower.
- 主要語言
- Rust
- 星號
- 1.4k
- 分支
- 482
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
lightningdevkit/rust-lightning 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 83/100
lightningdevkit/rust-lightning#4767 ·
-
難度 1/5 1 小時以內 新手友好度 65/100
lightningdevkit/rust-lightning#1849 ·
-
難度 4/5 3-5 天 新手友好度 22/100
lightningdevkit/rust-lightning#4764 · 3 則留言 ·
-
難度 5/5 一週以上 新手友好度 22/100
lightningdevkit/rust-lightning#4757 · 1 則留言 ·
-
難度 4/5 3-5 天 新手友好度 28/100
lightningdevkit/rust-lightning#4739 ·
查看 lightningdevkit/rust-lightning 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 2 天內回覆
-
autofixer: follow-up
難度 2/5 1-3 小時 新手友好度 78/100
tursodatabase/turso#12531 ·
維護者通常 1 天內回覆
-
bug help wanted ui
難度 2/5 1-3 小時 新手友好度 82/100
userFRM/egui-charts#4292 ·
維護者通常 1 天內回覆
-
Issue-Bug Need-Review
難度 1/5 1-3 小時 新手友好度 85/100
PowerShell/DSC#1832 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 83/100
Tripstack-Corp/spyc#1352 ·
維護者通常 1 天內回覆