summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2013-06-14 08:59:43 -0700
committerBrad Fitzpatrick <bradfitz@golang.org>2013-06-14 08:59:43 -0700
commitd18eee83b6045ef08c322b4bdb8c0ec2bc4f4ade (patch)
treeec144bff792fa01e3a19cd934d6608caaf9e4a50 /api
parentbb665158525bb95362213b246d29ae8a00e9f819 (diff)
downloadgo-d18eee83b6045ef08c322b4bdb8c0ec2bc4f4ade.tar.gz
net: coalesce duplicate in-flight DNS lookups
In Issue 5625, Russ says: "We should at least have a cache of inflight lookups, so that 100 simultaneous dials of one host name don't do the work 100x. That's easy and (assume we forget the answer once they all get it) doesn't pose any consistency problems. It just merges simultaneous work." This brings in singleflight (unexported) from Google / Camlistore, but without its tests. Maybe we should put it somewhere in the standard library. But not now. Update issue 5625 R=golang-dev, iant, cespare, rsc, dave, rogpeppe, remyoudompheng CC=golang-dev https://codereview.appspot.com/10079043
Diffstat (limited to 'api')
0 files changed, 0 insertions, 0 deletions