RE: Microsoft Caching Application Blocks

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: JDR (anonymous_at_discussions.microsoft.com)
Date: 05/11/04


Date: Tue, 11 May 2004 09:31:03 -0700


Ramjee,
I am using the Caching Application Block. I ended up only taking the code for the parts I wanted but I am using the In Memory option with LRU Scavenging and it appears to work.

It doesn't run as a service at all. The example they ship is extremely bad in that most of the complicated stuff in the example has to do with the Asynchronous Invocation Block, not the caching.

When you use the in memory cache, the application block starts another thread that is responsible for managing the scavenging or expiration policy.

I know it has been a while since you posted. Hope this helps .

     ----- Ramjee Tangutur wrote: -----
     
     Hi All,
     
     If any of you have used Microsoft Caching Application Blocks, please answer the following queries.
     
     Do I need to run a separate NT Service CacheService which will monitor the cache data and invalidate the cache according to the expiration policy?
     If not then how the cache expiration works?
     How do we set File Dependency for a cache object?
     
     Any pointers on how to deploy the Caching APplication Block would be of utmost help...
     
     Please note: Mark a copy of your reply to ramjee_t@infosys.com
     
     
     Warm Regards,
     RAMJEE TANGUTUR
     



Relevant Pages

  • Re: ARM926 caching question
    ... VIPT means that you can do the index lookup in parallel with the TLB ... PIPT-caching x86s do memory access instructions ... in 1 cycle (cache hit assumed) since 486, ... caching. ...
    (comp.arch.embedded)
  • Re: Using multiple indices on a single table in a query
    ... Actually the caching is not done on a row by row basis. ... never read a single row into memory unless there is only 1 row on a page. ... that data in cache at the expense of more frequently used data. ...
    (microsoft.public.sqlserver.programming)
  • Re: How does disk caching work?
    ... FreeBSD has a unified buffer cache. ... > MEMORY IS A BUFFER CACHE for all device IO. ... >> I think I know how caching memory mapped IO works for the most part, ...
    (freebsd-performance)
  • Re: Cache Memory in top command
    ... amount of memory used for caching: FreeBSD has a unified buffer cache ... so any memory is available for use as cache. ... The amount of cached file data pages is included in the Wired value ...
    (freebsd-questions)
  • Re: More optimisation
    ... If I want to perform actions on several large arrays, ... The best way is to look at the memory hiearchy of the processor you are using. ... Neither method uses caching particularly well. ... The organization of the cache system can still ...
    (comp.lang.c)