Lock in $30 Savings on PRO—Offer Ends Soon! ⏳

The Maths of Microscaling

Liz Rice
November 08, 2016

The Maths of Microscaling

Using control theory to scale containers in real time, in response to demand

Liz Rice

November 08, 2016
Tweet

More Decks by Liz Rice

Other Decks in Technology

Transcript

  1. x(t) is proportional to n(t) n(t) = k x(t) error

    e time t number of containers n
  2. x(t) is proportional to n(t) nope! error e time t

    number of containers n d(t) is proportional to e(t) d
  3. error e time t Proportional term d(t) = Kp e(t)

    The further we are below target the more containers we need
  4. error e time t Derivative term The faster we approach

    target the fewer containers we need d(t) = Kp e(t) + Kd ė(t)
  5. error e time t Integral term d(t) = Kp e(t)

    + Kd ė(t) + Ki e(t) Offset errors accumulated over time ∫