How does youtube, google, facebook and even Stackoverflow achieve great performance with their auto-comlete boxes? It's really fast and feels like its a local search even though in the background they are probably calling a DB. (Imagine all the resources needed for a DB call!)
Is it ALL about Server and bandwidth?
What are the strategies to maximise performanace with this techique? Looking for anwsers such as
1) Start a ajax callback after a user types in at least 3 letters
2) Cache DB results? if so how?
3) pre-load data? if so how
4) etc...
If it matters im using asp.net mvc with sql server 2008.