Both a TFS Proxy server and a TFS Application Tier include a Version Control cache on disk. This allows each of the servers to service simple Download() requests without having to go to the Data Tier.
A “Cache Hit Rate” is represents as a percentage how many requests were able to be served from the cache, instead of going to the Data Tier (or in the case of the Proxy – to the Application Tier). A higher percentage is better.
If you have a TFS Proxy server, you can use TfsServerManager from the Team Foundation Power Tools to find out the Cache Hit Rate.
What I didn’t know is that you can also call a web service on the Application Tier server to get the same numbers. This is the same web service and instructions detailed on this MSDN page How to: Examine Cache Performance for Team Foundation Server Proxy – but use it on the AT.
- Logon to your Application Tier
- Browse to: http://localhost:8080/VersionControl/v1.0/ProxyStatistics.asmx?op=QueryProxyStatistics
- Select ‘Invoke’
You should get a response with the following attributes:
You could also write a utility that calls this webservice for you instead of logging on to the server directly.