Retail and marketplaces
"You may also like" rows mix similar products with what is selling now, and never show the same item twice in a session.
Personal recommendations in one round of reads. User features, similar items by vector and what is trending, minus what they have already seen.
The Top-K list was created once with TOPK.RESERVE. Every view updates it, and items that fall out of the top are reported back.
An animated walkthrough with real HotKV commands and example replies. Click any step to jump to it.
A good recommendation blends who the user is, what is similar to what they liked, what is popular right now, and what they have already seen. Those signals usually live in four systems, and stitching them together at request time adds latency to every page.
HotKV holds all four. The feature store has the user's profile, a vector index finds similar items, a Top-K structure tracks what is trending as events arrive, and a Bloom filter per user removes items they have already seen. The recommender reads all of it from one server in a few calls.
The Top-K list was created once with TOPK.RESERVE. Every view updates it, and items that fall out of the top are reported back.
TOPK.ADD trending:shoes sku:88 sku:17 sku:88Profile and behaviour features for the ranking model, with their age.
FEATURE.GET user_features user:42The user's taste vector finds the nearest products.
VSIM.SEARCH items 20 0.31 0.12 0.77 ...A Bloom filter per user answers "seen before?" for the whole candidate list in one call.
BF.MEXISTS seen:user:42 sku:88 sku:5 sku:17The current top sellers join the candidates, and the ranking model orders the final list.
TOPK.LIST trending:shoes WITHCOUNTItems shown are added to the user's filter so they are not repeated tomorrow.
BF.MADD seen:user:42 sku:5 sku:17"You may also like" rows mix similar products with what is selling now, and never show the same item twice in a session.
Home screens rank shows by taste vectors and live popularity, and skip titles the viewer has already finished.
Articles are recommended by topic similarity while trending stories rise in real time.
Typed features per user or item for low-latency reads at inference time.
FEATURE.GETFEATURE.BATCHNearest neighbours from an HNSW vector index.
VSIM.SEARCHTop-K keeps the most frequent items in a stream of events.
TOPK.ADDTOPK.LISTBloom filters answer "seen before?" in constant memory per user.
BF.MADDBF.MEXISTSIt can occasionally say an item was seen when it was not, at an error rate you choose with BF.RESERVE. It never says an item was not seen when it was.
In your own service. HotKV serves the features and candidates at low latency, and your model makes the final order.
The feature store is part of the Performance and Scale plans. Vector search, Top-K and Bloom filters work on every plan.
HotKV speaks the Redis protocol, so you can point an existing client at it and run these same commands.