3 ms·
The article leaves out a pretty important question you should ask yourself: "What fraction of the data will I need to access?" If the answer is "much less than
by mborg 7y ago
The article leaves out a pretty important question you should ask yourself: "What fraction of the data will I need to access?"
If the answer is "much less than the whole file", accessing the data over the network makes sense.
Otherwise, you should almost certainly bring it to a local disk, where mmap shines.