Slow...can we bypass the web service?
Moderator: SourceGear
Slow...can we bypass the web service?
Hello,
I'm a little concerned (first look) that this is slower then VSS. I use an intranet so I don't know why I need to go through a web service if it may be faster with a direct connect mode.
Thoughts?
I'm a little concerned (first look) that this is slower then VSS. I use an intranet so I don't know why I need to go through a web service if it may be faster with a direct connect mode.
Thoughts?
Re: Slow...can we bypass the web service?
If Vault seems slow, we always want to hear more details. Sometimes the problem is simply a configuration issue.neal007 wrote:Hello,
I'm a little concerned (first look) that this is slower then VSS. I use an intranet so I don't know why I need to go through a web service if it may be faster with a direct connect mode.
Thoughts?
No, there is no way to bypass the web service layer. Doing so is unnecessary anyway. The Web Service layer is not the performance problem that you might think.
Eric Sink
Software Craftsman
SourceGear
Software Craftsman
SourceGear
You're using the IDE integration client, then? What version of Vault?neal007 wrote:It seems to be the initialization within VS.NET 2003. I wonder if it's also the app in IIS after not being used is recycling/sleeping, then needs to recompile after not using after XX hours? May be a function of ASP.NET, something VSS doesn't have to deal with.
Eric Sink
Software Craftsman
SourceGear
Software Craftsman
SourceGear
OK, so just to be clear: You're saying it takes a long time to open your solution file? How many projects are in it? How long does it take?neal007 wrote:Version 2.
Vault is running on a Windows 2003 Standard Server. I'm dev'ing on a Windows XP Pro system connecting to Windows 2003 / Vault via 100mbit LAN.
Eric Sink
Software Craftsman
SourceGear
Software Craftsman
SourceGear
Just curious: Do you have folder security turned on for your repository? We found a bug which can slow things down rather badly when this is turned on. (I think the problem will be fixed in 2.0.1, BTW.)neal007 wrote:Sorry, forgot the time you asked for. I'd say 30-60 seconds to load up, when using VSS it was half that or less.
Eric Sink
Software Craftsman
SourceGear
Software Craftsman
SourceGear
OK. In some cases, Vault is faster than VSS. In other cases, it is slower. It looks possible that your usage falls into the latter category.neal007 wrote:Folder security is/was not checked.
There is another thing or two you could check:
Make sure your Vault server is configured NOT to do reverse DNS lookups. Once again, I think this is in the Vault admin tool.
Make sure your VaultService directory is configured for anonymous access.
Eric Sink
Software Craftsman
SourceGear
Software Craftsman
SourceGear
I assume we just changed the subject from "helping you resolve a problem" to "brainstorming the right way to rewrite Vault".neal007 wrote:Okay, I'll check. But wouldn't it make more sense for performance if we directly connected to the SQL Server instead of via a web service? Just wish I didn't have to go through IIS / Web Services to get to my data that's essentially local to my dev computer (via internal LAN).
You suggest moving all of the logic in the Vault server over to the client, which will talk directly to SQL Server. I'll admit that's an interesting set of things to think about, but it's a radically different design.
In any case, remote access is a very important part of Vault, so we would still need the entire HTTP path anyway.
Furthermore, I will maintain my assertion that going through IIS isn't costing very much, although I can't prove that empirically.
BTW, I think the real cost of using IIS is not performance but the hassle of installation and the additional tech support troubles which comes from all the various configuration problems with ASP.NET. All technology choices involve tradeoffs.
Eric Sink
Software Craftsman
SourceGear
Software Craftsman
SourceGear