As we all know, packet body transmission is an import part of network communication, whether it is the header or body of HTTP packets at the application layer, or the streaming data of TCP at the transport layer.
Last time we talked about graceful shutdown of Go programs, today we will talk about graceful restarts.
From high availability to graceful shutdown/restart, to refinement to program offline/restart, etc. So what can we do in Go? Today let’s talk about the graceful shutdown of go programs.
Middleware often used as a level “security check”, for core components such as request header/request body verification, caching, and current limiting.
The etymology of Gin a strong alcohol, comes from the Netherlands.
之前在Github社区偶然发现一个Go实现的下载器,作为个人学习的一个参照模板,这里要感谢一下作者monkeyWie(网名)的开源项目gopeed-core。
In the last article, we talked about how to initiate a TCP connection in Go, and listed a full-duplex demo. Today, we will talk about connection pool management further.