Git Product home page Git Product logo

Comments (4)

linyacool avatar linyacool commented on August 31, 2024

muduo是个入门级的网络库,我写的是个HTTP服务器,如果说通用的改进,可以参考nginx做了哪些事情就好了

from webserver.

wangsen1994 avatar wangsen1994 commented on August 31, 2024

from webserver.

linyacool avatar linyacool commented on August 31, 2024

你好,麻烦问一下。你在测试你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.

wangsen1994 avatar wangsen1994 commented on August 31, 2024

from webserver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.