[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

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

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sun, 3 Jul 2016 17:01:11 +0200

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: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2016-07-03 17:01:15 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.