Skip to content

[Backend] Implement Durable Task Snapshotting for Fast Cold Starts #245

@ayomideadeniran

Description

@ayomideadeniran

Contributor Focus: [Startup Performance] Reduce keeper cold-start time without serving dangerously stale task state
ETA: 2 days

Context

A fresh keeper start may need to rebuild task awareness from expensive reads, which slows operational recovery.

Problem

Cold starts can delay due-task detection if no durable local snapshot exists.

Task Breakdown

  1. Define what task state is safe and useful to snapshot.
  2. Add snapshot persistence and versioning.
  3. Reconcile snapshots against live chain state on startup.
  4. Prevent stale snapshots from being trusted blindly.
  5. Measure startup improvement and document tradeoffs.

Acceptance Criteria

  • Keeper startup becomes faster with durable snapshots.
  • Snapshot reconciliation protects correctness.
  • Snapshot versioning and invalidation are documented.
  • The feature is operationally transparent.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programbackendGenerated from backend issue tags: backendcachingGenerated from frontend issue tags: cachingcomplexGenerated from frontend issue tags: complexkeeperGenerated from backend issue tags: keeperstartupGenerated from backend issue tags: startup

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions