Login | Register
My pages Projects Community openCollabNet

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

Project highlights: :. Download .: :. Support .: :. FAQ .: :. Translations .: :. Donate .: :. Report Bug .:

tortoisesvn
Discussion topic

Back to topic list

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

Author steveking
Full name Stefan Küng
Date 2016-07-03 08:01:07 PDT
Message 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

« Previous message in topic | 2 of 2 | Next message in topic »

Messages

Show all messages in topic

Slow repo-browser on svn+ssh. Persistent SSH connections? dpotter dpotter 2016-07-01 10:53:39 PDT
     Re: Slow repo-browser on svn+ssh. Persistent SSH connections? steveking Stefan Küng 2016-07-03 08:01:07 PDT
Messages per page: