Distributed Systems / Reliability

50% lower cloud cost for every planning run, at the same speed

~50%

Compared with regular servers alone; an operational estimate.

Planning runs need a lot of computing power. Spare cloud servers cost about half, but they are never guaranteed: the provider can hold them back or take them away mid-run.

My role I took over the platform, made every run fully automatic, and built the logic that decides which servers to use while a run works.

Context Orchestr8

Key decision

Count on spare servers, never wait on them: pay full price only for the gap.

Mechanism

One run, start to finish

deadline
  • Spare (Spot) capacity
  • Reclaimed mid-run
  • Regular (On-Demand) capacity

Schematic: fleet size and timing are illustrative.

  1. A run starts on spare servers, at about half the price.
  2. The provider takes one back mid-run. Its task moves on; the run slips behind.
  3. A regular server covers the gap, and the run still finishes on time.

Scope

What made it work

  • Cheap by default

    Runs start on spare servers and add regular ones only when they fall behind.

  • Nothing lost

    If a server disappears, its work moves to another and a replacement arrives.

  • Runs itself

    Every run starts, finishes and cleans up on its own, for many customers at once.

Outcome

From everyday runs to 12 billion simulations

~12B

Everyday runs reach up to a billion simulations each; the largest, up to 12 billion.

Half the cost, still on time

Runs finish as fast as before, at about half the cloud cost.