linw7/TKeed
linw7/TKeed has 623 GitHub stars and 181 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-25 08:43 UTC. Last push 2018-02-07.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
소개
🌎 고성능 HTTP 웹 서버
웹 및 앱README.md
OriginalTKeed WebServer
TKeed is a high performance HTTP WebServer uses the Reactor model. Code normative and functional scalability are close to the industry level. The project will be updated until feature have been completed. Have a fun. SYSU, TeeKee.

Dev Document
| Part Ⅰ | Part Ⅱ | Part Ⅲ | Part Ⅳ | Part Ⅴ | Part Ⅵ | Part Ⅷ | Part Ⅸ | Part Ⅹ |
|---|---|---|---|---|---|---|---|---|
| 项目目的 | 并发模型 | 核心结构 | 整体架构 | 主要函数 | 遇到的困难 | 测试及改进 | 背景知识 | 使用教程 |
Dev Environment
Dev Tool
操作系统:Ubuntu 16.04
编辑器:Sublime + Vim
编译器:gcc 5.4.0
单元测试:gtest
版本控制:git
代码结构:Understand + callgraph
集成环境:Clion
Other
Timeline
Now
v1.0已经完成,本地已调试通过。提交到GitHub上的代码会由Travis自动构建。
特性:
添加Timer定时器,定时回调handler处理超时请求
高效的小根堆结构
惰性删除方式
实现了HTTP长连接传输数据
非阻塞I/O
epoll边缘触发模式(ET)
线程池操作及其同步互斥管理
调度选项
队列式FIFO调度模式
加入优先级的优先队列 (+)
使用状态机解析HTTP协议,非简单字符串匹配方式解析请求
v1.1修改了CPU负载较高问题,修改后1000并发各线程(4worker)CPU使用率10%左右。
Feature
v2.0实现Json解释器解析配置
v3.0实现FastCGI(功能扩展)
v4.0实现服务器缓存(性能加速)
v5.0实现反向代理(安全性及负载均衡)
관련 프로젝트 살펴보기
불러오는 중…