TrackEX0016

Full-Text Search

Hard

Problem

A support ticket comes in: a customer updated a product listing an hour ago and search still returns the old price. Worse, a postmortem on an unrelated outage turns up a window where the search index and the database silently disagreed with each other for several minutes after a deploy. Build a full-text search service backing a large content catalog: users issue free-text queries against a dedicated search index, while a constant stream of document creates/updates has to become searchable without unbounded lag and without ever being able to drift from the source of truth. Design it from a blank canvas so query traffic and indexing freshness scale independently of each other and of the primary datastore, and a crash partway through indexing a change can never leave the index and the database permanently disagreeing.

Required components

Click to add a component to the canvas.

Additional components

Browse by category. Click or drag a component onto the canvas.

Drag components from the library onto the canvas, then drag from a component's right handle to connect it to another.

100%

Design canvas

Sign up to start designing

Sign up free

Premium is free for 58 more days.

$0 / $2,000