Tagged articles

net.Dialer

2 articles · Page 1 of 1
Golang Shines
Golang Shines
Feb 9, 2026 · Backend Development

How Go 1.26’s net.Dialer Gains Context Support Without Sacrificing Performance

Go 1.26 introduces context‑aware net.Dialer methods that combine the zero‑overhead speed of net.DialTCP with timeout, cancellation and tracing capabilities, eliminating DNS resolution and protocol dispatch overhead while providing clear code and a 10‑15% latency reduction for high‑frequency short connections.

ContextGogo1.26
0 likes · 8 min read
How Go 1.26’s net.Dialer Gains Context Support Without Sacrificing Performance
FunTester
FunTester
Feb 17, 2022 · Backend Development

Implementing a Custom DNS Resolver for Go HTTP Client Testing

This article demonstrates how to extend Go's HTTP client with a custom DNS resolver using net.Dialer, configure load‑balancing, and test the implementation with sample code and a simple mock service, providing a practical guide for backend developers.

DNSGohttp-client
0 likes · 6 min read
Implementing a Custom DNS Resolver for Go HTTP Client Testing