Giter VIP home page Giter VIP logo

Comments (5)

chuanhhoang avatar chuanhhoang commented on June 11, 2024

Any help for this?

from req.

imroc avatar imroc commented on June 11, 2024

Sorry for the late response, for now, the connection pool cannot be shared between multiple clients. If you want to support connection pool sharing, there are many things to consider. I will not consider it for now. I've memorized this scenario to see if it's possible to support it in the future

from req.

chuanhhoang avatar chuanhhoang commented on June 11, 2024

Hi @imroc
What if I modify the code just clone the http client except for Transport? Would there be anything broken?

from req.

gospider007 avatar gospider007 commented on June 11, 2024

很抱歉响应晚了,目前,连接池无法在多个客户端之间共享。如果要支持连接池共享,需要考虑许多事项。我暂时不会考虑它。我已经记住了这个场景,看看将来是否有可能支持它

请问连接池在多线程下是并发安全的吗?我看您这句话的意思是不安全的,不知道我的理解是否正确

from req.

imroc avatar imroc commented on June 11, 2024

请问连接池在多线程下是并发安全的吗?我看您这句话的意思是不安全的,不知道我的理解是否正确

同一个client并发创建多个请求是并发安全的,这里说的跟并发安全无关

from req.

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.