# TinyHttpWebServerBaseLinux **Repository Path**: flameH001/tiny-http-web-server-base-linux ## Basic Information - **Project Name**: TinyHttpWebServerBaseLinux - **Description**: Linux下C++轻量级Web服务器: 使用 线程池 + 非阻塞socket + epoll(ET和LT均实现) + 事件处理(Reactor和模拟Proactor均实现) 的并发模型 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-09-01 - **Last Updated**: 2021-09-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # TinyHttpWebServerBaseLinux #### 介绍 Linux下C++轻量级Web服务器: 使用 线程池 + 非阻塞socket + epoll(ET和LT均实现) + 事件处理(Reactor和模拟Proactor均实现) 的并发模型 #### 软件架构 软件架构说明 #### 安装教程 1. 打开tiny-http-web-server-base-linux,运行里面的a.out文件+端口号,运行服务器 ./a.out 10000 2. xxxx 3. xxxx #### 使用说明 1. 进行压力测试,进入test_presure/webbench-1.5文件夹中,运行webbench格式为: ./webbench -c 10000 -t 5 http://192.168.75.28:10000/index.html -c 客户端的数量 -t 时间 原理:webbench首先fork出多个子进程,每个子进程都循环做web访问测试,子进程把访问的结果通过pipe告诉父进程,父进程做出最终统计结果 2. xxxx 3. xxxx #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)