Problem Statement: Why Address Validation Matters
Problem Statement: Why Address Validation Matters — address validation depth
Problem Statement: Why Address Validation Matters
Bad shipping addresses are a silent tax on e-commerce: failed deliveries, carrier surcharges, WISMO ("where is my order") support tickets, and fraud chargebacks when freight-forwarders or synthetic suites slip through. An address-validation platform turns messy human input into a canonical, deliverable, geocoded record that downstream tax, rating, and fulfillment systems can trust — it is the difference between "formatted nicely" and "the carrier will actually deliver here."
A multi-tenant Address Validation Service (AVS) is used at three distinct surfaces, each with a different latency and correctness contract: checkout typeahead (sub-100 ms autocomplete suggestions), the order-commit gate (a hard deliverability check before payment), and the nightly warehouse scrub (bulk revalidation before pick). The core capabilities interviewers expect:
| Capability | User-visible outcome |
|---|---|
| Parse | Split street, unit, city, region, postal into components |
| Standardize | USPS CASS-style casing, abbreviations, ZIP+4 (US) |
| Verify | Deliverable / undeliverable / unknown, with reason codes |
| Geocode | Lat/lng + accuracy radius for routing and tax jurisdiction |
| Explain | Actionable fixes: missing unit, wrong city-ZIP combo |
The scale shapes the design: a ~40M-DAU marketplace with a checkout-hour peak drives hundreds of thousands of concurrent checkout sessions, ~16K autocomplete suggest RPS at the edge (mostly absorbed by CDN/edge cache), and ~2.3K validate-at-commit RPS at peak. Google, Smarty, and Melissa sell exactly this (reference data + APIs), and the discriminator in an interview is whether you separate the autocomplete UX from the authoritative verification — autocomplete is a fast, best-effort suggestion; verification is the slow, correct, deliverability-checked gate. The failure to avoid is conflating them: a nicely-formatted address that fails DPV is undeliverable, and treating "looks right" as "is deliverable" is the core mistake. The principle: turn messy input into a canonical, verified, geocoded record; separate fast autocomplete from authoritative verification; and judge the system on deliverability, not formatting.
Key Highlights
- •Bad addresses are a silent tax (failed deliveries, carrier surcharges, WISMO tickets, fraud chargebacks); an AVS turns messy input into a canonical, deliverable, geocoded record — formatted-nicely != carrier-will-deliver
- •Three surfaces with different contracts: checkout typeahead (sub-100ms autocomplete), order-commit gate (hard deliverability check), nightly warehouse scrub (bulk revalidation); capabilities: parse, standardize (CASS), verify (DPV), geocode, explain
- •Scale: ~16K autocomplete suggest RPS at edge (CDN-absorbed), ~2.3K validate-at-commit RPS peak; the discriminator is separating fast autocomplete UX from authoritative deliverability verification
Section Rescue Kit
Buzzwords to use:
Safe statements:
- "If challenged on Problem Statement: Why Address Validation Matters, restate: autocomplete is UX; validate-at-commit is authority."
- "I degrade to UNKNOWN rather than guessing deliverability when providers fail."