程序员茄子
全部
编程
代码
资讯
案例
综合
联系我们
OTA 相关技术文章
php
mysql
shell
go
vue
css
api接口对接
支付接口对接
Go 1.27 goroutine 泄漏剖析:用 GC 可达性找出永久阻塞的 goroutine
编程
Go 1.27 goroutine 泄漏剖析:用 GC 可达性找出永久阻塞的 goroutine
2026-10-11 21:01:23
Go 1.27 把 goroutineleak 做成正式 pprof profile:借 GC 的可达性计算,找出永久阻塞在 channel 或 sync 原语上的 goroutine。本文给出 /debug/pprof/goroutineleak 的 curl + go tool pprof 用法、五步检测原理,以及它的局限:阻塞在仍可达原语上的泄漏检测不到。
Go
goroutine
pprof
性能
运行时
runtime/pprof
es
net/http
服务
ST
sync
Log
goroutine leak
PR
OTA
url
类型
Bug
Dev
in
func
IM
type
Profiler
把数据库 schema 当代码管:Atlas 的声明式与版本化迁移怎么选
编程
把数据库 schema 当代码管:Atlas 的声明式与版本化迁移怎么选
2026-10-11 00:03:47
数据库 schema 靠手写 ALTER TABLE 会漂移、删列没人拦。以 Atlas(ariga/atlas)为例拆解 Schema-as-Code 的两条工作流:声明式(schema apply 定义期望状态、破坏性变更被拒)与版本化(migrate diff/lint/apply 生成可审阅迁移文件),以及 atlas.sum 完整性、CI lint 能拦下的表锁与并发索引问题。<|end▁of▁thinking|>
Schema-as-Code
数据库迁移
Atlas
MySQL
Go
运维
Terra
ble
ql
计算
Base
OTA
声明式
版本
代码
团队
The
Management
ALTER
TABLE
Android A/B 与 Virtual A/B 更新机制的工程笔记:槽位状态机、boot_control 流程与调试命令
编程
Android A/B 与 Virtual A/B 更新机制的工程笔记:槽位状态机、boot_control 流程与调试命令
2026-08-31 00:04:21
拆解 Android A/B(seamless)升级的恢复机制:双槽位、boot_control HAL、slot-successful/unbootable/retry-count 状态机、失败回滚逻辑,以及 Virtual A/B 的 snapshot 与 snapuserd 合并流程和 bootctl/fastboot 调试命令。
a
b
recovery
Android
A
B
Virtual
OTA
bootctl
大家都在搜索什么?
devops
易支付
一个官网+多少钱
统一接受回调
统一回调
python
sub
node
宝塔日志
mysql
shell
ElasticSearch
css
vue
api接口对接
2025
支付接口对接
go
php
php回调