You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Connection#isValid, if the connection exceeds the maximum idle time, it will be closed. Why don't we provide a keep-alive heartbeat request? This would allow us to maintain a fixed-size connection pool for a longer period, avoiding the overhead and latency of rebuilding connections due to sudden traffic spikes.
The text was updated successfully, but these errors were encountered:
The server employs TCP keep-alive to keep sockets active and detect dead sockets. At the time, it was decided that adding TCP keep-alive on the client was redundant. We are considering adding TCP keep-alive on the client in the future.
The server employs TCP keep-alive to keep sockets active and detect dead sockets. At the time, it was decided that adding TCP keep-alive on the client was redundant. We are considering adding TCP keep-alive on the client in the future.
Although TCP has a keep-alive mechanism, the connection may still be closed by the server if no requests are sent for a long time. If there is a heartbeat request, this issue will not occur
In
Connection#isValid
, if the connection exceeds the maximum idle time, it will be closed. Why don't we provide a keep-alive heartbeat request? This would allow us to maintain a fixed-size connection pool for a longer period, avoiding the overhead and latency of rebuilding connections due to sudden traffic spikes.The text was updated successfully, but these errors were encountered: