The name comes from the compartments of a ship. In code it is usually a separate worker pool or a semaphore per dependency, so the failure of one part floods only its own compartment.