nickva commented on issue #3308:
URL: https://github.com/apache/couchdb/issues/3308#issuecomment-860778557


   > I am not able to understand this, not an expert on this matter. Are you 
suggesting that few steps of replication can be combined onto a single 
connections ?
   
   Exactly! That's how connection sharing works. After the TCP connection is 
established to a host, port, SSL session is setup, it can be reused for 
multiple requests:
   
   *  `Connect to 192.168.1.1:443 + do the SSL handshake...`
      * `GET /mydb  ...`
      * `GET /mydb/_local/doc ...`
   
   The time to connect and do the SSL handshake can be expensive, so instead of 
tearing down the connection and making a new one every time, it can be re-used. 
Some client libraries can do this too, for example with requests is may look 
like: https://docs.python-requests.org/en/master/user/advanced/
   
   
      


-- 
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.

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


Reply via email to