Maintaining Healthy TCP Connections in Golang

Benjamin Cane
4 min readJul 5, 2022
Photo by Pixabay

While most systems these days integrate over gRPC or HTTP, quite a few applications still speak custom protocols. And many of these custom protocols don't have handy packages like net/http to manage all of the TCP connection creation and management.

Today's article is for anyone working directly with TCP connections. This article will discuss maintaining healthy TCP sessions over long…

Benjamin Cane

Building payments systems at American Express. Author (https://amzn.to/3kuCFpz). Open-source contributor (https://github.com/madflojo).