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
Hide diagram, related links, and draft page references
Reviewer feedback:
- Comment out LifecycleDiagram (needs polish)
- Comment out Related section (links to draft pages)
- Remove inline links to draft Services and Billing pages
Co-Authored-By: Claude Opus 4.5 <[email protected]>
Copy file name to clipboardExpand all lines: src/content/docs/concepts/lifecycle.mdx
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,13 +21,13 @@ A Sprite is considered active when:
21
21
22
22
When none of these are true, the 30-second idle timer starts. Once it expires, the Sprite hibernates. Compute billing stops immediately.
23
23
24
-
<LifecycleDiagram />
24
+
{/*<LifecycleDiagram />*/}
25
25
26
26
## Waking up
27
27
28
28
Sprites wake automatically when you interact with them: CLI, API, or HTTP request. Wake time is typically a few seconds. The request blocks until the Sprite is ready.
29
29
30
-
Disk state is preserved. Running processes are not. If you need processes to restart on wake, use [Services](/concepts/services).
30
+
Disk state is preserved. Running processes are not.
31
31
32
32
## Persistence
33
33
@@ -60,7 +60,7 @@ You pay for actual bytes stored, not allocated space. Storage is TRIM-friendly,
60
60
-**Hot storage**: Sampled every few seconds while the Sprite is running. 2 GB cached for 4 hours = 8 GB-hours.
{/*See [Billing](/reference/billing) for rates.*/}
64
64
65
65
## Resources
66
66
@@ -78,11 +78,11 @@ Compute is fixed. One size keeps things simple.
78
78
79
79
**Use file-based storage.** SQLite, flat files, and Git repos persist automatically. You don't need external databases for most use cases.
80
80
81
-
**Keep sessions detachable.** Long-running work should use detachable sessions or [Services](/concepts/services)so it survives disconnects and hibernation.
81
+
**Keep sessions detachable.** Long-running work should use detachable sessions so it survives disconnects and hibernation.
82
82
83
83
**Clean up before idle.** Flush writes and close files cleanly. The filesystem handles this well, but it's good practice.
84
84
85
-
## Related
85
+
{/*## Related
86
86
87
87
<CardGrid client:load>
88
88
<LinkCard
@@ -113,4 +113,4 @@ Compute is fixed. One size keeps things simple.
0 commit comments