Repository navigation
High wait time for HTTP2 requests #2455
Replies: 1 comment
|
Got 12 is old. I recommend moving back to |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
We are using
"got-cjs": "^12.5.4"for making HTTP2 request using MTLS to a remote server from our backend. the remote server has a latency of 40-50ms. We have configured custom http2-wrapper agent with the below configWhat I am observing is that when a new session is being created we are observing
timings.phases.waittime ranging from 110ms - 180ms. Now from what I understand the default maxCachedTlsSession is 100, which I assume should help in ensuring that the next time a session is created the cost for TLS handshake will not be paid.What I want to understand is what could be the contributing factors for the wait time. Our request count is roughly 20-40 RPM. Any help or guidance on the reason for this will be very appreciated.
All reactions