This document describes how to make web applications that use the Web Document Viewer or Report Designer's Preview work properly in a clustered web environment (also known as Web Farms or Web Garden).
Web farms and web garden technologies allow you to run a web application on several web servers (web farms), or on the same server but in different processes, each process executed using its own processor (web garden). This is specified by the Internet Information Services (IIS) settings of the server host on which you deploy your web application.
By using a clustered environment, you can significantly improve the performance of large web applications. This, however, requires that XtraReports share its data between multiple processes/servers when a report is generated, printed or exported.
Do the following to adjust your Web reporting application to properly operate in web farms and the web garden:
Implement the ICachedReportSourceWebResolver interface to associate the report's unique name with a CachedReportSourceWeb object that possesses the corresponding report. The Document Viewer requests the provided CachedReportSourceWeb object to generate a report document.
Provide time settings for cleaning the in-memory cache that stores documents and reports. Create an instance of the CacheCleanerSettings object and register it in your application using the RegisterSingleton<T>(T) method.
Provide time settings for cleaning the file storage that stores documents, exported documents and reports. Create an instance of the StorageCleanerSettings object and register it in your application using the RegisterSingleton<T>(T) method.