Concurrent Map
===
適用于讀寫都很頻繁的情況

吧大的鎖拆分成小的鎖,降低了沖突的概率
### 第三方庫:
[https://github.com/orcaman/concurrent-map](https://github.com/orcaman/concurrent-map)
[https://github.com/fanliao/go-concurrentMap](https://github.com/fanliao/go-concurrentMap)
感覺都有點....
### 鎖的性能影響
- 減少鎖影響的范圍
- 減少發生鎖沖突的概率
- sync.Map
- ConcurrentMap
- 避免鎖的使用
- Hello World
- UDP
- UDP服務端
- UDP客戶端
- UDP廣播
- 錯誤處理
- 編寫好的異常處理
- panic和recover
- 并發編程
- Hello Goruntine
- 共享內存并發機制
- RWMutex
- CSP并發機制
- 多路復用和超時控制
- 通道關閉與廣播
- Context與任務的取消
- 只運行一次
- 按需任意任務完成
- 所有任務完成
- 補充:range channel注意實現
- 對象池
- sync.Pool臨時對象池
- 單元測試
- 表格測試法
- Banchmark
- BDD
- 反射
- 利用反射編寫靈活的代碼
- Struct Tag
- 萬能程序
- 常用架構模式
- Pipe-filter pattern
- Micro Kernel
- 性能分析
- 高性能代碼
- sync.MAP分析
- Concurrent Map
- GC友好的代碼
- Uber開發風格規范