View Source ProcessHub.Strategy.Migration.ColdSwap (ProcessHub v0.2.0-alpha)

The cold swap migration strategy implements the ProcessHub.Strategy.Migration.Base protocol. It provides a migration strategy where the local process is terminated before starting it on the remote node.

Cold swap is a safe strategy if we want to ensure that the child process is not running on multiple nodes at the same time.

This is the default strategy for process migration.

Summary

Types

t()

The cold swap migration struct.

Types

@type t() :: %ProcessHub.Strategy.Migration.ColdSwap{}

The cold swap migration struct.

This struct does not contain any configuration options.