minio/cmd/http
Harshavardhana bd2131ba34
add DNS cache support to avoid DNS flooding (#10693)
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.
2020-10-16 14:49:05 -07:00
..
stats audit: Merge ResponseWriter with RecordAPIStats (#9496) 2020-04-30 11:27:19 -07:00
close.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
dial_dnscache_test.go add DNS cache support to avoid DNS flooding (#10693) 2020-10-16 14:49:05 -07:00
dial_dnscache.go add DNS cache support to avoid DNS flooding (#10693) 2020-10-16 14:49:05 -07:00
dial_linux.go add ruleguard support, fix all the reported issues (#10335) 2020-08-24 12:11:20 -07:00
dial_others.go fix: proxies set keep-alive timeouts to be system dependent (#10199) 2020-08-04 14:55:53 -07:00
headers.go fix: web handlers to enforce replication (#10249) 2020-08-12 17:32:24 -07:00
listen_nix.go Bump default idleConnsPerHost to control conns in time_wait (#10653) 2020-10-12 14:19:46 -07:00
listen_others.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
listener_test.go Fix common Windows failure (#10397) 2020-09-01 10:11:15 -07:00
listener.go add different TCP timeouts for internal and incoming (#10090) 2020-07-19 17:16:12 -07:00
server_test.go Tune tcp keep-alives with new kernel timeout options (#9963) 2020-07-03 10:03:41 -07:00
server.go add '.healing.bin' for tracking currently healing disk (#10573) 2020-09-28 19:39:32 -07:00