KatPadi's Point

Tag: ruby

Autocomplete Using Redis

Usually, when we implement suggestions in autocomplete input fields, we query directly to our database. Relatively, LIKE queries in MySQL are slower. So why not autocomplete using Redis? Disclaimer: This is a basic Redis solution for “just-trying-it-out” purposes only. Motivation As I’ve mentioned, I got annoyed by the slow autocomplete results of an app that I…