in reply to Repetitive File I/O vs. Memory Caching

Any decent OS will cache the most recently accessed pages from disk in memory anyway, regardless of what you do. Any decent RDBMS will also cache data in memory remarkably effectively.

Looking at your code it looks somewhat like you are re-implementing SSI. Why not just use SSI? On that thought if you have a limited number of dynamically generated pages making them static with periodic updates will be faster than dynamically serving them.

cheers

tachyon

  • Comment on Re: Repetitive File I/O vs. Memory Caching

Replies are listed 'Best First'.
Re: Re: Repetitive File I/O vs. Memory Caching
by Anonymous Monk on Mar 28, 2004 at 07:48 UTC
    SSI does not cache