Most ad servers deliver static or hello-world-style content, doing no database lookups, but logging their results.<p>RTB systems have about 30-100msec for the entire transaction (and that includes network to the user), so you need better control of your latency anyway.