Comments (4)
@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.
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.
@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.
@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)
- Metrics not disposed for `GracefulShutdownInstrumentedPool` HOT 1
- non-blocking call delayed accasionally. HOT 2
- Webclient timeout with Httpclient HOT 10
- Support SocketAddress for proxies HOT 2
- Support for changing the default compression level when enabling server response compression HOT 3
- Added configuration to disable dns using TransportConnector HOT 5
- The premature closure of a TCP connection, resulting in the error "Connection prematurely closed BEFORE response," affects another connection. HOT 3
- Need proper documentation for Default ConnectionPool and LoopResource usage with different hosts and/or port HOT 1
- Webclient active connection is struck - Direct buffer memory increase HOT 16
- MonoSend MAX_SIZE and REFILL_SIZE are not configurable HOT 6
- Netty does not provide errorLog just accesLog HOT 1
- http3 Error: connect ECONNREFUSED HOT 3
- Connection prematurely closed BEFORE response Internal timeout HOT 2
- HttpClient.reactorNettyVersion() throws NullPointException when loaded through -javaagent, under jdk 1.8
- The connection observed an error reactor.netty.channel.AbortedException: Connection has been closed HOT 12
- Memory Leak Detected in Netty 4.1.100.Final HOT 7
- io.netty.channel.unix.Errors$NativeIoException: readAddress(..) failed: Connection reset by peer HOT 2
- pendingacquiretimeout is not working as expected HOT 2
- ReadTimeoutException with WebClient During Low Traffic Periods Despite Configuring maxIdleTime HOT 5
- Internal state of HttpObjectDecoder is not reset when connection pooling is used HOT 1
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 reactor-netty.