Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a21f12811919c6fa

Jump to content

// Workers AI · dad joke modeWhat did crash-only software say? It had a smashing time.

From Wikipedia, the free encyclopedia

A crash-only software is a computer program that handle failures by simply restarting, without attempting any sophisticated recovery.[1] Correctly written components of crash-only software can microreboot to a known-good state without the help of a user. A related recovery technique is the microreboot, which restarts only a faulty fine-grained component rather than rebooting the whole application or server; in an Internet auction application, Candea et al. reported that microreboots recovered most of the same failures as full reboots while reducing recovery time and lost work by about an order of magnitude.[2] Since failure-handling and normal startup use the same methods, this can increase the chance that bugs in failure-handling code will be noticed,[clarification needed] except when there are leftover artifacts, such as data corruption from a severe failure, that don't occur during normal startup.[citation needed]

Crash-only software also has benefits for end-users. All too often, applications do not save their data and settings while running, only at the end of their use. For example, word processors usually save settings when they are closed. A crash-only application is designed to save all changed user settings soon after they are changed, so that the persistent state matches that of the running machine. No matter how an application terminates (be it a clean close or the sudden failure of a laptop battery), the state will persist.

See also

[edit]

References

[edit]
  1. Candea, George; Fox, Armando (May 2003). "Crash-only software". 9th Workshop on Hot Topics in Operating Systems. Lihue, Hawaii, USA.
  2. Candea, George; Kawamoto, Shinichi; Fujiki, Yuichi; Friedman, Greg; Fox, Armando (2004). Microreboot—A Technique for Cheap Recovery. 6th Symposium on Operating Systems Design and Implementation (OSDI 04). San Francisco, California: USENIX Association.
[edit]