Go, Timer!
Details of Go Timer with usage examples from Kubernetes
Published in
8 min readMar 30, 2022
Timer
is one of Go’s many ingenious designs. It only exposes a limited number of APIs when implementing single or multiple timing, encapsulating the relatively complex underlying data structures and concurrent operations.
When reading the source code of the Kubernetes scheduler, I learned more about the Go timer’s application…