Re: Slow repo-browser on svn+ssh. Persistent SSH connections?

Stefan Küng <[email protected]>
Newsgroups gmane.comp.version-control.subversion.tortoisesvn.devel
Message-ID <[email protected]>
On 01.07.2016 19:53, dpotter wrote:
> Hi!
>
> Like some others before me, I am experiencing very slow performance with the repo-browser against svn+ssh repositories.
>
> The issue seems to arise from the combination of two factors:
>  - The repo-browser requires a lot of connections - between 6 and 15, depending upon settings.
>  - Authentication of each ssh connection is slow - around 2 seconds each (even though performance after authentication is fast).
>
> I understand that TSVN must make multiple calls to the library to gather the data required for the repo-browser.
>
> Does the apache subversion library support the concept of a persistent ssh connection that can be re-used across multiple API calls?   If so, how difficult would it be to modify TSVN to use that approach?

No, there is no way to re-use the connections since all svn_client_* 
APIs don't have the ability to pass an existing connection to them for 
re-use.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=3177735

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.