Practice
Learn
← Quit
0 / 0 correct
System Design
Hard
1 of 20
Typeahead: how are trending query counts collected without slowing the request path?
A
Log queries asynchronously, aggregate in batch or stream jobs, then rebuild/update the trie periodically
B
Ask users to rate suggestions
C
Increment a database counter synchronously on every keystroke
D
Recompute top-k on every request