# WebServer_Improved **Repository Path**: H-force/web-server-improved ## Basic Information - **Project Name**: WebServer_Improved - **Description**: 结合开源项目web服务器以及各类优秀博客对此项目进行改进,希望能实现性能上的提升。 - **Primary Language**: C++ - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-06-24 - **Last Updated**: 2024-03-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # webserver ## 编译要求 - ubuntu 22.04 - MySQL库:sudo apt-get install libmysqlclient-dev - gcc - mysql ## 压力测试: `webbench -c 10500 -t 5 http://192.168.150.134:10001/` 同步日志+监听LT+连接ET ![alt text](stress-test/image.png) > 8555QPS 异步日志+监听LT+连接ET ![alt text1](stress-test/image1.png) > 7269QPS 异步日志+监听LT+连接ET+时间轮 ![alt text](stress-test/image2.png) > 7843QPS ## Improved List 1. 时间轮优化定时器的插入删除效率(OK) 2. TLS内存池优化内存利用效率 3. 支持文件下载和上传功能 ## TODO 利用docker进行环境构建