`
jiagou
  • 浏览: 2525846 次
文章分类
社区版块
存档分类
最新评论

一个轻量级 http server 技术选型

 
阅读更多


csdn lidp http://blog.csdn.net/perfectpdl


打算业余时间写个 轻量级的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 ?


分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics