Posted in

【生产环境Go并发事故复盘】:一次误用select default导致订单丢失的完整根因分析(含goroutine dump时间线)

第一章:Go并发编程的核心模型与 … 【生产环境Go并发事故复盘】:一次误用select default导致订单丢失的完整根因分析(含goroutine dump时间线)Read more

Posted in

Go channel面试题死亡四问:关闭已关闭channel、向关闭channel发送、select default分支、nil channel行为全验证

第一章:Go channel面试 … Go channel面试题死亡四问:关闭已关闭channel、向关闭channel发送、select default分支、nil channel行为全验证Read more

Posted in

Go test -race报告竞态却结果稳定?Data Race Detector漏检的3种无锁模式(atomic.Value + sync.Map + channel select)导致的伪稳定假象

第一章:Go test -rac … Go test -race报告竞态却结果稳定?Data Race Detector漏检的3种无锁模式(atomic.Value + sync.Map + channel select)导致的伪稳定假象Read more

Posted in

Go channel关闭后仍能接收?从hchan结构体、recvq阻塞队列清理时机到select default分支竞争条件的汇编级解析

第一章:Go channel关闭 … Go channel关闭后仍能接收?从hchan结构体、recvq阻塞队列清理时机到select default分支竞争条件的汇编级解析Read more

Posted in

Golang channel select超时分支永远不执行?揭秘编译器优化下select case reordering导致的超时逻辑坍塌

第一章:Golang chann … Golang channel select超时分支永远不执行?揭秘编译器优化下select case reordering导致的超时逻辑坍塌Read more

Posted in

Golang channel超时等待的3种写法性能对比:select+time.After vs time.Timer vs ticker,基准测试数据全公开

第一章:Golang chann … Golang channel超时等待的3种写法性能对比:select+time.After vs time.Timer vs ticker,基准测试数据全公开Read more