0
点赞
收藏
分享

微信扫一扫

一个轻量级 http server 技术选型



  csdn lidp ​


打算业余时间写个 轻量级的http server,权当学习http 协议

 simple architecture 

for high performance we :
1. use EPOLL for io event trigger , ET or LT ?
2. use master- worker  multi process mode, fork, fork ,fork.
3. use linux sendfile or  linux aio  for io backend.
4. support ipv4 and ipv6.

5. the server is configurable with one conf file.


more :

use final state machine (FSM)manager session ?

use memory pool ?


举报

相关推荐

0 条评论