SlideShare a Scribd company logo
1 of 33
Download to read offline
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
A Homomorphism-based MapReduce Framework
for Systematic Parallel Programming
Yu Liu
The Graduate University for Advanced Studies
Jan 12, 2011
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
Outline
1 Motivations
2 Brief introduction of MapReduce
3 The Homomorphism-based Framework
4 Case Study: Parallel sum, Maximum prefix sum, Variance of
numbers
5 Experimental Results
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
Motivation of This Talk
Show how to make programming with MapReduce easier.
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
Motivation of This Talk
Show how to make programming with MapReduce easier.
Introduce an approach of automatic parallel program
generating.
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
Programming Paradigm of MapReduce
List Homomorphism and Homomorphism Theorems
MapReduce Programming model
The Computation of MapReduce Framework
Google’s MapReduce is a parallel-distributed programming model,
together with an associated implementation, for processing very
large data sets in a massively parallel manner.
Components of a MapReduce program (Hadoop)
A Mapper;
A Partitioner that can be used shuffling data;
A Combiner that can be used doing local reduction;
A Reducer ;
A Comparator can be used while sorting or grouping;
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
Programming Paradigm of MapReduce
List Homomorphism and Homomorphism Theorems
MapReduce Programming model
MapReduce Data-processing flow
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
Programming Paradigm of MapReduce
List Homomorphism and Homomorphism Theorems
MapReduce Programming model
A simple functional specifcation of the MapReduce framework
Function mapS is a set version of the map function. Function
groupByKey :: {[(k, v)]} → {(k, [v])} takes a set of list of
key-value pairs (each pair is called a record) and groups the values
of the same key into a list.
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
Programming Paradigm of MapReduce
List Homomorphism and Homomorphism Theorems
Maximum Prefix Sum problem
The Maximum Prefix Sum problem (mps) is to find the maximum
prefix-summation in a list:
3, −1, 4, 1, −5, 9, 2, −6, 5
This problem seems not obvious to solve this problem efficiently
with MapReduce.
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
Programming Paradigm of MapReduce
List Homomorphism and Homomorphism Theorems
List Homomorphism
Function h is said to be a list homomorphism
If there are a function f and an associated operator such that
for any list x and list y
h [a] = f a
h (x ++ y) = h(x) h(y).
Where ++ is the list concatenation.
For instance, the function sum can be described as a list
homomorphism
sum [a] = a
sum (x ++ y) = sum x + sum y.
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
Programming Paradigm of MapReduce
List Homomorphism and Homomorphism Theorems
List Homomorphism and Homomorphism Theorems
Leftwards function
Function h is leftwards if it is defined in the following form with
function f and operator ⊕,
h [a] = f a
h ([a] ++ x) = a ⊕ h x.
Rightwards function
Function h is rightwards if it is defined in the following form with
function f and operator ⊗,
h [a] = f a
h (x ++ [a]) = h x ⊗ a.
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
Programming Paradigm of MapReduce
List Homomorphism and Homomorphism Theorems
List Homomorphism and Homomorphism Theorems
Map and Reduce
For a given function f , the function of the form ([[·] ◦ f , ++ ]) is a
map function, and is written as map f .
————————————————————————————
The function of the form ([id, ]) for some is a reduce function,
and is written as reduce ( ).
The First Homomorphism Theorem
Any homomorphism can be written as the composition of a map
and a reduce:
([f , ]) = reduce ( ) ◦ map f .
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
Programming Paradigm of MapReduce
List Homomorphism and Homomorphism Theorems
List Homomorphism and Homomorphism Theorems
The Third Homomorphism Theorem
Function h can be described as a list homomorphism, iff ∃ and
∃ f such that:
h = ([f , ])
if and only if there exist f , ⊕, and ⊕ such that
h [a] = f a
h ([a] ++ x) = a ⊕ h x
h (x ++ [b]) = h x ⊗ b.
The third homomorphism gives a necessary and sufficient condition
for the existence of a list homomorphism.
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
Automatic Parallelization
Case Study
A homomorphism-based framework wrapping MapReduce
To make it easy for resolving problems such as mps by
MapReduce. We using the knowledge of homomorphism especially
the third homomorphism theorem to wrapping MapReduce model.
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
Automatic Parallelization
Case Study
A homomorphism-based framework wrapping MapReduce
Basic Homomorphism-Programming Interface
filter :: a → b
aggregator :: b → b → b.
The implementlation on Hadoop
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
Automatic Parallelization
Case Study
A homomorphism-based framework wrapping MapReduce
A simple example of using this interface for computing the sum of
a list
The implementlation on Hadoop
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
Automatic Parallelization
Case Study
A homomorphism-based framework wrapping MapReduce
Programming Interface with Right Inverse
fold :: [a] → b
unfold :: b → [a].
The implementlation on Hadoop
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
Automatic Parallelization
Case Study
A homomorphism-based framework wrapping MapReduce
A simple example of using this interface for computing the sum of
a list
The implementlation on Hadoop
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
Automatic Parallelization
Case Study
A homomorphism-based framework wrapping MapReduce
Requirements of using this interface in addition to the right-inverse
property of unfold over fold.
Both leftwards and rightwards functions exist
fold([a] ++ x) = fold([a] ++ unfold(fold(x)))
fold(x ++ [a]) = fold(unfold(fold(x)) ++ [a]).
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
Automatic Parallelization
Case Study
The implementation of homomorphism framework upon
Hadoop
To implement our programming interface with Hadoop, we need to
consider how to represent lists in a distributed manner.
Set of pairs as list
We use integer as the index’s type, the list [a, b, c, d, e] is
represented by {(3, d), (1, b), (2, c), (0, a), (4, e)}.
Set of pairs as distributed List
We can represent the above list as two sub-sets
{((0, 1), b), ((0, 2), c), ((0, 0), a)} and {((1, 3), d), ((1, 4), e)}, each
in different data-nodes
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
Automatic Parallelization
Case Study
The implementation of homomorphism framework upon
Hadoop
The first homomorphism theorem implies that a list
homomorphism can be implemented by MapReduce, at least two
passes of MapReduce.
Defination of homMR
homMR :: (α → β) → (β → β → β) → {(ID, α)} → β
homMR f (⊕) = getValue ◦ MapReduce mapper2 reducer2
◦ MapReduce mapper1 reducer1
where
mapper1 :: (ID, α)) → [((ID, ID), β))]
mapper1 (i, a) = [((pid, i), b)]
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
Automatic Parallelization
Case Study
The implementation of homomorphism framework upon
Hadoop
Defination of homMR
reducer1 :: (ID, ID) → [β] → β
reducer1 ((p, j), ias)) = hom f (⊕) ias
mapper2 :: ((ID, ID), β) → [((ID, ID), β)]
mapper2 ((p, j), b) = [((0, j), b)]
reducer2 :: (ID, ID) → [β] → β
reducer2 ((0, k), jbs) = hom (⊕) jbs
getValue {(0, b)} = b
Where, hom f (⊕) denotes a sequential version of ([f , ⊕]).
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
Automatic Parallelization
Case Study
The leftwards and rightwardsfunction
Derivation by right inverse
leftwards([a] ++ x) = fold([a] ++ unfold(fold(x)))
rightwards(x ++ [a]) = fold(unfold(fold x) ++ [a]).
Now if for all xs,
rightwards xs = leftwards xs, (1)
then a list homomorphism ([f , ⊕]) that computes fold can be
obtained automatically, where f and ⊕ are defined as follows:
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
Automatic Parallelization
Case Study
The leftwards and rightwardsfunction
Derivation by right inverse
f a = fold([a])
a ⊕ b = fold(unfold a ++ unfold b).
Equation (1) should be satisfied.
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
Automatic Parallelization
Case Study
Programming with this homomorphism framework
MPS
A sequential program
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
Automatic Parallelization
Case Study
Programming with this homomorphism framework
MPS
A tupled function
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
MPS
(mps sum) [a] = (a ↑ 0, a)
(mps sum) (x + +[a]) = let (m, s) = (mps sum) x in (m ↑ (s + a
We use this tupled function as the fold function. The right inverse
of the tupled function, (mps sum)◦:
(mps sum)◦
(m, s) = [m, s − m]
Noting that for the any result (m, s) of the tupled function the
inequality m s hold,
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
The implementation of homomorphism framework upon
Hadoop
performance tests
Environment:Hardware
COE cluster in Tokyo University which has 192 computing nodes.
We choose 16 , 8 , 4 , 2 and 1 node to run the MapReduce-MPS
program. Each node has 2 Xeon(Nocona) CPU with 2GB RAM.
Environment:Software
Linux2.6.26 ,Hadoop0.20.2 +HDFS
Hadoop configuration: heap size= 1024MB
maximum mapper pre node: 2
maximum reducer pre node: 2
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
Performance
The input data
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
Performance
The time consuming of calculate 100 million-long list
(SequenceFile, Pair < Long >):
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
Performance
The speedup of 2-16 nodes:
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
Performance
Comparison of 2 version SUM
Comparison of 2-16 nodes:
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
Performance
Conclusions
The time curve indicate the system scalability with the number of
computing nodes. The curve between x-axis 2 and 8 has biggest
slope, when the curve reaches to 16, the slope decreased, that is
because when there are more nodes, the overhead of
communication increased. Totally, the curve shows the scalability
is near-linear.
Overhead of 2 phases Map-Reduce.
Overhead of Java reflection.
Not support local reduction now (not implemented yet).
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
Outline
Motivation
Brief introduction of background
The Design of Homomorphism-based Framework on MapReduce
Case Study
Performance Evaluation
The end
Questions?
?
Yu Liu A Homomorphism-based MapReduce Framework for Systematic P

More Related Content

What's hot

RBM from Scratch
RBM from Scratch RBM from Scratch
RBM from Scratch Hadi Sinaee
 
Distributed Computing Seminar - Lecture 2: MapReduce Theory and Implementation
Distributed Computing Seminar - Lecture 2: MapReduce Theory and ImplementationDistributed Computing Seminar - Lecture 2: MapReduce Theory and Implementation
Distributed Computing Seminar - Lecture 2: MapReduce Theory and Implementationtugrulh
 
CS 542 -- Query Optimization
CS 542 -- Query OptimizationCS 542 -- Query Optimization
CS 542 -- Query OptimizationJ Singh
 
Start From A MapReduce Graph Pattern-recognize Algorithm
Start From A MapReduce Graph Pattern-recognize AlgorithmStart From A MapReduce Graph Pattern-recognize Algorithm
Start From A MapReduce Graph Pattern-recognize AlgorithmYu Liu
 
Pagerank (from Google)
Pagerank (from Google)Pagerank (from Google)
Pagerank (from Google)Sri Prasanna
 
Lec5 pagerank
Lec5 pagerankLec5 pagerank
Lec5 pagerankCarlos
 
Informed search (heuristics)
Informed search (heuristics)Informed search (heuristics)
Informed search (heuristics)Bablu Shofi
 
141222 graphulo ingraphblas
141222 graphulo ingraphblas141222 graphulo ingraphblas
141222 graphulo ingraphblasMIT
 
141205 graphulo ingraphblas
141205 graphulo ingraphblas141205 graphulo ingraphblas
141205 graphulo ingraphblasgraphulo
 
Lecture 11 Informed Search
Lecture 11 Informed SearchLecture 11 Informed Search
Lecture 11 Informed SearchHema Kashyap
 
Collective entity linking with WSRM DocEng'19
Collective entity linking with WSRM DocEng'19Collective entity linking with WSRM DocEng'19
Collective entity linking with WSRM DocEng'19ngamou
 
Lgm pakdd2011 public
Lgm pakdd2011 publicLgm pakdd2011 public
Lgm pakdd2011 publicYasuo Tabei
 
Dr Chris Drovandi (QUT) - Bayesian Indirect Inference Using a Parametric Auxi...
Dr Chris Drovandi (QUT) - Bayesian Indirect Inference Using a Parametric Auxi...Dr Chris Drovandi (QUT) - Bayesian Indirect Inference Using a Parametric Auxi...
Dr Chris Drovandi (QUT) - Bayesian Indirect Inference Using a Parametric Auxi...QUT_SEF
 

What's hot (19)

Query optimisation
Query optimisationQuery optimisation
Query optimisation
 
Lec5 Pagerank
Lec5 PagerankLec5 Pagerank
Lec5 Pagerank
 
RBM from Scratch
RBM from Scratch RBM from Scratch
RBM from Scratch
 
Distributed Computing Seminar - Lecture 2: MapReduce Theory and Implementation
Distributed Computing Seminar - Lecture 2: MapReduce Theory and ImplementationDistributed Computing Seminar - Lecture 2: MapReduce Theory and Implementation
Distributed Computing Seminar - Lecture 2: MapReduce Theory and Implementation
 
CS 542 -- Query Optimization
CS 542 -- Query OptimizationCS 542 -- Query Optimization
CS 542 -- Query Optimization
 
Start From A MapReduce Graph Pattern-recognize Algorithm
Start From A MapReduce Graph Pattern-recognize AlgorithmStart From A MapReduce Graph Pattern-recognize Algorithm
Start From A MapReduce Graph Pattern-recognize Algorithm
 
Pagerank (from Google)
Pagerank (from Google)Pagerank (from Google)
Pagerank (from Google)
 
Lec5 pagerank
Lec5 pagerankLec5 pagerank
Lec5 pagerank
 
Informed search (heuristics)
Informed search (heuristics)Informed search (heuristics)
Informed search (heuristics)
 
141222 graphulo ingraphblas
141222 graphulo ingraphblas141222 graphulo ingraphblas
141222 graphulo ingraphblas
 
141205 graphulo ingraphblas
141205 graphulo ingraphblas141205 graphulo ingraphblas
141205 graphulo ingraphblas
 
Astar algorithm
Astar algorithmAstar algorithm
Astar algorithm
 
Lecture 11 Informed Search
Lecture 11 Informed SearchLecture 11 Informed Search
Lecture 11 Informed Search
 
Heuristic search
Heuristic searchHeuristic search
Heuristic search
 
ch13
ch13ch13
ch13
 
Collective entity linking with WSRM DocEng'19
Collective entity linking with WSRM DocEng'19Collective entity linking with WSRM DocEng'19
Collective entity linking with WSRM DocEng'19
 
Lgm pakdd2011 public
Lgm pakdd2011 publicLgm pakdd2011 public
Lgm pakdd2011 public
 
Dstar Lite
Dstar LiteDstar Lite
Dstar Lite
 
Dr Chris Drovandi (QUT) - Bayesian Indirect Inference Using a Parametric Auxi...
Dr Chris Drovandi (QUT) - Bayesian Indirect Inference Using a Parametric Auxi...Dr Chris Drovandi (QUT) - Bayesian Indirect Inference Using a Parametric Auxi...
Dr Chris Drovandi (QUT) - Bayesian Indirect Inference Using a Parametric Auxi...
 

Similar to A Homomorphism-based MapReduce Framework for Systematic Parallel Programming

A Homomorphism-based Framework for Systematic Parallel Programming with MapRe...
A Homomorphism-based Framework for Systematic Parallel Programming with MapRe...A Homomorphism-based Framework for Systematic Parallel Programming with MapRe...
A Homomorphism-based Framework for Systematic Parallel Programming with MapRe...Yu Liu
 
Towards Systematic Parallel Programming over MapReduce
Towards Systematic Parallel Programming over MapReduceTowards Systematic Parallel Programming over MapReduce
Towards Systematic Parallel Programming over MapReduceYu Liu
 
A Dual Scheme For Traffic Assignment Problems
A Dual Scheme For Traffic Assignment ProblemsA Dual Scheme For Traffic Assignment Problems
A Dual Scheme For Traffic Assignment ProblemsAndrew Molina
 
facility layout paper
 facility layout paper facility layout paper
facility layout paperSaurabh Tiwary
 
Implementing Generate-Test-and-Aggregate Algorithms on Hadoop
Implementing Generate-Test-and-Aggregate Algorithms on HadoopImplementing Generate-Test-and-Aggregate Algorithms on Hadoop
Implementing Generate-Test-and-Aggregate Algorithms on HadoopYu Liu
 
Functional Programming
Functional ProgrammingFunctional Programming
Functional ProgrammingYuan Wang
 
Automated Machine Learning via Sequential Uniform Designs
Automated Machine Learning via Sequential Uniform DesignsAutomated Machine Learning via Sequential Uniform Designs
Automated Machine Learning via Sequential Uniform DesignsAijun Zhang
 
Web Data Extraction Como2010
Web Data Extraction Como2010Web Data Extraction Como2010
Web Data Extraction Como2010Giorgio Orsi
 
1998 - Thesis JL Pacherie Parallel perators
1998 - Thesis JL Pacherie Parallel perators1998 - Thesis JL Pacherie Parallel perators
1998 - Thesis JL Pacherie Parallel peratorsJean-Lin Pacherie, Ph.D.
 
LNCS 5050 - Bilevel Optimization and Machine Learning
LNCS 5050 - Bilevel Optimization and Machine LearningLNCS 5050 - Bilevel Optimization and Machine Learning
LNCS 5050 - Bilevel Optimization and Machine Learningbutest
 
RBHF_SDM_2011_Jie
RBHF_SDM_2011_JieRBHF_SDM_2011_Jie
RBHF_SDM_2011_JieMDO_Lab
 
Graph-Based Code Completion
Graph-Based Code CompletionGraph-Based Code Completion
Graph-Based Code CompletionMasud Rahman
 
CC-4007, Large-Scale Machine Learning on Graphs, by Yucheng Low, Joseph Gonza...
CC-4007, Large-Scale Machine Learning on Graphs, by Yucheng Low, Joseph Gonza...CC-4007, Large-Scale Machine Learning on Graphs, by Yucheng Low, Joseph Gonza...
CC-4007, Large-Scale Machine Learning on Graphs, by Yucheng Low, Joseph Gonza...AMD Developer Central
 

Similar to A Homomorphism-based MapReduce Framework for Systematic Parallel Programming (20)

A Homomorphism-based Framework for Systematic Parallel Programming with MapRe...
A Homomorphism-based Framework for Systematic Parallel Programming with MapRe...A Homomorphism-based Framework for Systematic Parallel Programming with MapRe...
A Homomorphism-based Framework for Systematic Parallel Programming with MapRe...
 
Towards Systematic Parallel Programming over MapReduce
Towards Systematic Parallel Programming over MapReduceTowards Systematic Parallel Programming over MapReduce
Towards Systematic Parallel Programming over MapReduce
 
A Dual Scheme For Traffic Assignment Problems
A Dual Scheme For Traffic Assignment ProblemsA Dual Scheme For Traffic Assignment Problems
A Dual Scheme For Traffic Assignment Problems
 
MapReduce
MapReduceMapReduce
MapReduce
 
facility layout paper
 facility layout paper facility layout paper
facility layout paper
 
Implementing Generate-Test-and-Aggregate Algorithms on Hadoop
Implementing Generate-Test-and-Aggregate Algorithms on HadoopImplementing Generate-Test-and-Aggregate Algorithms on Hadoop
Implementing Generate-Test-and-Aggregate Algorithms on Hadoop
 
Functional Programming
Functional ProgrammingFunctional Programming
Functional Programming
 
predefenseslide
predefenseslidepredefenseslide
predefenseslide
 
predefenseslide
predefenseslidepredefenseslide
predefenseslide
 
Automated Machine Learning via Sequential Uniform Designs
Automated Machine Learning via Sequential Uniform DesignsAutomated Machine Learning via Sequential Uniform Designs
Automated Machine Learning via Sequential Uniform Designs
 
Web Data Extraction Como2010
Web Data Extraction Como2010Web Data Extraction Como2010
Web Data Extraction Como2010
 
1998 - Thesis JL Pacherie Parallel perators
1998 - Thesis JL Pacherie Parallel perators1998 - Thesis JL Pacherie Parallel perators
1998 - Thesis JL Pacherie Parallel perators
 
LNCS 5050 - Bilevel Optimization and Machine Learning
LNCS 5050 - Bilevel Optimization and Machine LearningLNCS 5050 - Bilevel Optimization and Machine Learning
LNCS 5050 - Bilevel Optimization and Machine Learning
 
RBHF_SDM_2011_Jie
RBHF_SDM_2011_JieRBHF_SDM_2011_Jie
RBHF_SDM_2011_Jie
 
An Algebra of Hierarchical Graphs
An Algebra of Hierarchical GraphsAn Algebra of Hierarchical Graphs
An Algebra of Hierarchical Graphs
 
Graph-Based Code Completion
Graph-Based Code CompletionGraph-Based Code Completion
Graph-Based Code Completion
 
pdf
pdfpdf
pdf
 
CC-4007, Large-Scale Machine Learning on Graphs, by Yucheng Low, Joseph Gonza...
CC-4007, Large-Scale Machine Learning on Graphs, by Yucheng Low, Joseph Gonza...CC-4007, Large-Scale Machine Learning on Graphs, by Yucheng Low, Joseph Gonza...
CC-4007, Large-Scale Machine Learning on Graphs, by Yucheng Low, Joseph Gonza...
 
Linear programing
Linear programingLinear programing
Linear programing
 
Tutorial5
Tutorial5Tutorial5
Tutorial5
 

More from Yu Liu

A TPC Benchmark of Hive LLAP and Comparison with Presto
A TPC Benchmark of Hive LLAP and Comparison with PrestoA TPC Benchmark of Hive LLAP and Comparison with Presto
A TPC Benchmark of Hive LLAP and Comparison with PrestoYu Liu
 
Cloud Era Transactional Processing -- Problems, Strategies and Solutions
Cloud Era Transactional Processing -- Problems, Strategies and SolutionsCloud Era Transactional Processing -- Problems, Strategies and Solutions
Cloud Era Transactional Processing -- Problems, Strategies and SolutionsYu Liu
 
Introduction to NTCIR 2016 MedNLPDoc
Introduction to NTCIR 2016 MedNLPDocIntroduction to NTCIR 2016 MedNLPDoc
Introduction to NTCIR 2016 MedNLPDocYu Liu
 
高性能データ処理プラットフォーム (Talk on July Tech Festa 2015)
高性能データ処理プラットフォーム (Talk on July Tech Festa 2015)高性能データ処理プラットフォーム (Talk on July Tech Festa 2015)
高性能データ処理プラットフォーム (Talk on July Tech Festa 2015)Yu Liu
 
Survey on Parallel/Distributed Search Engines
Survey on Parallel/Distributed Search EnginesSurvey on Parallel/Distributed Search Engines
Survey on Parallel/Distributed Search EnginesYu Liu
 
Paper introduction to Combinatorial Optimization on Graphs of Bounded Treewidth
Paper introduction to Combinatorial Optimization on Graphs of Bounded TreewidthPaper introduction to Combinatorial Optimization on Graphs of Bounded Treewidth
Paper introduction to Combinatorial Optimization on Graphs of Bounded TreewidthYu Liu
 
Paper Introduction: Combinatorial Model and Bounds for Target Set Selection
Paper Introduction: Combinatorial Model and Bounds for Target Set SelectionPaper Introduction: Combinatorial Model and Bounds for Target Set Selection
Paper Introduction: Combinatorial Model and Bounds for Target Set SelectionYu Liu
 
An accumulative computation framework on MapReduce ppl2013
An accumulative computation framework on MapReduce ppl2013An accumulative computation framework on MapReduce ppl2013
An accumulative computation framework on MapReduce ppl2013Yu Liu
 
An Enhanced MapReduce Model (on BSP)
An Enhanced MapReduce Model (on BSP)An Enhanced MapReduce Model (on BSP)
An Enhanced MapReduce Model (on BSP)Yu Liu
 
An Introduction of Recent Research on MapReduce (2011)
An Introduction of Recent Research on MapReduce (2011)An Introduction of Recent Research on MapReduce (2011)
An Introduction of Recent Research on MapReduce (2011)Yu Liu
 
A Generate-Test-Aggregate Parallel Programming Library on Spark
A Generate-Test-Aggregate Parallel Programming Library on SparkA Generate-Test-Aggregate Parallel Programming Library on Spark
A Generate-Test-Aggregate Parallel Programming Library on SparkYu Liu
 
Introduction of A Lightweight Stage-Programming Framework
Introduction of A Lightweight Stage-Programming FrameworkIntroduction of A Lightweight Stage-Programming Framework
Introduction of A Lightweight Stage-Programming FrameworkYu Liu
 
Introduction of the Design of A High-level Language over MapReduce -- The Pig...
Introduction of the Design of A High-level Language over MapReduce -- The Pig...Introduction of the Design of A High-level Language over MapReduce -- The Pig...
Introduction of the Design of A High-level Language over MapReduce -- The Pig...Yu Liu
 
On Extending MapReduce - Survey and Experiments
On Extending MapReduce - Survey and ExperimentsOn Extending MapReduce - Survey and Experiments
On Extending MapReduce - Survey and ExperimentsYu Liu
 
Tree representation in map reduce world
Tree representation  in map reduce worldTree representation  in map reduce world
Tree representation in map reduce worldYu Liu
 
Introduction to Ultra-succinct representation of ordered trees with applications
Introduction to Ultra-succinct representation of ordered trees with applicationsIntroduction to Ultra-succinct representation of ordered trees with applications
Introduction to Ultra-succinct representation of ordered trees with applicationsYu Liu
 
On Implementation of Neuron Network(Back-propagation)
On Implementation of Neuron Network(Back-propagation)On Implementation of Neuron Network(Back-propagation)
On Implementation of Neuron Network(Back-propagation)Yu Liu
 
ScrewDriver Rebirth: Generate-Test-and-Aggregate Framework on Hadoop
ScrewDriver Rebirth: Generate-Test-and-Aggregate Framework on HadoopScrewDriver Rebirth: Generate-Test-and-Aggregate Framework on Hadoop
ScrewDriver Rebirth: Generate-Test-and-Aggregate Framework on HadoopYu Liu
 

More from Yu Liu (18)

A TPC Benchmark of Hive LLAP and Comparison with Presto
A TPC Benchmark of Hive LLAP and Comparison with PrestoA TPC Benchmark of Hive LLAP and Comparison with Presto
A TPC Benchmark of Hive LLAP and Comparison with Presto
 
Cloud Era Transactional Processing -- Problems, Strategies and Solutions
Cloud Era Transactional Processing -- Problems, Strategies and SolutionsCloud Era Transactional Processing -- Problems, Strategies and Solutions
Cloud Era Transactional Processing -- Problems, Strategies and Solutions
 
Introduction to NTCIR 2016 MedNLPDoc
Introduction to NTCIR 2016 MedNLPDocIntroduction to NTCIR 2016 MedNLPDoc
Introduction to NTCIR 2016 MedNLPDoc
 
高性能データ処理プラットフォーム (Talk on July Tech Festa 2015)
高性能データ処理プラットフォーム (Talk on July Tech Festa 2015)高性能データ処理プラットフォーム (Talk on July Tech Festa 2015)
高性能データ処理プラットフォーム (Talk on July Tech Festa 2015)
 
Survey on Parallel/Distributed Search Engines
Survey on Parallel/Distributed Search EnginesSurvey on Parallel/Distributed Search Engines
Survey on Parallel/Distributed Search Engines
 
Paper introduction to Combinatorial Optimization on Graphs of Bounded Treewidth
Paper introduction to Combinatorial Optimization on Graphs of Bounded TreewidthPaper introduction to Combinatorial Optimization on Graphs of Bounded Treewidth
Paper introduction to Combinatorial Optimization on Graphs of Bounded Treewidth
 
Paper Introduction: Combinatorial Model and Bounds for Target Set Selection
Paper Introduction: Combinatorial Model and Bounds for Target Set SelectionPaper Introduction: Combinatorial Model and Bounds for Target Set Selection
Paper Introduction: Combinatorial Model and Bounds for Target Set Selection
 
An accumulative computation framework on MapReduce ppl2013
An accumulative computation framework on MapReduce ppl2013An accumulative computation framework on MapReduce ppl2013
An accumulative computation framework on MapReduce ppl2013
 
An Enhanced MapReduce Model (on BSP)
An Enhanced MapReduce Model (on BSP)An Enhanced MapReduce Model (on BSP)
An Enhanced MapReduce Model (on BSP)
 
An Introduction of Recent Research on MapReduce (2011)
An Introduction of Recent Research on MapReduce (2011)An Introduction of Recent Research on MapReduce (2011)
An Introduction of Recent Research on MapReduce (2011)
 
A Generate-Test-Aggregate Parallel Programming Library on Spark
A Generate-Test-Aggregate Parallel Programming Library on SparkA Generate-Test-Aggregate Parallel Programming Library on Spark
A Generate-Test-Aggregate Parallel Programming Library on Spark
 
Introduction of A Lightweight Stage-Programming Framework
Introduction of A Lightweight Stage-Programming FrameworkIntroduction of A Lightweight Stage-Programming Framework
Introduction of A Lightweight Stage-Programming Framework
 
Introduction of the Design of A High-level Language over MapReduce -- The Pig...
Introduction of the Design of A High-level Language over MapReduce -- The Pig...Introduction of the Design of A High-level Language over MapReduce -- The Pig...
Introduction of the Design of A High-level Language over MapReduce -- The Pig...
 
On Extending MapReduce - Survey and Experiments
On Extending MapReduce - Survey and ExperimentsOn Extending MapReduce - Survey and Experiments
On Extending MapReduce - Survey and Experiments
 
Tree representation in map reduce world
Tree representation  in map reduce worldTree representation  in map reduce world
Tree representation in map reduce world
 
Introduction to Ultra-succinct representation of ordered trees with applications
Introduction to Ultra-succinct representation of ordered trees with applicationsIntroduction to Ultra-succinct representation of ordered trees with applications
Introduction to Ultra-succinct representation of ordered trees with applications
 
On Implementation of Neuron Network(Back-propagation)
On Implementation of Neuron Network(Back-propagation)On Implementation of Neuron Network(Back-propagation)
On Implementation of Neuron Network(Back-propagation)
 
ScrewDriver Rebirth: Generate-Test-and-Aggregate Framework on Hadoop
ScrewDriver Rebirth: Generate-Test-and-Aggregate Framework on HadoopScrewDriver Rebirth: Generate-Test-and-Aggregate Framework on Hadoop
ScrewDriver Rebirth: Generate-Test-and-Aggregate Framework on Hadoop
 

Recently uploaded

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 

Recently uploaded (20)

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 

A Homomorphism-based MapReduce Framework for Systematic Parallel Programming

  • 1. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation A Homomorphism-based MapReduce Framework for Systematic Parallel Programming Yu Liu The Graduate University for Advanced Studies Jan 12, 2011 Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 2. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation Outline 1 Motivations 2 Brief introduction of MapReduce 3 The Homomorphism-based Framework 4 Case Study: Parallel sum, Maximum prefix sum, Variance of numbers 5 Experimental Results Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 3. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation Motivation of This Talk Show how to make programming with MapReduce easier. Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 4. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation Motivation of This Talk Show how to make programming with MapReduce easier. Introduce an approach of automatic parallel program generating. Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 5. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation Programming Paradigm of MapReduce List Homomorphism and Homomorphism Theorems MapReduce Programming model The Computation of MapReduce Framework Google’s MapReduce is a parallel-distributed programming model, together with an associated implementation, for processing very large data sets in a massively parallel manner. Components of a MapReduce program (Hadoop) A Mapper; A Partitioner that can be used shuffling data; A Combiner that can be used doing local reduction; A Reducer ; A Comparator can be used while sorting or grouping; Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 6. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation Programming Paradigm of MapReduce List Homomorphism and Homomorphism Theorems MapReduce Programming model MapReduce Data-processing flow Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 7. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation Programming Paradigm of MapReduce List Homomorphism and Homomorphism Theorems MapReduce Programming model A simple functional specifcation of the MapReduce framework Function mapS is a set version of the map function. Function groupByKey :: {[(k, v)]} → {(k, [v])} takes a set of list of key-value pairs (each pair is called a record) and groups the values of the same key into a list. Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 8. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation Programming Paradigm of MapReduce List Homomorphism and Homomorphism Theorems Maximum Prefix Sum problem The Maximum Prefix Sum problem (mps) is to find the maximum prefix-summation in a list: 3, −1, 4, 1, −5, 9, 2, −6, 5 This problem seems not obvious to solve this problem efficiently with MapReduce. Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 9. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation Programming Paradigm of MapReduce List Homomorphism and Homomorphism Theorems List Homomorphism Function h is said to be a list homomorphism If there are a function f and an associated operator such that for any list x and list y h [a] = f a h (x ++ y) = h(x) h(y). Where ++ is the list concatenation. For instance, the function sum can be described as a list homomorphism sum [a] = a sum (x ++ y) = sum x + sum y. Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 10. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation Programming Paradigm of MapReduce List Homomorphism and Homomorphism Theorems List Homomorphism and Homomorphism Theorems Leftwards function Function h is leftwards if it is defined in the following form with function f and operator ⊕, h [a] = f a h ([a] ++ x) = a ⊕ h x. Rightwards function Function h is rightwards if it is defined in the following form with function f and operator ⊗, h [a] = f a h (x ++ [a]) = h x ⊗ a. Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 11. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation Programming Paradigm of MapReduce List Homomorphism and Homomorphism Theorems List Homomorphism and Homomorphism Theorems Map and Reduce For a given function f , the function of the form ([[·] ◦ f , ++ ]) is a map function, and is written as map f . ———————————————————————————— The function of the form ([id, ]) for some is a reduce function, and is written as reduce ( ). The First Homomorphism Theorem Any homomorphism can be written as the composition of a map and a reduce: ([f , ]) = reduce ( ) ◦ map f . Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 12. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation Programming Paradigm of MapReduce List Homomorphism and Homomorphism Theorems List Homomorphism and Homomorphism Theorems The Third Homomorphism Theorem Function h can be described as a list homomorphism, iff ∃ and ∃ f such that: h = ([f , ]) if and only if there exist f , ⊕, and ⊕ such that h [a] = f a h ([a] ++ x) = a ⊕ h x h (x ++ [b]) = h x ⊗ b. The third homomorphism gives a necessary and sufficient condition for the existence of a list homomorphism. Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 13. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation Automatic Parallelization Case Study A homomorphism-based framework wrapping MapReduce To make it easy for resolving problems such as mps by MapReduce. We using the knowledge of homomorphism especially the third homomorphism theorem to wrapping MapReduce model. Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 14. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation Automatic Parallelization Case Study A homomorphism-based framework wrapping MapReduce Basic Homomorphism-Programming Interface filter :: a → b aggregator :: b → b → b. The implementlation on Hadoop Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 15. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation Automatic Parallelization Case Study A homomorphism-based framework wrapping MapReduce A simple example of using this interface for computing the sum of a list The implementlation on Hadoop Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 16. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation Automatic Parallelization Case Study A homomorphism-based framework wrapping MapReduce Programming Interface with Right Inverse fold :: [a] → b unfold :: b → [a]. The implementlation on Hadoop Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 17. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation Automatic Parallelization Case Study A homomorphism-based framework wrapping MapReduce A simple example of using this interface for computing the sum of a list The implementlation on Hadoop Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 18. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation Automatic Parallelization Case Study A homomorphism-based framework wrapping MapReduce Requirements of using this interface in addition to the right-inverse property of unfold over fold. Both leftwards and rightwards functions exist fold([a] ++ x) = fold([a] ++ unfold(fold(x))) fold(x ++ [a]) = fold(unfold(fold(x)) ++ [a]). Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 19. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation Automatic Parallelization Case Study The implementation of homomorphism framework upon Hadoop To implement our programming interface with Hadoop, we need to consider how to represent lists in a distributed manner. Set of pairs as list We use integer as the index’s type, the list [a, b, c, d, e] is represented by {(3, d), (1, b), (2, c), (0, a), (4, e)}. Set of pairs as distributed List We can represent the above list as two sub-sets {((0, 1), b), ((0, 2), c), ((0, 0), a)} and {((1, 3), d), ((1, 4), e)}, each in different data-nodes Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 20. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation Automatic Parallelization Case Study The implementation of homomorphism framework upon Hadoop The first homomorphism theorem implies that a list homomorphism can be implemented by MapReduce, at least two passes of MapReduce. Defination of homMR homMR :: (α → β) → (β → β → β) → {(ID, α)} → β homMR f (⊕) = getValue ◦ MapReduce mapper2 reducer2 ◦ MapReduce mapper1 reducer1 where mapper1 :: (ID, α)) → [((ID, ID), β))] mapper1 (i, a) = [((pid, i), b)] Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 21. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation Automatic Parallelization Case Study The implementation of homomorphism framework upon Hadoop Defination of homMR reducer1 :: (ID, ID) → [β] → β reducer1 ((p, j), ias)) = hom f (⊕) ias mapper2 :: ((ID, ID), β) → [((ID, ID), β)] mapper2 ((p, j), b) = [((0, j), b)] reducer2 :: (ID, ID) → [β] → β reducer2 ((0, k), jbs) = hom (⊕) jbs getValue {(0, b)} = b Where, hom f (⊕) denotes a sequential version of ([f , ⊕]). Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 22. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation Automatic Parallelization Case Study The leftwards and rightwardsfunction Derivation by right inverse leftwards([a] ++ x) = fold([a] ++ unfold(fold(x))) rightwards(x ++ [a]) = fold(unfold(fold x) ++ [a]). Now if for all xs, rightwards xs = leftwards xs, (1) then a list homomorphism ([f , ⊕]) that computes fold can be obtained automatically, where f and ⊕ are defined as follows: Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 23. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation Automatic Parallelization Case Study The leftwards and rightwardsfunction Derivation by right inverse f a = fold([a]) a ⊕ b = fold(unfold a ++ unfold b). Equation (1) should be satisfied. Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 24. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation Automatic Parallelization Case Study Programming with this homomorphism framework MPS A sequential program Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 25. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation Automatic Parallelization Case Study Programming with this homomorphism framework MPS A tupled function Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 26. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation MPS (mps sum) [a] = (a ↑ 0, a) (mps sum) (x + +[a]) = let (m, s) = (mps sum) x in (m ↑ (s + a We use this tupled function as the fold function. The right inverse of the tupled function, (mps sum)◦: (mps sum)◦ (m, s) = [m, s − m] Noting that for the any result (m, s) of the tupled function the inequality m s hold, Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 27. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation The implementation of homomorphism framework upon Hadoop performance tests Environment:Hardware COE cluster in Tokyo University which has 192 computing nodes. We choose 16 , 8 , 4 , 2 and 1 node to run the MapReduce-MPS program. Each node has 2 Xeon(Nocona) CPU with 2GB RAM. Environment:Software Linux2.6.26 ,Hadoop0.20.2 +HDFS Hadoop configuration: heap size= 1024MB maximum mapper pre node: 2 maximum reducer pre node: 2 Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 28. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation Performance The input data Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 29. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation Performance The time consuming of calculate 100 million-long list (SequenceFile, Pair < Long >): Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 30. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation Performance The speedup of 2-16 nodes: Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 31. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation Performance Comparison of 2 version SUM Comparison of 2-16 nodes: Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 32. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation Performance Conclusions The time curve indicate the system scalability with the number of computing nodes. The curve between x-axis 2 and 8 has biggest slope, when the curve reaches to 16, the slope decreased, that is because when there are more nodes, the overhead of communication increased. Totally, the curve shows the scalability is near-linear. Overhead of 2 phases Map-Reduce. Overhead of Java reflection. Not support local reduction now (not implemented yet). Yu Liu A Homomorphism-based MapReduce Framework for Systematic P
  • 33. Outline Motivation Brief introduction of background The Design of Homomorphism-based Framework on MapReduce Case Study Performance Evaluation The end Questions? ? Yu Liu A Homomorphism-based MapReduce Framework for Systematic P