app worker |
how many instances, threads, connections? |
peak / (capacity × U) + spares, L = λW |
sql |
can one primary take it? |
U = X × S, the knee, serial fraction (hot rows) |
cache |
how much memory? how many misses? |
latency numbers, the hot set |
cdn objstore |
how many Gbit/s and TB? |
bandwidth = QPS × size, retention × replication |
queue |
how long is the line? |
W = L / λ, admission rate |
search (shards) |
why is the user's p99 worse? |
1 − (1 − q)ᴺ, hedging, latency budgets |
lb healthcheck payment |
how available is the path? |
series ∏aᵢ, parallel 1 − ∏(1 − aᵢ), MTTR |