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 ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 1週間以上 初心者へのやさしさ 22/100
lightningdevkit/rust-lightning#4757 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 28/100
lightningdevkit/rust-lightning#4739 ·
lightningdevkit/rust-lightning の issue をすべて見る
似ている issue
-
bug help wanted ui
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
userFRM/egui-charts#4292 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
Tripstack-Corp/spyc#1352 ·
メンテナーはふだん 1 日以内に返信
-
marketing
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
area:tui enhancement P2
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
agent-of-empires/agent-of-empires#6077 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信