WebServer:C ++ Linux Web服务器服务器

时间:2021-03-19 02:02:09
【文件属性】:
文件名称:WebServer:C ++ Linux Web服务器服务器
文件大小:38.87MB
文件格式:ZIP
更新时间:2021-03-19 02:02:09
C++ 网络服务器 用C ++实现的高性能WEB服务器,通过webbenchh压力测试可以实现上万的QPS 功能 利用IO复合技术Epoll与线程池实现多线程的React器高并发模型; 利用正则与状态机解析HTTP请求报文,实现处理静态资源的请求; 利用标准库容器封装char,实现自动增长的边界; 基于小根堆实现的计时器,关闭超时的非活动连接; 利用单例模式与双向同步实现异步的日志系统,记录服务器运行状态; 利用RAII机制实现了数据库连接池,减少了数据库连接建立与关闭的开销,同时实现了用户注册登录功能。 增加logsys,threadpool测试单元(待办事项:计时器,sqlconnpool,httprequest,httpresponse) 环境要求 Linux C ++ 14 的MySql 目录树 . ├── code 源代码 │ ├── buffer │   ├─
【文件预览】:
WebServer-master
----readme.md(2KB)
----test()
--------test.cpp(1KB)
--------readme.md(12B)
--------Makefile(341B)
----resources()
--------css()
--------images()
--------error.html(3KB)
--------404.html(3KB)
--------fonts()
--------login.html(3KB)
--------picture.html(4KB)
--------index.html(3KB)
--------js()
--------400.html(3KB)
--------403.html(3KB)
--------video.html(3KB)
--------405.html(3KB)
--------register.html(3KB)
--------video()
--------welcome.html(3KB)
----LICENSE(11KB)
----code()
--------log()
--------server()
--------config()
--------pool()
--------readme.md(6B)
--------http()
--------main.cpp(537B)
--------timer()
--------buffer()
----.gitignore(82B)
----Makefile(37B)
----readme.assest()
--------压力测试.png(38KB)
----webbench-1.5()
--------socket.c(1KB)
--------Makefile(1KB)
--------webbench.c(11KB)
----build()
--------Makefile(350B)

网友评论