Blog: Putting apps to sleep, and waking them in under two seconds#8
Merged
Conversation
…conds Covers the PAUSED+PAGED app tier shipped in shard_core 0.40.0: cgroup freezer via docker compose pause, proactive memory.reclaim to swap, and the swapfile+zswap provisioning that makes paging viable on a 1-2 GB VPS. Cover art uses the bright-daylight register of the house ligne claire style rather than the dark-dramatic one used for the previous post, since this story is about relief rather than threat. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The post's closing CTA asked only about wake times, which reads as a request for tuning input. Broaden it to any misbehaviour, phrased as a standing invitation, matching the newsletter going out alongside it. agents.md still documented bare pip/mkdocs commands; the repo is built with uv, which is what these docs were built and verified with. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the blog post about the PAUSED+PAGED app tier (shard_core 0.40.0, tracker FreeshardBase/freeshard#81), plus its cover image. Picks up one unrelated
agents.mdfix as a byproduct.Contents
docs/blog/posts/2026-07-25_app_sleep_fast_wake/main.md— the post. Dated 2026-07-25,draft: false, authormax. Structure: problem (self-hosted apps eat a 2 GB VPS, cold starts take 30s+), rejected alternatives (CRIU/docker checkpoint, Podman migration, Sablier), the implementation (cgroup freezer viadocker compose pause+memory.reclaimto swap, three-state Running → Paused+Paged → Stopped with PSI-driven LRU demotion), the swap story (RAM-sized swapfile + zswap), and what it means for shard owners.docs/blog/posts/2026-07-25_app_sleep_fast_wake/cover.png— 1600×896, generated with Flux 1.1 Pro Ultra.agents.md— the documented commands were barepip install/mkdocs serve; the repo is built with uv. Updated touv venv/uv pip install -r requirements.txt/uv run mkdocs build, which is what this PR's output was actually built and verified with.No
mkdocs.ymlchange needed — the blog plugin picks up post directories automatically.Notes for review
draft: falsemeans this publishes as soon as it lands onmain.Verification
uv run mkdocs buildexits 0; the post renders at/blog/2026/07/25/putting-apps-to-sleep-and-waking-them-in-under-two-seconds/and appears on the blog index with its cover and excerpt.🤖 Generated with Claude Code