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
{{ message }}
Repository navigation
Opt-in durability instead of Pause vs Suspend API #798
Instead of explicitly requesting Pause vs Suspend, I think applications should request Suspend with an argument specifying their tolerance, naming is hard but Durable: true or something like that, opt-in.
When applications do not specify, substrate can intelligently handle suspension, e.g. in the future it might:
Suspend to local disk
Decide not to suspend immediately due to low load
Automatically move snapshots between nodes p2p to rebalance
Decide to move the snapshot to cloud storage
Live migrate sandboxes
Only if you have a hard need for an immediate backup, then we should explicitly move the snapshot to cloud storage (S3, GCS, ...).
I think the current Pause vs Suspend inverts this and doesn't give a lot of room to implement things like automatically moving snapshots between machines or live-migrate microVMs
Activity
bowei commentedon Aug 7, 2026
+1 DisruptionTolerance
It might not even be a property of suspension per se... maybe it is latency insensitive, we can steal CPU from the Actor etc.
BenTheElder commentedon Aug 19, 2026
cc Tim Hockin (@thockin) Dmitry Berkovich (@dberkov) Julian Gutierrez Oschmann (@juli4n) (also note +1 from a few contributors)
zlammerts-svg commentedon Sep 22, 2026
Dmitry Berkovich (@dberkov) are you working on this one?
dberkov commentedon Sep 22, 2026
Yes, I do. I will share the proposal this week.
zoez7 commentedon Oct 2, 2026
Proposed Changes for GA: PauseActor is removed from the API and SuspendActor gains an asynchronous durability mode:
See detailed description in https://docs.google.com/document/d/19-8ZsIdF-J5QldhMyEam3nhJcOVcGkN6bmwrXmqtVq8/edit?resourcekey=0-jik6OvyqInUN5yQiJFkzHA&tab=t.wl9xs9ggvysx
Update Snapshots API to support Actor Lifecycle v2 (agent-substrate#2289
Sync upstream sandbox, snapshot, and HTTPS egress updates (#69)
SuspendActor accepts suspend_options to choose a durability mode (API…
Replace clients of PauseActor to call SuspendActor(ASYNCHRONOUS) inst…
zoez7 commentedon Oct 18, 2026
Pause API has been removed in #2813