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

Re: [Subclipse-users] Scalability problems with svnClientAdapter API

From: Mark Phippard <markphip_at_gmail.com>
Date: Wed, 18 Feb 2009 14:13:17 -0500

On Wed, Feb 18, 2009 at 2:00 PM, Bharat Khatri
<bkhatri9_at_rockwellcollins.com> wrote:
>
> I'm using the svnClientAdapter API with JavaHL client. I'm making some API
> calls to get some information for a group of files in a repository (using a
> for loop so that API calls for each file are made one by one using the same
> ISVNClientAdapter object). This works fine with a small number of files. But
> when the number of files goes into a few thousand, things start to fail and
> I get the SVNClientException saying: "RA layer request failed on <full file
> path>. Could not connect to server ("http://mysvn")
>
> Why is this happening ? Is each API call opeing a new connection to the
> repository server, and hence failing when no new connection can be created ?
> What can I do to make this work ?

As long as you are only creating one ISVNClientAdapter, which seems to
be the case, there is not much else you can do. There are no other
knobs exposed to you to control behavior.

Have you tried using the getList method instead? This has a recurse
option and can return everything in one roundtrip.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=1187660
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2009-02-18 20:13:27 CET

This is an archived mail posted to the Subclipse Users mailing list.

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