Git Product home page Git Product logo

Comments (4)

violetagg avatar violetagg commented on June 6, 2024

@Brieux1 You wrote that you did some warmup (several requests), but is it enough to fill the connection pool in order to be ready to handle the load?
Is it possible that with the first run, what you see is actually filling the connection pool i.e. establishing connections to the remote system, while with the second run the connection pool contains already connections ready to handle the load.

from reactor-netty.

Brieux1 avatar Brieux1 commented on June 6, 2024

Thank you for the response.
After some new tests, it appears that if we stop the 1st run after 20sec, then it is sufficient to handle the 2nd run.
Also if we extend the duration of the rampup to 40sec, then the application is able to handle all requests of the 1st run properly.

My misunderstanding was about the connection pool filling that was done during the first seconds of the 1st run (over 3k requests handled) that failed to handle the following requests (of the 1st run).
So at that point, the application can actually handle the load if we can manage to ensure a clean rampup (i.e. ensuring a connection pool filling before routing all the requests to the application).

Do you confirm that there is no possibility to programmatically initialize that connection pool?

from reactor-netty.

violetagg avatar violetagg commented on June 6, 2024

@Brieux1 Currently we do not expose configuration for warm up the connection pool. This is mostly because the load balancer etc. have aggressive idle timeout, so in real production scenario, even if you warm up the connection pool it is highly likely that the idle connections will be close very quickly.

from reactor-netty.

violetagg avatar violetagg commented on June 6, 2024

@Brieux1 I'm going to close this. For the time being there are no plans to expose a warm up functionality for the connection pool having in mind the reasons that I shared above.

from reactor-netty.

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.