Up

Module Alternating_primary_backup_assignment

role assignment for systems with a primary and backup instances that switch roles daily for ease of deploying new versions.

Signature

type 'a t = {
primary
: 'a ;
backup
: 'a ;
}
val select : Core.Std.Date.t -> slot1:'a -> slot2:'a -> 'a t