kv-routing-sim

Run it on your traffic

Pick your traffic, your GPU and your latency target. The simulator runs in this page, in Python compiled to WebAssembly, and recommends a routing policy and a replica count. Files you choose are read on your computer and never uploaded.

Traffic
GPU
Latency target, at the 95th percentile
Search settings
Routing policies

The explorer's balanced prefix-affinity uses a load weight of 16, the weight the registered tests chose. This page and kvsim replay run the package's default weight, 1. They have no option to change it.

A profile from kvsim calibrate keeps its calibration repeats. The measured T4 has none, so the page gives the spread of three T4 calibrations instead.

One to two minutes with these settings. More seeds, replicas or policies take longer.