AlgoViz

Latency

easy 30 min

Latency is how long one request takes.

What each level should show

The same question is judged differently for mid, senior and staff.

  • Mid

    Must show

    • Defines latency and P99
    • Names the four parts
    • Two ways to cut it

    Will be probed on

    • Average or percentile
    • What caching does to misses

    Stands out

    Writes a small budget with milliseconds.

  • Senior

    Must show

    • Adds sequence, takes the slowest of parallel
    • Knows the distance floor
    • Explains queueing near full load

    Will be probed on

    • Fan-out and tails
    • Merging percentiles

    Stands out

    Chooses timeouts from measured percentiles and has an answer for what to leave out.

  • Staff

    Must show

    • Ties the target to what users do
    • Sets budgets across teams
    • Doubts the measurement

    Will be probed on

    • Coordinated omission
    • Cost of the last 10 ms

    Stands out

    Says when fast enough is reached and stops.