One thing about these remote calls back to SharePoint is that they can be slowed down if your SharePoint environment is under heavy load. This might confuse your users as they may have this very responsive application that slows down every time it needs to talk back to SharePoint.
Microsoft introduced a new little thing to help with this called the health score. What’s going on is that when you make a call to SharePoint, it adds a custom HTTP header to the response that tells you how the server is doing. This header, X-SharePointHealthScore, will be a number between 0 and 10. The lower the number the less stressed the server is… the higher, the more taxed it is. As the number approaches 10 SharePoint will start to queue up HTTP GET requests in order to handle the HTTP POST requests.
You could, to provide your users a good experience, indicate how the server is doing by looking at every other call. Here’s how you can do it:
comments powered by Disqus