How do I find the Cache Hit Ratio on my TFS AT server?

Grant Holliday’s blog

Service Engineer, Microsoft Visual Studio Online - Team Foundation Server

How do I find the Cache Hit Ratio on my TFS AT server?

  • Comments 3

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.

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.

Page 1 of 1 (3 items)