Why we should get rid of average CPU utilization

A Go function in our application kept getting cancelled in production. The function had a tight timeout. The same code ran fine in our development setups, in our CI and CD pipelines, in every integration test we had. In production it would sometimes blow past the timeout and die with context deadline exceeded . What made it worse was the state machine library 1 we used. When its context got…