golang 随笔

evnet - An event-driven networking framework forked from gnet

事件-线程/协程调用链

evnet性能强于net原生库的原理

  1. 从net包goroutine-per-connection同步模式编程

注意点

  1. 对系统资源的释放.Fd, buffer.
  2. 粘包/拆包

启发

  1. 围绕交付物的核心
Licensed under CC BY-NC-SA 4.0
Built with Hugo
Theme Stack designed by Jimmy