Hi All,
I am using RandomAccessFile to write data to a file. I am running performance
test on my code on solaris machine.
If provide a shorter path for the file lets say "/tmp/", the records are written in expected time in sync with the requests I am sending through my client program.
But when I provide a longer path like /tmp/javaranch/saloon/home/greenhorns/random/access/file", it takes lot of time to write record in time. Even if the client has stopped producing data, the server keeps on writing records (client puts records in a queue and leaves) for next few minutes.
This behaviour is mainly visible in Unix machine. On windows machine I am not able to see any significant delay in writing.
Can anyone throw light on this?