⌘ K◐

Deprecate router v1

decisions·updated 7mo ago·accepted#infra#deprecation

Context

The legacy router has accumulated 4 years of rule-DSL extensions. p95 ~800ms. Tested upper bound on optimization is ~500ms — not enough.

Decision

Replace, do not refactor. New service is order-routing-v2; old router enters deprecation mode at GA (target mid-June) and is fully removed by end of Q3.

Why

  • p95 ceiling on the old router cannot meet our target.
  • The legacy DSL doesn't model customer-authored rules — would require a rewrite anyway.
  • Customers need migration time; deprecation window is generous (3 months) on purpose.

Consequences