lhotari opened a new pull request #14841:
URL: https://github.com/apache/pulsar/pull/14841


   ### Motivation
   
   The general reasons to use TCP/IP keepalive are explained in 
https://tldp.org/HOWTO/TCP-Keepalive-HOWTO/overview.html .
   
   @dlg99 pointed out some time ago that Pulsar proxy doesn't use TCP/IP 
keepalive . It's a valid point and I think it's worth investigating whether 
there would be a benefit in using TCP/IP keepalive in Pulsar.
   
   In Pulsar, there is an application level keepalive solution that should take 
care of closing idling connections. That's why TCP/IP keepalive shouldn't be 
needed. 
   
   I have created this PR to open the discussion whether we should also use 
TCP/IP level keepalive and when that would be useful.
   
   ### Modifications
   
   - Enable TCP/IP keepalive on the server side for broker, proxy and proxy 
extensions.
   - Enable TCP/IP keepalive in the client.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to