Go很适合用来开发高性能网络应用,但仍然需要借助有效的工具进行性能分析,优化代码逻辑。本文介绍了如何通过go test benchmark和pprof进行性能分析,从而实现最优的代码效能。原文: Profiling Go Applications in the Right Way with Examples…
前置:
管理docker容器的工具
Portainer: Container Management Software for Kubernetes and Docker
https://docs.portainer.io/v/ce-2.9/start/install/server/docker/linux
官网安装教程
Install Portainer CE with Docker on Linux - Portainer Documentat…