Playground · Easy line · Station E7

Parts compatibility for a shop

Answer 8,000 fuzzy compatibility searches a second and keep the catalogue in sync.

An auto-parts shop lets you type "Swift 2019 brake pads" and see only parts that fit your car. Shoppers run 8,000 of these searches a second. The catalogue of parts changes only 20 times a second, but every change must show up in search within a minute.

Compatibility searches
8,000/s
Part pages
500/s
Catalogue edits
20/s
Budget
$1,300/mo
Speed
under 150 ms
Must
Survive a crash

Reported in interviews at Some FAANG