*** i'm writing a file cache to use together with my servlets.

pretty straight forward: when a file first is requested, load it from file
and put it into memory. from then on use the copy from memory.

the problem that i have is that there is _no_ performance gain at all when
reading a file from the cache as opposed to reading it from the file system.
my programming may not be perfect but i should see _some_ gain.

it looks like linux itself is caching the file, because the first access
from the file system is a little slower than subsequent access from the file
system.

is this possible? can i turn the file caching on the operating system level
off (for testing purposes)?
any other ideas?

and, is there source code for a file cache available somewhere?

thanks,
- martin

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to