Space Task and Distributed Space Tasks also known as Map Reduce in XAP.NET

Posted 9 July 2009 @ 4:39 am by .Net Team

7.0 XAP.NET GA will provide a new powerful capability, known as space tasks.

A space task is a custom user code representing a logical task that is executed at the space behind the proxy and returns its result to the invoker. The task also receives an embedded proxy to the node it runs within once executed, and it can take advantage of it to execute space operation which is part of its logic in embedded fashion. It can be routed to a specific node using a routing value or executed as a distributed task on the cluster in parallel later to be reduced to a single result when the results from the parallel distributed execution arrives, this pattern is also known as the Map Reduce which is commonly used by many distributed systems such as Google, Microsoft and more .

  

This feature gives a lot of power to the user. For instance, a search engine can take advantage of the map reduce pattern and more other applications that can take advantage of parallel processing. Another usage would be executing very complex custom queries in an optimized fashion. Doing it by executing it locally at each space node with a distributed space task, and only send the relevant result back to the client from each node, doing so reduce the network overhead and the calculation over head the client would have needed to calculate at the entire potential result set if it would have used a different conventional method.

This feature is known as the executor service in the Java product counterpart.

For more information please visit:

http://www.gigaspaces.com/wiki/display/XAP7NET/Task+Execution+Over+The+Space

Eitan

Read more...

One Response to “Space Task and Distributed Space Tasks also known as Map Reduce in XAP.NET”

  1. Liddle Thoughts » Blog Archive » Space Based programming in .Net Says:

    [...] You can also view the Video of the presentation directly on Goyko’s blog here. As a follow up to GigaSpaces XAP for .net I’d suggest you look at: Space Task and Distributed Space Tasks also known as Map Reduce in XAP.NET [...]

Leave a Reply