It's very impressive to see how many queries you could send that AH database. I can tell you that Blizzard knew about it from the start, and that their AH system was designed for this kind of trading. It would have been quite easy to limit the number of queries per unit of time, or insta ban...