ProClarity Analytic Server cache warmer sample
The ProClarity Analytic Server features a cache for javascript files, queries, and images. In some cases it may be beneficial to "warm" this cache by exercising the objects responsible for creating the cache entries prior to users hitting the system so that those users don't have to wait for their requests to warm the cache.
Below is a link to a sample (unsupported of course) of how a PAS cache warmer might work, run as an SSIS task. It is highly suggested that you read the PAS Administrators Guide regarding caching before implementing such a solution, and of course your mileage may vary with regard to any boost in response times for users.
Comments
Anonymous
January 01, 2003
I think there isa bug in the code. below is a piece from the cache warmer solution "//use cached creds for basic login CredentialCache credcache = new CredentialCache(); NetworkCredential netcreds = new NetworkCredential(sPasPwd, sPasPwd, sPasDomain); credcache.Add(new Uri(sfullUrl), "Basic", netcreds); wrRequest.Credentials = credcache;" Instaed of userid(sPasUid) password (sPasPwd) is used twice for basic authantication. Am i missing something? Thanks AliAnonymous
January 01, 2003
Good catch. I remember changing that long ago, but it looks like an old copy of the code got up to the download site. I'll be sure it gets changed there as well. Thanks again.Anonymous
January 01, 2003
PingBack from http://www.jabbertags.com/popular/analytic