Notes from inside the database — which sites are winning, why, and how to use that to build your own.