Is branching in Vault lazy?
Moderator: SourceGear
Is branching in Vault lazy?
By "lazy," I mean that the branched files are only actually duplicated once a change is made on the branch. This lends itself well to frequent branches (perhaps even bug-specific branches). So...yeah, is the branching in Vault lazy, or is it basically the same way SS does it?
Thanks in advance.
Thanks in advance.
Something to keep in mind is that although branches are pretty light-weight in the database, they do cause your repository tree structure to grow, and this new structure data must be sent to the clients. If you have clients connecting to servers over slow links, you'll probably want to try to keep your tree size from growing by large amounts often.
Shaw Terwilliger
SourceGear LLC
`echo sterwill5sourcegear6com | tr 56 @.`
SourceGear LLC
`echo sterwill5sourcegear6com | tr 56 @.`
-
- Posts: 153
- Joined: Tue Jan 20, 2004 2:28 am
- Location: PDC, Copenhagen Denmark
- Contact:
I am sure this will become a major performance issue for us. We already suffer from large cache files (>20MB). I can tell you that it is not nice to wait for the synchronization of the repository structure on a slow (<1Mbit/s) WAN line.
So far we have not branched a single release, but I imagine that we someday will have at least 10 complete branches. I believe this will increase the cache 11 times. This is not nice, especially considering that I practically never need the structure of the released branches.
I think it would be a good idea not to have the structure of cloaked files cached. Or at least only update that part when really needed.
So far we have not branched a single release, but I imagine that we someday will have at least 10 complete branches. I believe this will increase the cache 11 times. This is not nice, especially considering that I practically never need the structure of the released branches.
I think it would be a good idea not to have the structure of cloaked files cached. Or at least only update that part when really needed.
Thomas Linder Puls
Visual Prolog www.visual-prolog.com
Visual Prolog www.visual-prolog.com
-
- Posts: 153
- Joined: Tue Jan 20, 2004 2:28 am
- Location: PDC, Copenhagen Denmark
- Contact:
If what you branch is >30.000 files then I can assure you that it matters.
Anyway we have decided that the performance of Vault with many files (>100.000) in the repository is not satisfactory, so we no longer use Vault for our test suite (which is the one uses many files).
If you like I can send you our test suite, then you can add it to Vault and see the performance yourself (that is if you can add it at all, I had to add it in several smaller chunks).
Anyway we have decided that the performance of Vault with many files (>100.000) in the repository is not satisfactory, so we no longer use Vault for our test suite (which is the one uses many files).
If you like I can send you our test suite, then you can add it to Vault and see the performance yourself (that is if you can add it at all, I had to add it in several smaller chunks).
Thomas Linder Puls
Visual Prolog www.visual-prolog.com
Visual Prolog www.visual-prolog.com
-
- Posts: 153
- Joined: Tue Jan 20, 2004 2:28 am
- Location: PDC, Copenhagen Denmark
- Contact:
Hi Dan, now you have had the files for long time. So it would be interesting to hear:
Is the performance on these matters (significantly) better in Vault 3.0?
By the way when is 3.0 released?
- What is the performance effect of branching >30.000 files?
- Try locking >30.000 files. What influence does it have on performance (especially logon time)? Notice the size of your cache files.
Is the performance on these matters (significantly) better in Vault 3.0?
By the way when is 3.0 released?
Thomas Linder Puls
Visual Prolog www.visual-prolog.com
Visual Prolog www.visual-prolog.com