 |
Forums |
Admin Discussion Forums: help Start New Thread
By: Dave Grijalva
RE: How are intermediate files handled in Sky [ reply ] 2008-12-16 21:09
|
This depends on your message_queue_adapter. Intermediate values are put back into the message queue.
If you are using the mysql message queue adapter, the values are inserted into the database. When and if the content is written to disk is handled completely by mysql at that point.
If you are using the tuplespace message queue adapter, you can read the source within the skynet source to find out when/if it writes to disk. I think it probably does not.
Neither of these guarantees the OS doesn't write the data to the drive as swap depending on memory conditions.
|
By: Adam Pisoni
RE: How are intermediate files handled in Sky [ reply ] 2008-09-22 19:15
|
|
Mappers return their values via the skynet message queue. They are then picked up by the worker that is holding the master task/job for that job and partitioned for the reduce phase. So, at some point all returned map results are held in memory so they can be partitioned.
|
|
 |