Comments (4)
muduo是个入门级的网络库,我写的是个HTTP服务器,如果说通用的改进,可以参考nginx做了哪些事情就好了
from webserver.
from webserver.
你好,麻烦问一下。你在测试你webserver项目时,短链接是怎样测试的,是否是服务器发送完回复之后就主动关闭连接?我根据muduo改的与你类似的服务器,在本地虚拟机上测试,并发量只有你的服务器的一半,检查了CPU与内存都没有达到限制。
…
---原始邮件--- 发件人: "林亚"[email protected] 发送时间: 2019年4月27日(星期六) 上午9:50 收件人: "linyacool/WebServer"[email protected]; 抄送: "Author"[email protected];"senwang"[email protected]; 主题: Re: [linyacool/WebServer] 想请问一下对于你写的服务器或者muduo来说,还可以怎样改进 (#9) muduo是个入门级的网络库,我写的是个HTTP服务器,如果说通用的改进,可以参考nginx做了哪些事情就好了 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
短连接我改过代码,一次请求结束就关闭连接
from webserver.
from webserver.
Related Issues (20)
- wenbench测试问题 HOT 7
- CountDownLatch类相关
- mutexlock类的析构函数 HOT 1
- muduo的测试代码 HOT 1
- 如何在两台电脑直接可以测试呢
- runinloop问题 HOT 1
- Directory traversal.
- 开启了服务器之后 每次连接就Segmentation fault (core dumped) HOT 2
- 测试出现问题
- ./WebServer时显示WebServer是一个目录 HOT 1
- old_version0.1中的request->seperateTimer HOT 1
- 怎么没人问这个 HOT 1
- 客户端的代码
- 小白求问,为什么这个是ET模式 HOT 1
- 版本1使用webbench测试出现问题 HOT 2
- Build的权限不够是怎么回事呢 HOT 1
- 在HttpData::analysisRequest()中,有一个用于测试的路由结点/hello
- 面试问题打不开
- bash: ./WebServer: Is a directory HOT 1
- ./Webserver set socket non block failed: Bad file descriptor HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webserver.