News for hackers. Stuff that matters.
Re:Network Programming with Go by jesstaa on Monday June 11, 2012 @10:10AM (#4094646)
Batching the C calls means that you all lookups are delayed by other lookups. This isn't very good for concurrency especially since it's reliant on network traffic. If you had a few lookups in the queue, you could end up having goroutines waiting a few seconds or for lots of lookups this could balloon out to minutes for a lookup. This is the trade off. In general most programs aren't making thousands of concurrent DNS lookups.

There are no comments on this comment yet.