Loading…
While this loads — worth knowing
Redis has data structures — sorted sets, counters, pub/sub. Memcached has plain keys and nothing else.
Loading…
While this loads — worth knowing
Redis has data structures — sorted sets, counters, pub/sub. Memcached has plain keys and nothing else.
Loading the challenge…
While this loads — worth knowing
Redis has data structures — sorted sets, counters, pub/sub. Memcached has plain keys and nothing else.
As a user types into a search box, the product shows the most likely completions after each keystroke — and it has to come back within a few milliseconds, or the suggestions feel laggy and get ignored. Completions are ranked by how often each phrase has been searched before, and the catalogue of phrases is large. The read volume is enormous: every keystroke from every user is a lookup, and most of those lookups are for the same short, popular prefixes. Building and ranking the list of completions is done in the background, not on the typing path.
Signing in is what lets the tool remember what you built and what you found hard. One challenge is free to try without an account.