Skip to content

Commit

Permalink
Update README_zh_cn.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wlgq2 authored Oct 24, 2019
1 parent 9f9481d commit 9c9f684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README_zh_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* `Timer``TimerWheel`:定时器及时间复杂度为O(1)的心跳超时踢出机制。
* `Async`:异步机制封装。相对于原生libuv async接口,优化了调用多次可能只运行一次的问题。由于libuv几乎所有api都非线程安全,建议使用writeInLoop接口代替直接write(writeInLoop会检查当前调用的线程,如果在loop线程中调用则直接write,否则把write加到loop线程中执行)。
* libuv信号封装。
* `Packet``PacketBuffer`:包与缓存,发送/接受包,用于解决TCP残包/粘包问题,由ListBuffer和CycleBuffer两种实现,可通过宏配置(前者空间友好,后者时间友好)。提供默认Packet包协议,可实现自定义包协议(参考[uvnsq][1]实现NSQ消息协议)。
* `Packet``PacketBuffer`:包与缓存,发送/接受包,用于解决TCP残包/粘包问题,由ListBuffer和CycleBuffer两种实现,可通过宏配置(前者空间友好,后者时间友好)。提供默认Packet包协议,可实现自定义任意包协议(参考[uvnsq][1]实现NSQ消息协议)。
* Log日志输出接口,可绑定至自定义Log库。
** **
## 简单性能测试
Expand Down

0 comments on commit 9c9f684

Please sign in to comment.