Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

Vinllen Chen


烛昭

go sync.Map存在bug

go的sync.Map有bug,并发量大的时候读取,已经store的数据,Load显示不存在,被这个坑搞了一天。改为读写锁加持的普通map解决了。具体原因不明。


About the author

vinllen chen

Beijing, China

格物致知


Discussions

comments powered by Disqus