MapReduce and Design Patterns - Chain Folding Pattern Overview
https://www.tutorialspoint.com/market/index.asp
Get Extra 10% OFF on all courses, Ebooks, and prime packs, USE CODE: YOUTUBE10
Show More Show Less View Video Transcript
0:00
In this video, we are discussing chain folding pattern overview
0:04
In this particular pattern, we shall optimize the map phase tasks. So, let us go for some more discussion on this topic
0:14
What is chain folding pattern? The chain folding is the optimization level of the job chaining
0:21
We know that job chaining job means actually multiple number of map reduce tasks will get
0:26
executed one after another in the process of a chain. So, this chain folding pattern will actually optimize this operation
0:36
And when there is one large job chain, then we need to use this chain folding mechanism
0:43
to combine map phases to optimize the total task. So, whenever a chain is having multiple number of map reduced tasks, then this particular
0:53
design pattern can be used so that we can combine the operations to be done in the
0:58
map phases so that the process will become as a whole optimized and lesser amount of data
1:04
transfer will take place so it reduces the amount of data movement in the map reduce pipeline
1:11
so let us give you one example for the better concept so here you can find we are having
1:17
two map reduce tasks so there are two tasks are there so comments are coming and then here in this phase in the mapper phase we doing filter out tin Azure comments so it is doing this one then the tin jr tinajure comments will be the outcome and that will be taken as input for the
1:35
next map reduce phase so here in this map reduce task we are doing there is a
1:40
tokenized remove stop keywords so that is the operation to be done and the reducer
1:46
will perform the word count so how many tasks are there in this particular
1:51
map reduce change here we are having two tasks are there so there is a tax number one map reduce tax number
1:57
one and this is our tax number two so here you can find that we are having used data
2:02
flow in this chain its output will be taken as input for this map reduced task and then the final
2:08
output will be obtained that is team Azure watt count so now in case of chain folding pattern
2:14
we can do this one in this way we are going to do the optimization of the map phase
2:20
processes and tasks so comments will be be taken, users are there and then we are having this map filter out teen azure comments
2:28
and also tokenize remove stop words and then reduce will be coming the reduce the reducer
2:35
the reducer will do the what count and the final teen ageer what count will be obtained
2:41
So this is the basic concept and in this diagram we have explained that what is chain folding pattern
2:48
So in the next videos we'll be discussing more on this particular topics. please watch all of them and thanks for watching this
#Programming
#Programming
#Software
#Jobs & Education
#Computer Science

