Definitions

How computers for agents work, from the hardware to the sandbox.

Definitionsp

Persistence

Persistence is the keeping of a machine's data or state after it stops or restarts.

Persistence also covers state that survives a move of the machine to other hardware. A persistent machine comes back with the files and settings it had, while an ephemeral one starts fresh every time. Persistence comes in degrees, from keeping only the disk to keeping the full running memory. Each step up costs more to store and promises more to the program that runs after the gap.

Persistence decides what a workload can rely on between runs. Without it, every installed package and written result has to be rebuilt or copied out before the machine goes away. Software built for ephemeral machines treats the disk as scratch space and keeps anything important in an outside service. Software that assumes persistence, such as a tuned developer setup, breaks quietly when its files vanish.

Keeping state has a price, because disks and memory images take up storage while the machine sits idle. Restoring that state can also make a start slower than booting a clean machine from its image. A platform with many idle machines can pay more to store their state than to run the active ones. Some platforms therefore move unused state to cheaper storage until the machine is needed again. Sandboxes, virtual machines and volumes each offer persistence at a different level.