At the invitation of Eva Adler and Norman Shamas I had the pleasure of giving a workshop on CartoDB's real-time mapping capabilities for the TechChange.
Apps with maps on phones and on the web are frequently built around 'nearest neighbor' queries sifting through a database to find the records that are.