The result: each request overall only takes a few milliseconds for the hardest part, the rest of the optimization is a game of caching.
Reply on news.ycombinator.com