Design a product search box (search and typeahead)
Build a marketplace search box from parts, press Run, and see whether it returns products, serves suggestions and gets a seller's change into the index, and whether it keeps doing so when an app server, a search node or the indexing worker dies.
Visual challengeDesign a product search box (search and typeahead)
Names
Components
Drag onto the board, or tap to add.
Traffic
Compute
Data
Messaging
Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.
Settings hover or tap a component, then its iconLink drag from any dot to another componentRemove select it, press DeleteBreak Break it in a part's settings arms it; it fails when you press Run tests
Link color = the component it leaves:Entry pointsTraffic routingServersStoragedown, unlinked or overloaded
A simplified model, not a real search engine. Times are in model milliseconds, the cache is always warm, and prices are made up to compare designs. The board cannot show ranking quality, stale results between copies of the index, or that suggestions never touch the index, and its search index is one pool of equal nodes, not shards with copies. There is no code lab for this design yet.