How good is Subversion at storing lots of binary files? [closed]

In my previous company we setup Subversion to store CAD files. Files upto 100 MB were stored in Subversion. If many people ‘add’ big files to Subversion webserver can be a bottleneck. However, incremental commits were perfectly ok.

Subversion stored ‘binary delta’. In fact, on server side, binary and text files are treated exactly same in storing the ‘delta’. Check “binary delta encoding improvements’ section on page http://subversion.tigris.org/svn_1.4_releasenotes.html. It explicitly says “Subversion uses the xdelta algorithm to compute differences between strings of bytes” (and not strings of ‘characters’).

Just for experiment, I stored the 10 version of CAD (CATIA part file). Each version I made minor modifications to part and then check the serverside repository size. The total size was about 1.2x for about 10 revision (x – being the original file size).

Remember to set svn:needs-lock property. In my experience, Best way is to use ‘auto props’ to set the svn:needs-lock based on file extension.

Leave a Comment