• Post Reply Bookmark Topic Watch Topic
  • New Topic

MappedByteBuffers and network shares  RSS feed

 
Stu Thompson
Hooplehead
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

As I understand it, MappedByteBuffers use the OS's native paging system (if available). This is supposed to be a key reason why MappedByteBuffers perform better than BufferedInputStreams.

My question is: what happens if the file is physically located on another machine and is accessed via a Windows share or NFS?

(Context: server-side, read-only, sequential reads, multiple access, large files.)

tia,

Stu
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!