Does the MapReduce abstraction a good one for dealing with problems even in a single machine? For example, I have a 12-core machine and I have to count words in thousands of files (classic MapReduce example).
Using a MapReduce implementation with Mappers and Reducers in multiple threads is a good way to solve this problem, considering that we're working on a single machine with a single Hard-drive?
I guess my question comes down to this: Is the MapReduce paradigm good only for working in a cluster of machines?
isspace(3)
on chars coming from a spinning hard disk as fast as the drive can serve them. Will any of the files already be in the buffer cache because they are frequently used?