mirror of
https://github.com/minio/minio.git
synced 2024-12-25 06:35:56 -05:00
bd2131ba34
Go stdlib resolver doesn't support caching DNS resolutions, since we compile with CGO disabled we are more probe to DNS flooding for all network calls to resolve for DNS from the DNS server. Under various containerized environments such as VMWare this becomes a problem because there are no DNS caches available and we may end up overloading the kube-dns resolver under concurrent I/O. To circumvent this issue implement a DNSCache resolver which resolves DNS and caches them for around 10secs with every 3sec invalidation attempted. |
||
---|---|---|
.. | ||
stats | ||
close.go | ||
dial_dnscache_test.go | ||
dial_dnscache.go | ||
dial_linux.go | ||
dial_others.go | ||
headers.go | ||
listen_nix.go | ||
listen_others.go | ||
listener_test.go | ||
listener.go | ||
server_test.go | ||
server.go |