Package com.eqixiac.equinix.design.value.savings


package com.eqixiac.equinix.design.value.savings
Cloud-egress savings estimation: how much routing a monthly data volume over an Equinix private interconnect saves versus egressing it to the public internet, net of the Equinix interconnect cost. The entry point is fabric.savingsCalculator() (or SavingsCalculator.builder(fabric)), a fluent SavingsCalculator.Builder terminated by calculate(), which yields a SavingsEstimate with the net monthly/annual savings, break-even volume, and setup-payback figures. Volumes are expressed via DataUnit (decimal/SI — 1 TB = 1000 GB).

Rates come from the layered rate-card architecture in com.eqixiac.equinix.design.value.ratecard: by default live Equinix Fabric pricing backed by bundled reference figures (which supply the cloud-egress rates), so the calculator works with zero configuration; supply a custom or provider-API card to override. The estimate is honest about what it could not price: the egressPriced/equinixPriced/complete flags and the disclaimer name any missing component, and — per the layer's currency-honesty rule — figures in differing currencies are never subtracted or summed: a cross-currency interconnect cost is excluded (and quoted in the disclaimer) rather than mislabelled, with the derived net figures omitted instead of fabricated.

See Also: