SlideShare ist ein Scribd-Unternehmen logo
1 von 33
Performance Modeling of
Stream Joins
Vincenzo Gulisano1, Alessandro V. Papadopoulos2, Yiannis Nikolakopoulos1,
Marina Papatriantafilou1, Philippas Tsigas1
1 2
Agenda – Performance modeling of stream joins
• Performance modeling of stream joins
• Performance modeling of stream joins
• The model
• Evaluation
• Conclusions
V. Gulisano Performance Modeling of Stream Joins 2
Streaming applications:
OP
OP
OP
Static/dynamic decisions:
- deployment
- load balancing
- elasticity
- load shedding
f(operators’ cost / throughput / latency ...)
measure (live)
take decisions
model
V. Gulisano Performance Modeling of Stream Joins 3
Agenda – Performance modeling of stream joins
• Performance modeling of stream joins
• Performance modeling of stream joins
• The model
• Evaluation
• Conclusions
V. Gulisano Performance Modeling of Stream Joins 4
V. Gulisano 5
Out
WR
WS
Time-based windows
- FIXED interval of time
- VARIABLE number of tuples
Tuple-based windows
- VARIABLE interval of time
- FIXED number of tuples
Stream joins
R
S
<ts,A1,...,An>
Performance Modeling of Stream Joins
V. Gulisano 6
R
S
WR
WS
Deterministic execution
- results do not depend on the
interleaving of R and S tuples
Process ready tuples in timestamp order
A tuple is ready if its timestamp is less
than or equal to the minimum of the
last tuple’s timestamp from R and S
Stream joins – deterministic execution
READY
Performance Modeling of Stream Joins
V. Gulisano 7
Stream joins – multiple physical streams
|R|
|S|
WR
WS
READY
Performance Modeling of Stream Joins
V. Gulisano 8
Stream joins – parallel execution
Out
READY
n threads
WR
WS
thread
WR
WS
thread
...
READY
~ 1/n of comparisons, 1/n of outputs
Performance Modeling of Stream Joins
Agenda – Performance modeling of stream joins
• Performance modeling of stream joins
• Performance modeling of stream joins
• The model
• Evaluation
• Conclusions
V. Gulisano Performance Modeling of Stream Joins 9
Modeling goal
V. Gulisano Performance Modeling of Stream Joins 10
Stream
join
Characteristics of
the input streams
Configuration
Throughput yi
Latency li
Out
R
S
Latency
Time difference
over time interval i
Scope of the presentation
• The presentation covers only a portion of the whole model in the
paper
• Equations can be found in the paper
• Presentation covers and discusses main dependencies between
• Input characteristics <-> Throughput / Latency
• Join configuration <-> Throughput / Latency
V. Gulisano Performance Modeling of Stream Joins 11
Step-by-step model
1. Non-deterministic stream join
2. Deterministic stream join with multiple physical streams
3. Deterministic parallel stream join with multiple physical
streams
V. Gulisano Performance Modeling of Stream Joins 12
V. Gulisano 13
R
S
WR
WS
Out
Time-based Tuple-based
y
ljoin
∝ ri, si
∝ ωR
i, ωS
i
Non-deterministic stream join
ri
si
ωRωi
ωSωi
∝ ωR
i, ωS
i
∝ ri, si
∝ ri, si
Performance Modeling of Stream Joins
Dependencies
Deterministic stream join with multiple physical streams
V. Gulisano Performance Modeling of Stream Joins 14
|R|
|S|
WR
WS
thread
READY
V. Gulisano Performance Modeling of Stream Joins 15
1
2
3
Deterministic stream join with multiple physical streams
latency overhead for results produced by 1
V. Gulisano Performance Modeling of Stream Joins 16
2
3
4
Deterministic stream join with multiple physical streams
latency overhead for results produced by 2
V. Gulisano Performance Modeling of Stream Joins 17
3
4
5
Deterministic stream join with multiple physical streams
latency overhead for results produced by 3
V. Gulisano 18Performance Modeling of Stream Joins
Time-based Tuple-based
y
ljoin
lin
∝ ri, si
∝ ωR
i, ωS
i
∝ ωR
i, ωS
i
∝ ri, si
∝ ri, si
∝ 1/ri, 1/si
∝ |R|, |S|
|R|
|S|
WR
WS
thread
READY
Deterministic stream join with multiple physical streams
Dependencies
V. Gulisano Performance Modeling of Stream Joins 19
Time-based Tuple-based
y
ljoin
lin
lout
∝ ri, si
∝ ωR
i, ωS
i
∝ ωR
i, ωS
i
∝ ri, si
∝ ri, si
∝ 1/ri, 1/si
∝ |R|, |S|
∝ 1/n
∝ n
n threads
WR
WS
thread
WR
WS
thread
...
READY
Out
READY
Deterministic parallel stream join with multiple physical streams
Dependencies
Agenda – Performance modeling of stream joins
• Performance modeling of stream joins
• Performance modeling of stream joins
• The model
• Evaluation
• Conclusions
V. Gulisano Performance Modeling of Stream Joins 20
Evaluation
• Runs common benchmark (Handshake Join, ScaleJoin)
• results compare the simulator’s output with a Java implementation
(available at https://github.com/dcs-chalmers/Join_Model)
V. Gulisano Performance Modeling of Stream Joins 21
Evaluation - Throughput
V. Gulisano Performance Modeling of Stream Joins 22
Evaluation - Throughput
V. Gulisano Performance Modeling of Stream Joins 23
Evaluation - Throughput
V. Gulisano Performance Modeling of Stream Joins 24
Evaluation – Latency
V. Gulisano Performance Modeling of Stream Joins 25
Non deterministic
Evaluation – Latency
V. Gulisano Performance Modeling of Stream Joins 26
Non deterministic
Evaluation – Latency
V. Gulisano Performance Modeling of Stream Joins 27
Non deterministic Deterministic, 5 physical streams
Evaluation – Latency
V. Gulisano Performance Modeling of Stream Joins 28
Non deterministic Deterministic, 5 physical streams
Evaluation – Latency
V. Gulisano Performance Modeling of Stream Joins 29
Deterministic, 5 physical streams Deterministic, parallel (3 threads), 5 physical streams
Evaluation – Latency
V. Gulisano Performance Modeling of Stream Joins 30
Deterministic, 5 physical streams Deterministic, parallel (3 threads), 5 physical streams
Agenda – Performance modeling of stream joins
• Performance modeling of stream joins
• Performance modeling of stream joins
• The model
• Evaluation
• Conclusions
V. Gulisano Performance Modeling of Stream Joins 31
Conclusions
Comprehensive dynamic model for stream joins
• Non-deterministic vs deterministic execution
• Single vs multiple physical streams
• Centralized vs parallel
• Non-saturated vs saturated
Very close matching between the model and empirical measurements
Open for future work, for instance:
• Other operators
• Worst case vs average case
...
V. Gulisano Performance Modeling of Stream Joins 32
Thanks! questions?
V. Gulisano Performance Modeling of Stream Joins 33

Weitere ähnliche Inhalte

Ähnlich wie Performance Modeling of Stream Joins

Flow Analysis of Butterfly Valve Using CFD
Flow Analysis of Butterfly Valve Using CFDFlow Analysis of Butterfly Valve Using CFD
Flow Analysis of Butterfly Valve Using CFDIJMER
 
Ijmer 46055056
Ijmer 46055056Ijmer 46055056
Ijmer 46055056IJMER
 
CV_Kushal Gowda_Dec 2016
CV_Kushal Gowda_Dec 2016CV_Kushal Gowda_Dec 2016
CV_Kushal Gowda_Dec 2016Kushal Gowda
 
Softeng
SoftengSofteng
Softengralrez
 
cDynamics AS NAFEMS Nordic 2018 Presentation
cDynamics AS NAFEMS Nordic 2018 PresentationcDynamics AS NAFEMS Nordic 2018 Presentation
cDynamics AS NAFEMS Nordic 2018 PresentationChris Pounds
 
1.2 Waterfall model.pptx
1.2 Waterfall model.pptx1.2 Waterfall model.pptx
1.2 Waterfall model.pptxJAYAPRIYAR7
 
Application of OpenSees in Reliability-based Design Optimization of Structures
Application of OpenSees in Reliability-based Design Optimization of StructuresApplication of OpenSees in Reliability-based Design Optimization of Structures
Application of OpenSees in Reliability-based Design Optimization of Structuresopenseesdays
 
The benefits of fine-grained synchronization in deterministic and efficient ...
The benefits of fine-grained synchronization in  deterministic and efficient ...The benefits of fine-grained synchronization in  deterministic and efficient ...
The benefits of fine-grained synchronization in deterministic and efficient ...Vincenzo Gulisano
 
ANALYSIS AND EVALUATION OF COEFFICIENT OF DISCHARGE ON ORIFICE PLATE AND FLOW...
ANALYSIS AND EVALUATION OF COEFFICIENT OF DISCHARGE ON ORIFICE PLATE AND FLOW...ANALYSIS AND EVALUATION OF COEFFICIENT OF DISCHARGE ON ORIFICE PLATE AND FLOW...
ANALYSIS AND EVALUATION OF COEFFICIENT OF DISCHARGE ON ORIFICE PLATE AND FLOW...IRJET Journal
 
Knowledge Management: Using A “Flight Simulator” Concept To Support Successio...
Knowledge Management: Using A “Flight Simulator” Concept To Support Successio...Knowledge Management: Using A “Flight Simulator” Concept To Support Successio...
Knowledge Management: Using A “Flight Simulator” Concept To Support Successio...Malcolm Fabiyi
 
AITPM Conference Presentation -Callan Stirzaker
AITPM Conference Presentation -Callan StirzakerAITPM Conference Presentation -Callan Stirzaker
AITPM Conference Presentation -Callan StirzakerJumpingJaq
 
V model - Testing and Implementation of Information Systems
V model - Testing and Implementation of Information SystemsV model - Testing and Implementation of Information Systems
V model - Testing and Implementation of Information SystemsAditya Ramadhan
 
A Review of Criteria of Fit for Hydrological Models
 A Review of Criteria of Fit for Hydrological Models A Review of Criteria of Fit for Hydrological Models
A Review of Criteria of Fit for Hydrological ModelsIRJET Journal
 
CFD Approach of Mixed Flow Submersible Pump
CFD Approach of Mixed Flow Submersible PumpCFD Approach of Mixed Flow Submersible Pump
CFD Approach of Mixed Flow Submersible Pumpbusiness info
 

Ähnlich wie Performance Modeling of Stream Joins (20)

Project report12
Project report12Project report12
Project report12
 
Flow Analysis of Butterfly Valve Using CFD
Flow Analysis of Butterfly Valve Using CFDFlow Analysis of Butterfly Valve Using CFD
Flow Analysis of Butterfly Valve Using CFD
 
Ijmer 46055056
Ijmer 46055056Ijmer 46055056
Ijmer 46055056
 
CV_Kushal Gowda_Dec 2016
CV_Kushal Gowda_Dec 2016CV_Kushal Gowda_Dec 2016
CV_Kushal Gowda_Dec 2016
 
SDP Presentation.pptx
SDP Presentation.pptxSDP Presentation.pptx
SDP Presentation.pptx
 
Softeng
SoftengSofteng
Softeng
 
cDynamics AS NAFEMS Nordic 2018 Presentation
cDynamics AS NAFEMS Nordic 2018 PresentationcDynamics AS NAFEMS Nordic 2018 Presentation
cDynamics AS NAFEMS Nordic 2018 Presentation
 
Poster Presentation
Poster PresentationPoster Presentation
Poster Presentation
 
1.2 Waterfall model.pptx
1.2 Waterfall model.pptx1.2 Waterfall model.pptx
1.2 Waterfall model.pptx
 
Application of OpenSees in Reliability-based Design Optimization of Structures
Application of OpenSees in Reliability-based Design Optimization of StructuresApplication of OpenSees in Reliability-based Design Optimization of Structures
Application of OpenSees in Reliability-based Design Optimization of Structures
 
Rating curve design,practice and problems
Rating curve design,practice and problemsRating curve design,practice and problems
Rating curve design,practice and problems
 
Performance testing and specifications
Performance testing and specificationsPerformance testing and specifications
Performance testing and specifications
 
The benefits of fine-grained synchronization in deterministic and efficient ...
The benefits of fine-grained synchronization in  deterministic and efficient ...The benefits of fine-grained synchronization in  deterministic and efficient ...
The benefits of fine-grained synchronization in deterministic and efficient ...
 
ANALYSIS AND EVALUATION OF COEFFICIENT OF DISCHARGE ON ORIFICE PLATE AND FLOW...
ANALYSIS AND EVALUATION OF COEFFICIENT OF DISCHARGE ON ORIFICE PLATE AND FLOW...ANALYSIS AND EVALUATION OF COEFFICIENT OF DISCHARGE ON ORIFICE PLATE AND FLOW...
ANALYSIS AND EVALUATION OF COEFFICIENT OF DISCHARGE ON ORIFICE PLATE AND FLOW...
 
Knowledge Management: Using A “Flight Simulator” Concept To Support Successio...
Knowledge Management: Using A “Flight Simulator” Concept To Support Successio...Knowledge Management: Using A “Flight Simulator” Concept To Support Successio...
Knowledge Management: Using A “Flight Simulator” Concept To Support Successio...
 
AITPM Conference Presentation -Callan Stirzaker
AITPM Conference Presentation -Callan StirzakerAITPM Conference Presentation -Callan Stirzaker
AITPM Conference Presentation -Callan Stirzaker
 
V model - Testing and Implementation of Information Systems
V model - Testing and Implementation of Information SystemsV model - Testing and Implementation of Information Systems
V model - Testing and Implementation of Information Systems
 
Lecture 1 OOSE.pdf
Lecture 1 OOSE.pdfLecture 1 OOSE.pdf
Lecture 1 OOSE.pdf
 
A Review of Criteria of Fit for Hydrological Models
 A Review of Criteria of Fit for Hydrological Models A Review of Criteria of Fit for Hydrological Models
A Review of Criteria of Fit for Hydrological Models
 
CFD Approach of Mixed Flow Submersible Pump
CFD Approach of Mixed Flow Submersible PumpCFD Approach of Mixed Flow Submersible Pump
CFD Approach of Mixed Flow Submersible Pump
 

Mehr von Vincenzo Gulisano

Tutorial: The Role of Event-Time Analysis Order in Data Streaming
Tutorial: The Role of Event-Time Analysis Order in Data StreamingTutorial: The Role of Event-Time Analysis Order in Data Streaming
Tutorial: The Role of Event-Time Analysis Order in Data StreamingVincenzo Gulisano
 
Crash course on data streaming (with examples using Apache Flink)
Crash course on data streaming (with examples using Apache Flink)Crash course on data streaming (with examples using Apache Flink)
Crash course on data streaming (with examples using Apache Flink)Vincenzo Gulisano
 
The data streaming processing paradigm and its use in modern fog architectures
The data streaming processing paradigm and its use in modern fog architecturesThe data streaming processing paradigm and its use in modern fog architectures
The data streaming processing paradigm and its use in modern fog architecturesVincenzo Gulisano
 
Data Streaming in Big Data Analysis
Data Streaming in Big Data AnalysisData Streaming in Big Data Analysis
Data Streaming in Big Data AnalysisVincenzo Gulisano
 
Data Streaming in IoT and Big Data Analytics
Data Streaming in  IoT and Big Data AnalyticsData Streaming in  IoT and Big Data Analytics
Data Streaming in IoT and Big Data AnalyticsVincenzo Gulisano
 
The data streaming paradigm and its use in Fog architectures
The data streaming paradigm and its use in Fog architecturesThe data streaming paradigm and its use in Fog architectures
The data streaming paradigm and its use in Fog architecturesVincenzo Gulisano
 
Data Streaming (in a Nutshell) ... and Spark's window operations
Data Streaming (in a Nutshell) ... and Spark's window operationsData Streaming (in a Nutshell) ... and Spark's window operations
Data Streaming (in a Nutshell) ... and Spark's window operationsVincenzo Gulisano
 
ScaleJoin: a Deterministic, Disjoint-Parallel and Skew-Resilient Stream Join
ScaleJoin: a Deterministic, Disjoint-Parallel and Skew-Resilient Stream JoinScaleJoin: a Deterministic, Disjoint-Parallel and Skew-Resilient Stream Join
ScaleJoin: a Deterministic, Disjoint-Parallel and Skew-Resilient Stream JoinVincenzo Gulisano
 

Mehr von Vincenzo Gulisano (9)

Tutorial: The Role of Event-Time Analysis Order in Data Streaming
Tutorial: The Role of Event-Time Analysis Order in Data StreamingTutorial: The Role of Event-Time Analysis Order in Data Streaming
Tutorial: The Role of Event-Time Analysis Order in Data Streaming
 
Crash course on data streaming (with examples using Apache Flink)
Crash course on data streaming (with examples using Apache Flink)Crash course on data streaming (with examples using Apache Flink)
Crash course on data streaming (with examples using Apache Flink)
 
Strel streaming
Strel streamingStrel streaming
Strel streaming
 
The data streaming processing paradigm and its use in modern fog architectures
The data streaming processing paradigm and its use in modern fog architecturesThe data streaming processing paradigm and its use in modern fog architectures
The data streaming processing paradigm and its use in modern fog architectures
 
Data Streaming in Big Data Analysis
Data Streaming in Big Data AnalysisData Streaming in Big Data Analysis
Data Streaming in Big Data Analysis
 
Data Streaming in IoT and Big Data Analytics
Data Streaming in  IoT and Big Data AnalyticsData Streaming in  IoT and Big Data Analytics
Data Streaming in IoT and Big Data Analytics
 
The data streaming paradigm and its use in Fog architectures
The data streaming paradigm and its use in Fog architecturesThe data streaming paradigm and its use in Fog architectures
The data streaming paradigm and its use in Fog architectures
 
Data Streaming (in a Nutshell) ... and Spark's window operations
Data Streaming (in a Nutshell) ... and Spark's window operationsData Streaming (in a Nutshell) ... and Spark's window operations
Data Streaming (in a Nutshell) ... and Spark's window operations
 
ScaleJoin: a Deterministic, Disjoint-Parallel and Skew-Resilient Stream Join
ScaleJoin: a Deterministic, Disjoint-Parallel and Skew-Resilient Stream JoinScaleJoin: a Deterministic, Disjoint-Parallel and Skew-Resilient Stream Join
ScaleJoin: a Deterministic, Disjoint-Parallel and Skew-Resilient Stream Join
 

Kürzlich hochgeladen

Base editing, prime editing, Cas13 & RNA editing and organelle base editing
Base editing, prime editing, Cas13 & RNA editing and organelle base editingBase editing, prime editing, Cas13 & RNA editing and organelle base editing
Base editing, prime editing, Cas13 & RNA editing and organelle base editingNetHelix
 
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...Universidade Federal de Sergipe - UFS
 
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...lizamodels9
 
BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.
BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.
BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.PraveenaKalaiselvan1
 
Bioteknologi kelas 10 kumer smapsa .pptx
Bioteknologi kelas 10 kumer smapsa .pptxBioteknologi kelas 10 kumer smapsa .pptx
Bioteknologi kelas 10 kumer smapsa .pptx023NiWayanAnggiSriWa
 
Pests of safflower_Binomics_Identification_Dr.UPR.pdf
Pests of safflower_Binomics_Identification_Dr.UPR.pdfPests of safflower_Binomics_Identification_Dr.UPR.pdf
Pests of safflower_Binomics_Identification_Dr.UPR.pdfPirithiRaju
 
THE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptx
THE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptxTHE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptx
THE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptxNandakishor Bhaurao Deshmukh
 
User Guide: Magellan MX™ Weather Station
User Guide: Magellan MX™ Weather StationUser Guide: Magellan MX™ Weather Station
User Guide: Magellan MX™ Weather StationColumbia Weather Systems
 
RESPIRATORY ADAPTATIONS TO HYPOXIA IN HUMNAS.pptx
RESPIRATORY ADAPTATIONS TO HYPOXIA IN HUMNAS.pptxRESPIRATORY ADAPTATIONS TO HYPOXIA IN HUMNAS.pptx
RESPIRATORY ADAPTATIONS TO HYPOXIA IN HUMNAS.pptxFarihaAbdulRasheed
 
Transposable elements in prokaryotes.ppt
Transposable elements in prokaryotes.pptTransposable elements in prokaryotes.ppt
Transposable elements in prokaryotes.pptArshadWarsi13
 
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdf
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdfPests of Blackgram, greengram, cowpea_Dr.UPR.pdf
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdfPirithiRaju
 
(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)
(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)
(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)riyaescorts54
 
Functional group interconversions(oxidation reduction)
Functional group interconversions(oxidation reduction)Functional group interconversions(oxidation reduction)
Functional group interconversions(oxidation reduction)itwameryclare
 
Harmful and Useful Microorganisms Presentation
Harmful and Useful Microorganisms PresentationHarmful and Useful Microorganisms Presentation
Harmful and Useful Microorganisms Presentationtahreemzahra82
 
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptxLIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptxmalonesandreagweneth
 
Good agricultural practices 3rd year bpharm. herbal drug technology .pptx
Good agricultural practices 3rd year bpharm. herbal drug technology .pptxGood agricultural practices 3rd year bpharm. herbal drug technology .pptx
Good agricultural practices 3rd year bpharm. herbal drug technology .pptxSimeonChristian
 
Microphone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptxMicrophone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptxpriyankatabhane
 
User Guide: Orion™ Weather Station (Columbia Weather Systems)
User Guide: Orion™ Weather Station (Columbia Weather Systems)User Guide: Orion™ Weather Station (Columbia Weather Systems)
User Guide: Orion™ Weather Station (Columbia Weather Systems)Columbia Weather Systems
 
User Guide: Pulsar™ Weather Station (Columbia Weather Systems)
User Guide: Pulsar™ Weather Station (Columbia Weather Systems)User Guide: Pulsar™ Weather Station (Columbia Weather Systems)
User Guide: Pulsar™ Weather Station (Columbia Weather Systems)Columbia Weather Systems
 

Kürzlich hochgeladen (20)

Base editing, prime editing, Cas13 & RNA editing and organelle base editing
Base editing, prime editing, Cas13 & RNA editing and organelle base editingBase editing, prime editing, Cas13 & RNA editing and organelle base editing
Base editing, prime editing, Cas13 & RNA editing and organelle base editing
 
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...
 
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...
 
Volatile Oils Pharmacognosy And Phytochemistry -I
Volatile Oils Pharmacognosy And Phytochemistry -IVolatile Oils Pharmacognosy And Phytochemistry -I
Volatile Oils Pharmacognosy And Phytochemistry -I
 
BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.
BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.
BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.
 
Bioteknologi kelas 10 kumer smapsa .pptx
Bioteknologi kelas 10 kumer smapsa .pptxBioteknologi kelas 10 kumer smapsa .pptx
Bioteknologi kelas 10 kumer smapsa .pptx
 
Pests of safflower_Binomics_Identification_Dr.UPR.pdf
Pests of safflower_Binomics_Identification_Dr.UPR.pdfPests of safflower_Binomics_Identification_Dr.UPR.pdf
Pests of safflower_Binomics_Identification_Dr.UPR.pdf
 
THE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptx
THE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptxTHE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptx
THE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptx
 
User Guide: Magellan MX™ Weather Station
User Guide: Magellan MX™ Weather StationUser Guide: Magellan MX™ Weather Station
User Guide: Magellan MX™ Weather Station
 
RESPIRATORY ADAPTATIONS TO HYPOXIA IN HUMNAS.pptx
RESPIRATORY ADAPTATIONS TO HYPOXIA IN HUMNAS.pptxRESPIRATORY ADAPTATIONS TO HYPOXIA IN HUMNAS.pptx
RESPIRATORY ADAPTATIONS TO HYPOXIA IN HUMNAS.pptx
 
Transposable elements in prokaryotes.ppt
Transposable elements in prokaryotes.pptTransposable elements in prokaryotes.ppt
Transposable elements in prokaryotes.ppt
 
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdf
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdfPests of Blackgram, greengram, cowpea_Dr.UPR.pdf
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdf
 
(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)
(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)
(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)
 
Functional group interconversions(oxidation reduction)
Functional group interconversions(oxidation reduction)Functional group interconversions(oxidation reduction)
Functional group interconversions(oxidation reduction)
 
Harmful and Useful Microorganisms Presentation
Harmful and Useful Microorganisms PresentationHarmful and Useful Microorganisms Presentation
Harmful and Useful Microorganisms Presentation
 
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptxLIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
 
Good agricultural practices 3rd year bpharm. herbal drug technology .pptx
Good agricultural practices 3rd year bpharm. herbal drug technology .pptxGood agricultural practices 3rd year bpharm. herbal drug technology .pptx
Good agricultural practices 3rd year bpharm. herbal drug technology .pptx
 
Microphone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptxMicrophone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptx
 
User Guide: Orion™ Weather Station (Columbia Weather Systems)
User Guide: Orion™ Weather Station (Columbia Weather Systems)User Guide: Orion™ Weather Station (Columbia Weather Systems)
User Guide: Orion™ Weather Station (Columbia Weather Systems)
 
User Guide: Pulsar™ Weather Station (Columbia Weather Systems)
User Guide: Pulsar™ Weather Station (Columbia Weather Systems)User Guide: Pulsar™ Weather Station (Columbia Weather Systems)
User Guide: Pulsar™ Weather Station (Columbia Weather Systems)
 

Performance Modeling of Stream Joins

  • 1. Performance Modeling of Stream Joins Vincenzo Gulisano1, Alessandro V. Papadopoulos2, Yiannis Nikolakopoulos1, Marina Papatriantafilou1, Philippas Tsigas1 1 2
  • 2. Agenda – Performance modeling of stream joins • Performance modeling of stream joins • Performance modeling of stream joins • The model • Evaluation • Conclusions V. Gulisano Performance Modeling of Stream Joins 2
  • 3. Streaming applications: OP OP OP Static/dynamic decisions: - deployment - load balancing - elasticity - load shedding f(operators’ cost / throughput / latency ...) measure (live) take decisions model V. Gulisano Performance Modeling of Stream Joins 3
  • 4. Agenda – Performance modeling of stream joins • Performance modeling of stream joins • Performance modeling of stream joins • The model • Evaluation • Conclusions V. Gulisano Performance Modeling of Stream Joins 4
  • 5. V. Gulisano 5 Out WR WS Time-based windows - FIXED interval of time - VARIABLE number of tuples Tuple-based windows - VARIABLE interval of time - FIXED number of tuples Stream joins R S <ts,A1,...,An> Performance Modeling of Stream Joins
  • 6. V. Gulisano 6 R S WR WS Deterministic execution - results do not depend on the interleaving of R and S tuples Process ready tuples in timestamp order A tuple is ready if its timestamp is less than or equal to the minimum of the last tuple’s timestamp from R and S Stream joins – deterministic execution READY Performance Modeling of Stream Joins
  • 7. V. Gulisano 7 Stream joins – multiple physical streams |R| |S| WR WS READY Performance Modeling of Stream Joins
  • 8. V. Gulisano 8 Stream joins – parallel execution Out READY n threads WR WS thread WR WS thread ... READY ~ 1/n of comparisons, 1/n of outputs Performance Modeling of Stream Joins
  • 9. Agenda – Performance modeling of stream joins • Performance modeling of stream joins • Performance modeling of stream joins • The model • Evaluation • Conclusions V. Gulisano Performance Modeling of Stream Joins 9
  • 10. Modeling goal V. Gulisano Performance Modeling of Stream Joins 10 Stream join Characteristics of the input streams Configuration Throughput yi Latency li Out R S Latency Time difference over time interval i
  • 11. Scope of the presentation • The presentation covers only a portion of the whole model in the paper • Equations can be found in the paper • Presentation covers and discusses main dependencies between • Input characteristics <-> Throughput / Latency • Join configuration <-> Throughput / Latency V. Gulisano Performance Modeling of Stream Joins 11
  • 12. Step-by-step model 1. Non-deterministic stream join 2. Deterministic stream join with multiple physical streams 3. Deterministic parallel stream join with multiple physical streams V. Gulisano Performance Modeling of Stream Joins 12
  • 13. V. Gulisano 13 R S WR WS Out Time-based Tuple-based y ljoin ∝ ri, si ∝ ωR i, ωS i Non-deterministic stream join ri si ωRωi ωSωi ∝ ωR i, ωS i ∝ ri, si ∝ ri, si Performance Modeling of Stream Joins Dependencies
  • 14. Deterministic stream join with multiple physical streams V. Gulisano Performance Modeling of Stream Joins 14 |R| |S| WR WS thread READY
  • 15. V. Gulisano Performance Modeling of Stream Joins 15 1 2 3 Deterministic stream join with multiple physical streams latency overhead for results produced by 1
  • 16. V. Gulisano Performance Modeling of Stream Joins 16 2 3 4 Deterministic stream join with multiple physical streams latency overhead for results produced by 2
  • 17. V. Gulisano Performance Modeling of Stream Joins 17 3 4 5 Deterministic stream join with multiple physical streams latency overhead for results produced by 3
  • 18. V. Gulisano 18Performance Modeling of Stream Joins Time-based Tuple-based y ljoin lin ∝ ri, si ∝ ωR i, ωS i ∝ ωR i, ωS i ∝ ri, si ∝ ri, si ∝ 1/ri, 1/si ∝ |R|, |S| |R| |S| WR WS thread READY Deterministic stream join with multiple physical streams Dependencies
  • 19. V. Gulisano Performance Modeling of Stream Joins 19 Time-based Tuple-based y ljoin lin lout ∝ ri, si ∝ ωR i, ωS i ∝ ωR i, ωS i ∝ ri, si ∝ ri, si ∝ 1/ri, 1/si ∝ |R|, |S| ∝ 1/n ∝ n n threads WR WS thread WR WS thread ... READY Out READY Deterministic parallel stream join with multiple physical streams Dependencies
  • 20. Agenda – Performance modeling of stream joins • Performance modeling of stream joins • Performance modeling of stream joins • The model • Evaluation • Conclusions V. Gulisano Performance Modeling of Stream Joins 20
  • 21. Evaluation • Runs common benchmark (Handshake Join, ScaleJoin) • results compare the simulator’s output with a Java implementation (available at https://github.com/dcs-chalmers/Join_Model) V. Gulisano Performance Modeling of Stream Joins 21
  • 22. Evaluation - Throughput V. Gulisano Performance Modeling of Stream Joins 22
  • 23. Evaluation - Throughput V. Gulisano Performance Modeling of Stream Joins 23
  • 24. Evaluation - Throughput V. Gulisano Performance Modeling of Stream Joins 24
  • 25. Evaluation – Latency V. Gulisano Performance Modeling of Stream Joins 25 Non deterministic
  • 26. Evaluation – Latency V. Gulisano Performance Modeling of Stream Joins 26 Non deterministic
  • 27. Evaluation – Latency V. Gulisano Performance Modeling of Stream Joins 27 Non deterministic Deterministic, 5 physical streams
  • 28. Evaluation – Latency V. Gulisano Performance Modeling of Stream Joins 28 Non deterministic Deterministic, 5 physical streams
  • 29. Evaluation – Latency V. Gulisano Performance Modeling of Stream Joins 29 Deterministic, 5 physical streams Deterministic, parallel (3 threads), 5 physical streams
  • 30. Evaluation – Latency V. Gulisano Performance Modeling of Stream Joins 30 Deterministic, 5 physical streams Deterministic, parallel (3 threads), 5 physical streams
  • 31. Agenda – Performance modeling of stream joins • Performance modeling of stream joins • Performance modeling of stream joins • The model • Evaluation • Conclusions V. Gulisano Performance Modeling of Stream Joins 31
  • 32. Conclusions Comprehensive dynamic model for stream joins • Non-deterministic vs deterministic execution • Single vs multiple physical streams • Centralized vs parallel • Non-saturated vs saturated Very close matching between the model and empirical measurements Open for future work, for instance: • Other operators • Worst case vs average case ... V. Gulisano Performance Modeling of Stream Joins 32
  • 33. Thanks! questions? V. Gulisano Performance Modeling of Stream Joins 33

Hinweis der Redaktion

  1. Please ask questions / interact the way you prefer
  2. IS IT WORTH?
  3. DO NOT OVERPROVISION
  4. ALSO UNDERPROVISION!