GithubHelp home page GithubHelp logo

HTTP短连接连接池? about saber HOT 2 CLOSED

swlib avatar swlib commented on May 22, 2024
HTTP短连接连接池?

from saber.

Comments (2)

twose avatar twose commented on May 22, 2024

@chaiyanlin
不支持keep-alive肯定是要重连的啊, tcp连接会在请求响应结束后就断掉的, 脱离长连接谈性能谈连接池就是耍流氓啊...建议你看看HTTP协议和TCP知识...不管是HTTP1.1长连接还是HTTP2还是websocket还是常驻内存的运行方式, 都是突出了一个概念: 复用...据我所知世界上没有短连接的连接池...必须短连接还想提高性能, 相当于既要马儿跑, 又要马儿不吃草...

from saber.

chaiyanlin avatar chaiyanlin commented on May 22, 2024

from saber.

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.