Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 478 Bytes

File metadata and controls

32 lines (22 loc) · 478 Bytes

happy_net

一个基于协程的网络框架

框架目前定位

version :1.0

拓展性:

  1. 可模块化(暂不)

内存分配:

  1. 使用 stl allocator
  2. 暂不使用内存池
  3. 暂不使用 slab 机制

网络 I/O 多路复用:

  1. epoll
  2. 边沿触发

进程模型:

  1. 多进程,单master进程,多个worker进程

协议指定:

  1. 灵活可拓展,为日后 http, pb 留有后路

配置:

  1. 暂时写死

语言:

  1. C++
  2. 暂时不支持 Lua