How to enable data compression between server and client?

1,089 views
Skip to first unread message

Seak, T. F.

unread,
Jun 3, 2010, 8:28:40 AM6/3/10
to us...@tortoisesvn.tigris.org
I've heard that it's possible to have data compression between server and client, ie TortoiseSVN.

I've gone through every setting in TSVN. Nothing really matches compression. Then I've searched "compression" through the whole HELP file. Still nothing, no mention.

Is data compression a rumour/myth? Or am I missing something?

TIA

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

To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].

Andy Levy

unread,
Jun 3, 2010, 11:25:59 AM6/3/10
to us...@tortoisesvn.tigris.org
On Thu, Jun 3, 2010 at 08:28, Seak, T. F. <lapsa...@gmail.com> wrote:
> I've heard that it's possible to have data compression between server and client, ie TortoiseSVN.

I've heard that the earth is only 6000 years old. It pays to check
your sources (and when posting here, cite them).

> I've gone through every setting in TSVN.  Nothing really matches compression.  Then I've searched "compression" through the whole HELP file.  Still nothing, no mention.
>
> Is data compression a rumour/myth?  Or am I missing something?

Why do you believe it's not already done?

Any compression is server-dependent. If the server doesn't support it,
there's no sense in a client doing anything.

Anything sent over the wire is already optimized, for example only
sending diffs instead of whole files.

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

Simon Large

unread,
Jun 4, 2010, 3:18:35 AM6/4/10
to us...@tortoisesvn.tigris.org
On 3 June 2010 13:28, Seak, T. F. <lapsa...@gmail.com> wrote:
> I've heard that it's possible to have data compression between server and client, ie TortoiseSVN.
>
> I've gone through every setting in TSVN.  Nothing really matches compression.  Then I've searched "compression" through the whole HELP file.  Still nothing, no mention.
>
> Is data compression a rumour/myth?  Or am I missing something?

You're missing the fact that TortoiseSVN is a client which uses the
Subversion libraries. Communication between server and client is done
using the library, as is all handling of the working copy. TortoiseSVN
only provides an option when Subversion offers one. Why would anyone
want to turn over-the-wire compression off?

If you want to ask questions about the internals of Subversion you
need to ask on the subversion users list instead.

Simon

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

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

Seak, T. F.

unread,
Jun 4, 2010, 10:02:01 AM6/4/10
to us...@tortoisesvn.tigris.org
> I've heard that the earth is only 6000 years old. It pays to check
> your sources (and when posting here, cite them).

I can't find back the original pages I had seen, but after a little search on Google, I got this one as an example:

http://stackoverflow.com/questions/2655376/http-compression-can-i-configure-a-client-to-compress-the-data-sent-to-a-server

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

Seak, T. F.

unread,
Jun 4, 2010, 10:11:49 AM6/4/10
to us...@tortoisesvn.tigris.org
> You're missing the fact that TortoiseSVN is a client which uses the
> Subversion libraries. Communication between server and client is done
> using the library, as is all handling of the working copy. TortoiseSVN
> only provides an option when Subversion offers one. Why would anyone
> want to turn over-the-wire compression off?

So TSVN already supports compression through SVN libraries support. Is that what you mean?

And all I need is to make sure the SVN server, which is Visual SVN server in my case, is sending compressed data, right?

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

Andy Levy

unread,
Jun 4, 2010, 11:04:27 AM6/4/10
to us...@tortoisesvn.tigris.org
On Fri, Jun 4, 2010 at 10:02, Seak, T. F. <lapsa...@gmail.com> wrote:
>> I've heard that the earth is only 6000 years old. It pays to check
>> your sources (and when posting here, cite them).
>
> I can't find back the original pages I had seen, but after a little search on Google, I got this one as an example:
>
> http://stackoverflow.com/questions/2655376/http-compression-can-i-configure-a-client-to-compress-the-data-sent-to-a-server
>

But Subversion isn't even mentioned on that page - the link is
irrelevant to the topic at hand.

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

Simon Large

unread,
Jun 4, 2010, 11:39:35 AM6/4/10
to us...@tortoisesvn.tigris.org
On 4 June 2010 15:11, Seak, T. F. <lapsa...@gmail.com> wrote:
>> You're missing the fact that TortoiseSVN is a client which uses the
>> Subversion libraries. Communication between server and client is done
>> using the library, as is all handling of the working copy. TortoiseSVN
>> only provides an option when Subversion offers one. Why would anyone
>> want to turn over-the-wire compression off?
>
> So TSVN already supports compression through SVN libraries support.  Is that what you mean?
>
> And all I need is to make sure the SVN server, which is Visual SVN server in my case, is sending compressed data, right?

I'm pretty sure compression is used. And as I said, if you want to
know how subversion client and server communicate under the hood then
ask on the subversion users list, not this one.

Simon

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

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

Seak, T. F.

unread,
Jun 10, 2010, 8:34:32 AM6/10/10
to us...@tortoisesvn.tigris.org
> But Subversion isn't even mentioned on that page - the link is
> irrelevant to the topic at hand.

Do a search on the keyword "svn", if you can't spot it in the page

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

Seak, T. F.

unread,
Jun 11, 2010, 2:44:04 PM6/11/10
to us...@tortoisesvn.tigris.org
> I'm pretty sure compression is used. And as I said, if you want to
> know how subversion client and server communicate under the hood then
> ask on the subversion users list, not this one.

Just for the record:
I have asked in Apache Subversion mailing-list as well as to VisualSVN's contact about this question. Both confirmed to me that delta protocol already has compression in it.

I think this pretty much is enough to close this discussion.

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

Reply all
Reply to author
Forward
0 new messages