C
Chris
We have a web app that needs to access a very large file on disk. This app
will have a large number of simultaneous users. The file is too big to fit
entirely in memory.
I'd really like for different threads to be able to read different parts of
the file without synchronizing access. Unfortunately, RandomAccessFile isn't
multithreaded, because you have to call seek() and then read().
At the moment we can't use NIO and ByteBuffers because we have to support
JDK 1.3.
Does anyone know how to solve this problem?
will have a large number of simultaneous users. The file is too big to fit
entirely in memory.
I'd really like for different threads to be able to read different parts of
the file without synchronizing access. Unfortunately, RandomAccessFile isn't
multithreaded, because you have to call seek() and then read().
At the moment we can't use NIO and ByteBuffers because we have to support
JDK 1.3.
Does anyone know how to solve this problem?