90b62b44e49a07c541539127317638d2503b6889
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
refactor(common): 统一Redis连接方式并优化代码结构
- 将 g.Redis("cool").Conn(ctx) 统一改为 Redis.Conn(ctx) 的调用方式
- 在coolconfig中添加ServerList.GetID()方法用于生成服务器唯一标识
- 引入gconv包用于类型转换操作
feat(rpc): 完善ListenFight函数实现集群消息监听
- 新增ListenFight函数,完全对齐ListenFunc
blazing
这是骄阳号开发团队的开源项目,请勿用于商业用途。 在软件开发中,repo、impl、mapper 和 model 是常见的分层架构组件
项目介绍
seer-project
项目结构:
go tool pprof -http :8081 "http://127.0.0.1:9909/debug/pprof/profile"
go tool pprof -http :8081 "http://202.189.15.67:62672/debug/pprof/profile" go tool pprof -http :8081 "http://8.162.8.203:9909/debug/pprof//profile" go tool pprof -http :8081 "http://8.162.23.87:9910/debug/pprof//profile" go tool pprof -http :8081 "http://61.147.247.7:36855/debug/pprof/profile" go tool pprof -http :8081 "http://61.147.247.7:43892/debug/pprof/profile"
采样 60 秒的 CPU 数据,然后通过 HTTP 8081 端口可视化
go tool pprof -http :8081 "http://61.147.247.7:43892/debug/pprof/profile?seconds=300" 详情查看 文档
Description
Languages
GO
100%