26.04.2015 Views

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Internet<br />

Internal<br />

TFS <strong>Server</strong><br />

Workstation<br />

TFS Proxy<br />

F<br />

i<br />

r<br />

e<br />

w<br />

a<br />

l<br />

l<br />

TFS Web Services API<br />

<strong>Team</strong> Project Portal<br />

SQL Reporting<br />

Services<br />

SQL <strong>Server</strong><br />

Workstation<br />

AD User<br />

Store<br />

Figure 17.5 TFS Proxy Architecture<br />

The TFS Proxy is not required to enable remote access but is an optional cache for source control<br />

files. To help improve the performance that your remote team experiences, you can install a TFS<br />

Proxy in remote offices that connect to your TFS through a VPN. This improves performance by<br />

caching source control files on the remote office’s proxy server. Whenever the remote client<br />

needs access to source code in the source control repository, it will request the source from the<br />

TFS Proxy. The proxy will then return a local version from its cache if it is available. If the<br />

source is not in the cache, the proxy will request the source from the remote TFS server. This<br />

reduces network traffic and improves source control responsiveness at the remote location.<br />

Tips to improve proxy performance<br />

Consider the following recommendations for improving proxy performance:<br />

• Ensure that caching is enabled, and monitor the performance of your cache. Monitor the<br />

performance counters (installed by default) and event logs (for errors and warnings) on your<br />

proxy server regularly, to see how your proxy is performing. Note that the TFS Proxy saves<br />

cache performance statistics to an Extensible Markup Language (XML) file named<br />

ProxyStatistics.xml, and that you can change the interval for saving these statistics. The<br />

ProxyStatistics.xml file is located in the App_Data folder in the proxy installation directory.<br />

• Run a scheduled task regularly to retrieve the latest files to the proxy server. This helps to<br />

ensure that the latest versions of the files are available in the proxy cache, and that<br />

subsequent client requests for these files result in a cache hit.<br />

• If you know that large files are going to be downloaded over a low-bandwidth (< 3 megabits<br />

per second [Mbps]) network, set the executionTimeout configuration to an appropriate value<br />

in Web.config. The default value is one hour .<br />

• If the proxy is going to be down for an extended time, disable the proxy on the clients to<br />

prevent fruitless reconnections. By default, reconnections are attempted every five minutes.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!