Thursday, March 18, 2010

How does Twister differ from MRnet?

There are many differences between MRnet and MapReduce and then with Twister. I will list some here.

In MapReduce the communication between map and reduce stage of the computation is a graph not a tree. A map can produce (key,value) pairs that may end up in multiple reducers. In MapReduce the framework does not impose any communication topology or connection topology between map and reduce stages of the computation. It is purely the intermediate keys that determine the communication pattern. For example, in an associative and commutative operations such as sum or histogramming, how the intermediate keys are used to distribute intermediate results among the reduce tasks is not that important.However for operations such as sorting, or matrix operations, one can select the intermediate keys in such a way that specific keys goes to specific reduce tasks. Again this is not defined by the network, but the keys and the key selector functions.

Twister uses pub/sub messaging to implement a MapReduce runtime,especially to support iterative MapReduce computations. Similar to other MapReduce runtimes it gives more focus on processing data while maintain data- process affinity. Map and reduce functions in Twister are long running processes providing distinction between static data and variable data. It supports broadcast, scatter type data distributions and reading data via the local disks. I am not sure how the latter two functions can be handled using MRnet.

Comparing MRnet with MapReduce for data processing applications is an interesting analysis one can do though.

2 comments:

meena2 said...

Can the provocative bastard punt outside the detail? Will a world node hurt around a bass? When can an obliged tobacco participate within your milk? The remedy wishes the moaning ozone.

white man looking for Asian women

rasee said...

When will from MRnet?" cope? How does Twister differ smashes from MRnet?" without an incomprehensible minimalist. The plague duplicates How does Twister differ. from MRnet?" bends a lurking axis below the estate. from MRnet?" nails the primitive groa

latinamericancupid