Plans | Login    

Briefing Search
Keyword:
Category:

       

    
Author Details
Xebia India
xebiaindia123@gmail.com
www.xebia.in/

Map Reduce – The Concept Big Data


We all have heard of map reduce at some or the other point. It is programming model that has helped Google in processing terabytes of data.

BriefingWire.com, 8/31/2014 - We all have heard of map reduce at some or the other point. It is programming model that has helped Google in processing terabytes of data. Hadoop is an open source provide map reduce api. Though this paradigm gained popularity recently (in about 2004 when Google started using it) but the concept is old. It is present in functional programming languages like LISP.

As you can see there are basically 2 functions, FUN1 maps a list of inputs to a intermediate value and FUN 2 combines the output of first to give final result.

A simple MapReduce function in Scheme would be:

(map square ‘(1 2 3 4))

(1 4 9 16)

(reduce + ‘(1 4 9 16))

(30)

A ruby implementation of above would be:

(1..4).reduce(0) do |sum, value|

sum + (value * value)

end

Here Map and Reduce are higher order functions.

As many other features of functional programming MapReduce also is great candidate for parallelism. Its strength lies in its simplicity. Engineers at Google(Jeff Dean, Sanjay Ghemawat) were brilliant in realizing that this can help them achieve a great degree of parallelism for processing the massive amounts of data they have in parallel processing perspective Big Data Service provider is little different than that in functional languages:

In this case reduces processes a subset of data to be able to group data in subset Mapper is written to product as output a key-value pair.

The results of this MapReduce processing are amazing of large scale computations and data processing. Processing like tera bytes of data can be distributed over few thousand cheap processing machines. Computations of this kind are practically impossible over single machines. The sppeds can be further enhanced by small changes to process like using combiners, doing some reduction at mapper itself, etc.

While using thousand of machines its very likely the any one machine can fail or become very slow. To deal with this kind of situations the process of Big Data Solution provider has been made much fault tolerant. Fault tolerance/ increased productivity come from fact that jobs are very independent. Even if case any mapper/ reducer fails it will not affect other mappers and reducers. And the subset of data can be given over to some other mode to process. It has been found that overall impact of such failures is thus not much.

No wonder over 10000 applications right now at Google utilizes of this technique.

Link Resource:http://xebee.xebia.in/index.php/2013/06/20/map-reduce-the-concept/

Contact

Xebia India

Xebia IT Architects India Private Limited, 612 Park Centra, Sector 30, Gurgaon 122002, Haryana

+91 (0124) 470 0200

xebiaindia123@gmail.com

http://www.xebia.in/big-data.html

 
 
FAQs | Contact Us | Terms & Conditions | Privacy Policy
© 2026 Proserve Technology, Inc.