Skip to main content

Disaster Recovery

PRISM is stateless by design, which makes its DR story short and honest.

What can be lost​

The HTML cache, render queue and warmup progress are held in memory and lost on restart. Browser profiles and temporary files are disposable. Back up your configuration, signed licence, secrets, warmup URL lists and any logs retained for audit; PRISM does not back these up for you.

Recovery​

Restore those inputs, redeploy the pinned image or package, and check /startup and /ready before returning traffic. Run warmup and monitor /warmup/status and render errors while the cache fills.

The image's 60-second healthcheck start period is a probe budget, not a recovery SLA. Measure recovery against your catalogue, origin latency and pool size. A rough warmup estimate is URLs × device classes / pool size × render time, plus retries and rate limits. Large catalogues may take hours.

Recovery time includes deployment and any cache warming required by your service objectives. Cache contents can be rebuilt, but recovery of operational files and audit logs depends on your backup policy.

If PRISM is unavailable, everything the edge routes to it fails — visitors included, because PRISM is in front of every page request and not only the rendered ones. Configure the edge to fail open for visitors and closed for crawlers; the reverse proxy guide has working nginx, Apache and Caddy configurations. With them, visitors are served by the origin while PRISM is down and crawlers receive a 5xx and retry.

Reducing the cold window​

  • Spread replicas (topologySpreadConstraints in the Helm chart) so a zone loss keeps warm replicas serving.
  • Keep a warmup URL list (sitemap) versioned next to your deployment and run it post-rollout — every deploy is a small DR drill.
  • The roadmap's shared cache tier will carry warmth across replicas; until then, warmth is per-replica and the warmup is the recovery procedure.