SlideShare a Scribd company logo
1 of 16
Download to read offline
ppbench
A Visualizing Network
Benchmark for Microservices
Nane Kratzke and Peter-Christian Quint
1
Prof. Dr. rer. nat. Nane Kratzke
Computer Science and Business Information Systems
The next 15 to 20 minutes are about ...
•  The cloud-native application stack and microservices, containers
and container clusters (Docker Swarm, Mesos, Kubernetes, etc.)
•  Possible technical and performance impacts of above mentioned
approaches
•  A benchmarking tool for figuring out performance impacts in the
upfront of a microservice design.
•  Some evaluation results of ppbench.
•  Some performance insights you might not know about Ruby, Java,
Go, Dart, Docker (container) and overlay networks like Weave!
Prof. Dr. rer. nat. Nane Kratzke
Computer Science and Business Information Systems
2
Microservices
Prof. Dr. rer. nat. Nane Kratzke
Computer Science and Business Information Systems
3
„The microservice architectural style is an approach to developing a
single application as a suite of small services, each running in its
own process and communicating with lightweight mechnisms, often
an HTTP resource API.“
Martin Fowler
The Cloud-Native Stack (ClouNS)
Prof. Dr. rer. nat. Nane Kratzke
Computer Science and Business Information Systems
4
(1) Different Programming Languages
(2) Overlay Networks
(3) Container
(4) VM Types
However, there is missing a tool ....
Prof. Dr. rer. nat. Nane Kratzke
Computer Science and Business Information Systems
5
to figure out possible impacts of
z  different programming languages
z  overlay networks
z  additional container layer
z  different VM types
z  ...
in the upfront of a microservice design.
Reference Experiment
Prof. Dr. rer. nat. Nane Kratzke
Computer Science and Business Information Systems
6
Experiment to measure reference network performance of REST-like
HTTP-based communication protocols.
Ping and pong services are
implemented in different
TIOBE TOP 50 programming
languages.
And we get visualizations ...
Prof. Dr. rer. nat. Nane Kratzke
Computer Science and Business Information Systems
7
Data Transfer Rates
(bigger is better)
Message Size (kB)
TransferRate(MB/sec)
0 kB 50 kB 150 kB 250 kB 350 kB 450 kB
0MB/sec16MB/sec32MB/sec48MB/sec64MB/sec80MB/sec
● bare on m3.2xlarge For identifying
-  problematic areas
-  skewness of distributions
-  across a wide range of
message sizes
In that case. Dart‘s http
standard libraries seem to
have problems around
message sizes bigger than
three times TCP standard
receive window (dotted
lines).
Skewness is
shifted to bottom
(not preferable).
Skewness is
shifted to top
(preferable).
Impact of Containers
Prof. Dr. rer. nat. Nane Kratzke
Computer Science and Business Information Systems
8
Experiment to measure container impact on network performance of
REST-like HTTP-based communication protocols.
Impact of Software Defined Networks
Prof. Dr. rer. nat. Nane Kratzke
Computer Science and Business Information Systems
9
Experiment to measure additional SDVN impact on network
performance of REST-like HTTP-based communication protocols.
weave
Language Impact
Prof. Dr. rer. nat. Nane Kratzke
Computer Science and Business Information Systems
10
Data Transfer Rates
(bigger is better)
Message Size (kB)
TransferRate(MB/sec)
0 kB 50 kB 150 kB 250 kB 350 kB 450 kB
0MB/sec22MB/sec44MB/sec66MB/sec88MB/sec
●
●
●
●
Go (Exp. P1) on m3.2xlarge
Java (Exp. P2) on m3.2xlarge
Ruby (Exp. P3) on m3.2xlarge
Dart (Exp. P4) on m3.2xlarge
Requests per second in relative comparison
(bigger is better)
Message Size (kB)
Ratio(%)
0kB 50kB 150kB 250kB 350kB 450kB
0%20%40%60%80%110%140%170%200%
●
●
●
●
Reference: Go (Exp. P1) on m3.2xlarge
Java (Exp. P2) on m3.2xlarge
Ruby (Exp. P3) on m3.2xlarge
Dart (Exp. P4) on m3.2xlarge
(1) Different Programming Languages
(1) Language impact should not be undererstimated
(2) Do not overestimate Go.
Overlay Network Impact
Prof. Dr. rer. nat. Nane Kratzke
Computer Science and Business Information Systems
11
Data transfer in relative comparison
(bigger is better)
Message Size (kB)
Ratio(%)
0kB 50kB 150kB 250kB 350kB 450kB
20%50%80%120%
●
●
●
Reference (Exp. S1, S3) on m3.large
Go, SDN deployed (Exp. S2 compared with S1) on m3.large
Ruby, SDN deployed (Exp. S4 compared with S3) on m3.large
(2) Overlay Networks
(1) OK, SDN decreases performance. Not astonishing.
(2) But, SDN can sometimes improve performance!
weave
Container Impact
is likely to be hardly measurable in real world scenarios
Prof. Dr. rer. nat. Nane Kratzke
Computer Science and Business Information Systems
12
Round−trip latency in relative comparison
(smaller is better)
Message Size (kB)
Ratio(%)
0kB 50kB 150kB 250kB 350kB 450kB
90%110%130%
●
●
●
Reference on m3.xlarge (Exp. C1/C3)
Dockerized Go (Exp. C2 compared with C1) on m3.xlarge
Dockerized Dart (Exp. C4 compared with C3) on m3.xlarge
(3) Container
(1) Container impact might be language dependent.
(2) Container impact is most of the times below 10%.
Overlay Network and VM Type
Language impact is more severe than SDN
Prof. Dr. rer. nat. Nane Kratzke
Computer Science and Business Information Systems
13
Data transfer in relative comparison
(bigger is better)
Message Size (kB)
Ratio(%)
0kB 50kB 150kB 250kB 350kB 450kB
40%60%80%100%120% ●
●
●
●
Reference: (Exp. V1, V3, V5)
SDN loss on m3.large (2−core, V2 compared with V1)
SDN loss on m3.xlarge (4−core, V4 compared with V3)
SDN loss on m3.2xlarge (8−core, V6 compared with V5)
(4) VM Types
Decreasing loss
with increase of
cores due to a
reduction of
CPU contention
effects.
(1)  SDN deployed on high core machines decreases performance down to 80% - 90%.
(2)  That is far less than a potential language impact (40% - 190%).
Conclusion
Prof. Dr. rer. nat. Nane Kratzke
Computer Science and Business Information Systems
14
•  ppbench is a benchmarking tool designed to be
used in the upfront of cloud-native application
design processes.
•  ppbench is provided via GitHub:
https://github.com/nkratzke/pingpong
•  You can run arbitrary experiments with ppbench
to inspect possible performance impacts in the
upfront of a service design/implementation.
•  We presented some evaluation results of
ppbench
•  SDN should always be used with high core machine types
•  Programming Language might be more performance
relevant than a SDN
Acknowledgement
•  Stonehenge: Wikipedia, http://pt.wikipedia.org/wiki/Stonehenge
•  Soldier: Pixabay (CC0 Public Domain)
•  Microservices: Robert Morschel, http://www.soa-probe.com/2015/03/microservices-
summary.html
Prof. Dr. rer. nat. Nane Kratzke
Computer Science and Business Information Systems
15
This study was funded by German Federal Ministry of Education and Research (Project Cloud TRANSIT,
03FH021PX4). The author thanks Lübeck University (Institute of Telematics) and fat IT solution GmbH (Kiel)
for their support of Cloud TRANSIT.
Picture Reference
About
Prof. Dr. rer. nat. Nane Kratzke
Computer Science and Business Information Systems
16
Nane Kratzke
CoSA: http://cosa.fh-luebeck.de/en/contact/people/n-kratzke
Blog: http://www.nkode.io
Twitter: @NaneKratzke
GooglePlus: +NaneKratzke
LinkedIn: https://de.linkedin.com/in/nanekratzke
GitHub: https://github.com/nkratzke
ResearchGate: https://www.researchgate.net/profile/Nane_Kratzke
SlideShare: http://de.slideshare.net/i21aneka

More Related Content

What's hot

Analyzing worms and network traffic using compression
Analyzing worms and network traffic using compressionAnalyzing worms and network traffic using compression
Analyzing worms and network traffic using compression
UltraUploader
 

What's hot (20)

High Frequency Trading and NoSQL database
High Frequency Trading and NoSQL databaseHigh Frequency Trading and NoSQL database
High Frequency Trading and NoSQL database
 
Google File System
Google File SystemGoogle File System
Google File System
 
Low level java programming
Low level java programmingLow level java programming
Low level java programming
 
Network Forensics: Packet Analysis Using Wireshark
Network Forensics: Packet Analysis Using WiresharkNetwork Forensics: Packet Analysis Using Wireshark
Network Forensics: Packet Analysis Using Wireshark
 
Writing and testing high frequency trading engines in java
Writing and testing high frequency trading engines in javaWriting and testing high frequency trading engines in java
Writing and testing high frequency trading engines in java
 
GC free coding in @Java presented @Geecon
GC free coding in @Java presented @GeeconGC free coding in @Java presented @Geecon
GC free coding in @Java presented @Geecon
 
Google file system
Google file systemGoogle file system
Google file system
 
2017 Microservices Practitioner Virtual Summit: Ancestry's Journey towards Mi...
2017 Microservices Practitioner Virtual Summit: Ancestry's Journey towards Mi...2017 Microservices Practitioner Virtual Summit: Ancestry's Journey towards Mi...
2017 Microservices Practitioner Virtual Summit: Ancestry's Journey towards Mi...
 
Microservices for performance - GOTO Chicago 2016
Microservices for performance - GOTO Chicago 2016Microservices for performance - GOTO Chicago 2016
Microservices for performance - GOTO Chicago 2016
 
Link Capacity Estimation in SDN-based End-hosts
Link Capacity Estimation in SDN-based End-hostsLink Capacity Estimation in SDN-based End-hosts
Link Capacity Estimation in SDN-based End-hosts
 
Analyzing worms and network traffic using compression
Analyzing worms and network traffic using compressionAnalyzing worms and network traffic using compression
Analyzing worms and network traffic using compression
 
Synopsis on "ANALYZING THE EFFECTIVENESS OF THE ADVANCED ENCRYPTION STANDARD ...
Synopsis on "ANALYZING THE EFFECTIVENESS OF THE ADVANCED ENCRYPTION STANDARD ...Synopsis on "ANALYZING THE EFFECTIVENESS OF THE ADVANCED ENCRYPTION STANDARD ...
Synopsis on "ANALYZING THE EFFECTIVENESS OF THE ADVANCED ENCRYPTION STANDARD ...
 
Apache Storm based Real Time Analytics for Recommending Trending Topics and S...
Apache Storm based Real Time Analytics for Recommending Trending Topics and S...Apache Storm based Real Time Analytics for Recommending Trending Topics and S...
Apache Storm based Real Time Analytics for Recommending Trending Topics and S...
 
Low latency in java 8 v5
Low latency in java 8 v5Low latency in java 8 v5
Low latency in java 8 v5
 
Resource Aware Scheduling in Apache Storm
Resource Aware Scheduling in Apache StormResource Aware Scheduling in Apache Storm
Resource Aware Scheduling in Apache Storm
 
Evaluation of mininet WiFi integration via ns-3
Evaluation of mininet WiFi integration via ns-3Evaluation of mininet WiFi integration via ns-3
Evaluation of mininet WiFi integration via ns-3
 
Open HFT libraries in @Java
Open HFT libraries in @JavaOpen HFT libraries in @Java
Open HFT libraries in @Java
 
Gfs
GfsGfs
Gfs
 
Forensic Analysis - Empower Tech Days 2013
Forensic Analysis - Empower Tech Days 2013Forensic Analysis - Empower Tech Days 2013
Forensic Analysis - Empower Tech Days 2013
 
Shared Memory Performance: Beyond TCP/IP with Ben Cotton, JPMorgan
Shared Memory Performance: Beyond TCP/IP with Ben Cotton, JPMorganShared Memory Performance: Beyond TCP/IP with Ben Cotton, JPMorgan
Shared Memory Performance: Beyond TCP/IP with Ben Cotton, JPMorgan
 

Viewers also liked

The Importance of Technology in Education
The Importance of Technology in EducationThe Importance of Technology in Education
The Importance of Technology in Education
marc_ritteman
 
Happy 19th Birthday!
Happy 19th Birthday! Happy 19th Birthday!
Happy 19th Birthday!
awoo521
 
Bm pemahaman set 5
Bm pemahaman set 5Bm pemahaman set 5
Bm pemahaman set 5
Zam Zainol
 
International xco vale_de_rans
International xco vale_de_ransInternational xco vale_de_rans
International xco vale_de_rans
Maria Juanita
 
Three Act Structure - 'Thinking of You'
Three Act Structure - 'Thinking of You'Three Act Structure - 'Thinking of You'
Three Act Structure - 'Thinking of You'
hannahbutters
 
Visita a la casa de la cascada
Visita a la casa de la cascadaVisita a la casa de la cascada
Visita a la casa de la cascada
Laura Jimenez
 
We 110603
We 110603We 110603
We 110603
jtbanka
 
Týdenní přehled J&T Banka (18. - 22. duben 2011)
Týdenní přehled J&T Banka (18. - 22. duben 2011)Týdenní přehled J&T Banka (18. - 22. duben 2011)
Týdenní přehled J&T Banka (18. - 22. duben 2011)
jtbanka
 

Viewers also liked (19)

FRED: A Hosted Data Flow Platform for the IoT
FRED: A Hosted Data Flow Platform for the IoTFRED: A Hosted Data Flow Platform for the IoT
FRED: A Hosted Data Flow Platform for the IoT
 
Mind Map Time 2a
Mind Map Time 2aMind Map Time 2a
Mind Map Time 2a
 
The Importance of Technology in Education
The Importance of Technology in EducationThe Importance of Technology in Education
The Importance of Technology in Education
 
Happy 19th Birthday!
Happy 19th Birthday! Happy 19th Birthday!
Happy 19th Birthday!
 
Google Adwords para Iniciantes @ HUB Escola
Google Adwords para Iniciantes @ HUB EscolaGoogle Adwords para Iniciantes @ HUB Escola
Google Adwords para Iniciantes @ HUB Escola
 
defesaEvandro
defesaEvandrodefesaEvandro
defesaEvandro
 
NewsMine - Introduction
NewsMine - Introduction NewsMine - Introduction
NewsMine - Introduction
 
Presentation4you
Presentation4youPresentation4you
Presentation4you
 
roseu
roseuroseu
roseu
 
Bm pemahaman set 5
Bm pemahaman set 5Bm pemahaman set 5
Bm pemahaman set 5
 
International xco vale_de_rans
International xco vale_de_ransInternational xco vale_de_rans
International xco vale_de_rans
 
Three Act Structure - 'Thinking of You'
Three Act Structure - 'Thinking of You'Three Act Structure - 'Thinking of You'
Three Act Structure - 'Thinking of You'
 
Visita a la casa de la cascada
Visita a la casa de la cascadaVisita a la casa de la cascada
Visita a la casa de la cascada
 
1 hdc de thi thu truong thpt chuyen le quy don quang tri nam 2015
1 hdc de thi thu truong thpt chuyen le quy don quang tri nam 20151 hdc de thi thu truong thpt chuyen le quy don quang tri nam 2015
1 hdc de thi thu truong thpt chuyen le quy don quang tri nam 2015
 
A Case Study of Fairwinds Credit Union’s Groundbreaking Online Insurance Agen...
A Case Study of Fairwinds Credit Union’s Groundbreaking Online Insurance Agen...A Case Study of Fairwinds Credit Union’s Groundbreaking Online Insurance Agen...
A Case Study of Fairwinds Credit Union’s Groundbreaking Online Insurance Agen...
 
We 110603
We 110603We 110603
We 110603
 
Transforming the Customer Experience in Retail Branch Banking (Credit Union C...
Transforming the Customer Experience in Retail Branch Banking (Credit Union C...Transforming the Customer Experience in Retail Branch Banking (Credit Union C...
Transforming the Customer Experience in Retail Branch Banking (Credit Union C...
 
Fam Law Assoc Pres
Fam Law Assoc PresFam Law Assoc Pres
Fam Law Assoc Pres
 
Týdenní přehled J&T Banka (18. - 22. duben 2011)
Týdenní přehled J&T Banka (18. - 22. duben 2011)Týdenní přehled J&T Banka (18. - 22. duben 2011)
Týdenní přehled J&T Banka (18. - 22. duben 2011)
 

Similar to ppbench - A Visualizing Network Benchmark for Microservices

Resume_052715
Resume_052715Resume_052715
Resume_052715
Phu Sam
 
Towards a Lightweight Multi-Cloud DSL for Elastic and Transferable Cloud-nati...
Towards a Lightweight Multi-Cloud DSL for Elastic and Transferable Cloud-nati...Towards a Lightweight Multi-Cloud DSL for Elastic and Transferable Cloud-nati...
Towards a Lightweight Multi-Cloud DSL for Elastic and Transferable Cloud-nati...
Nane Kratzke
 
AIST Super Green Cloud: lessons learned from the operation and the performanc...
AIST Super Green Cloud: lessons learned from the operation and the performanc...AIST Super Green Cloud: lessons learned from the operation and the performanc...
AIST Super Green Cloud: lessons learned from the operation and the performanc...
Ryousei Takano
 
OpenPackProcessingAccelearation
OpenPackProcessingAccelearationOpenPackProcessingAccelearation
OpenPackProcessingAccelearation
Craig Nuzzo
 
10 years in Network Protocol testing L2 L3 L4-L7 Tcl Python Manual and Automa...
10 years in Network Protocol testing L2 L3 L4-L7 Tcl Python Manual and Automa...10 years in Network Protocol testing L2 L3 L4-L7 Tcl Python Manual and Automa...
10 years in Network Protocol testing L2 L3 L4-L7 Tcl Python Manual and Automa...
Mullaiselvan Mohan
 

Similar to ppbench - A Visualizing Network Benchmark for Microservices (20)

About Microservices, Containers and their Underestimated Impact on Network Pe...
About Microservices, Containers and their Underestimated Impact on Network Pe...About Microservices, Containers and their Underestimated Impact on Network Pe...
About Microservices, Containers and their Underestimated Impact on Network Pe...
 
Resume_052715
Resume_052715Resume_052715
Resume_052715
 
Towards a Lightweight Multi-Cloud DSL for Elastic and Transferable Cloud-nati...
Towards a Lightweight Multi-Cloud DSL for Elastic and Transferable Cloud-nati...Towards a Lightweight Multi-Cloud DSL for Elastic and Transferable Cloud-nati...
Towards a Lightweight Multi-Cloud DSL for Elastic and Transferable Cloud-nati...
 
Spark Summit EU talk by Sameer Agarwal
Spark Summit EU talk by Sameer AgarwalSpark Summit EU talk by Sameer Agarwal
Spark Summit EU talk by Sameer Agarwal
 
AIST Super Green Cloud: lessons learned from the operation and the performanc...
AIST Super Green Cloud: lessons learned from the operation and the performanc...AIST Super Green Cloud: lessons learned from the operation and the performanc...
AIST Super Green Cloud: lessons learned from the operation and the performanc...
 
Notes on a High-Performance JSON Protocol
Notes on a High-Performance JSON ProtocolNotes on a High-Performance JSON Protocol
Notes on a High-Performance JSON Protocol
 
Scaling Streaming - Concepts, Research, Goals
Scaling Streaming - Concepts, Research, GoalsScaling Streaming - Concepts, Research, Goals
Scaling Streaming - Concepts, Research, Goals
 
The 2nd half. Scaling to the next^2
The 2nd half. Scaling to the next^2The 2nd half. Scaling to the next^2
The 2nd half. Scaling to the next^2
 
An Optics Life
An Optics LifeAn Optics Life
An Optics Life
 
Realizing the Promise of Portable Data Processing with Apache Beam
Realizing the Promise of Portable Data Processing with Apache BeamRealizing the Promise of Portable Data Processing with Apache Beam
Realizing the Promise of Portable Data Processing with Apache Beam
 
OpenPackProcessingAccelearation
OpenPackProcessingAccelearationOpenPackProcessingAccelearation
OpenPackProcessingAccelearation
 
"Taming the Dragon": Zenoh's Genesis
"Taming the Dragon": Zenoh's Genesis "Taming the Dragon": Zenoh's Genesis
"Taming the Dragon": Zenoh's Genesis
 
Early-stage topological and technological choices for TSN-based communication...
Early-stage topological and technological choices for TSN-based communication...Early-stage topological and technological choices for TSN-based communication...
Early-stage topological and technological choices for TSN-based communication...
 
Real time machine learning proposers day v3
Real time machine learning proposers day v3Real time machine learning proposers day v3
Real time machine learning proposers day v3
 
10 years in Network Protocol testing L2 L3 L4-L7 Tcl Python Manual and Automa...
10 years in Network Protocol testing L2 L3 L4-L7 Tcl Python Manual and Automa...10 years in Network Protocol testing L2 L3 L4-L7 Tcl Python Manual and Automa...
10 years in Network Protocol testing L2 L3 L4-L7 Tcl Python Manual and Automa...
 
MapReduce on Zero VM
MapReduce on Zero VM MapReduce on Zero VM
MapReduce on Zero VM
 
Network simulator
Network simulatorNetwork simulator
Network simulator
 
Scalability in Software Systems Engineering: The Good, the Bad, and the Ugly ...
Scalability in Software Systems Engineering: The Good, the Bad, and the Ugly ...Scalability in Software Systems Engineering: The Good, the Bad, and the Ugly ...
Scalability in Software Systems Engineering: The Good, the Bad, and the Ugly ...
 
UniK - a unikernel compiler and runtime
UniK - a unikernel compiler and runtimeUniK - a unikernel compiler and runtime
UniK - a unikernel compiler and runtime
 
Smuggling Multi-Cloud Support into Cloud-native Applications using Elastic Co...
Smuggling Multi-Cloud Support into Cloud-native Applications using Elastic Co...Smuggling Multi-Cloud Support into Cloud-native Applications using Elastic Co...
Smuggling Multi-Cloud Support into Cloud-native Applications using Elastic Co...
 

More from Nane Kratzke

We have the Bricks to Build Cloud-native Cathedrals - But do we have the mortar?
We have the Bricks to Build Cloud-native Cathedrals - But do we have the mortar?We have the Bricks to Build Cloud-native Cathedrals - But do we have the mortar?
We have the Bricks to Build Cloud-native Cathedrals - But do we have the mortar?
Nane Kratzke
 
About an Immune System Understanding for Cloud-native Applications - Biology ...
About an Immune System Understanding for Cloud-native Applications - Biology ...About an Immune System Understanding for Cloud-native Applications - Biology ...
About an Immune System Understanding for Cloud-native Applications - Biology ...
Nane Kratzke
 

More from Nane Kratzke (19)

Smart like a Fox: How clever students trick dumb programming assignment asses...
Smart like a Fox: How clever students trick dumb programming assignment asses...Smart like a Fox: How clever students trick dumb programming assignment asses...
Smart like a Fox: How clever students trick dumb programming assignment asses...
 
#BTW17 on Twitter (Die Bundestagswahl 2017 auf Twitter - war der Ausgang abzu...
#BTW17 on Twitter (Die Bundestagswahl 2017 auf Twitter - war der Ausgang abzu...#BTW17 on Twitter (Die Bundestagswahl 2017 auf Twitter - war der Ausgang abzu...
#BTW17 on Twitter (Die Bundestagswahl 2017 auf Twitter - war der Ausgang abzu...
 
About being the Tortoise or the Hare? Making Cloud Applications too Fast and ...
About being the Tortoise or the Hare? Making Cloud Applications too Fast and ...About being the Tortoise or the Hare? Making Cloud Applications too Fast and ...
About being the Tortoise or the Hare? Making Cloud Applications too Fast and ...
 
Serverless Architectures - Where have all the servers gone?
Serverless Architectures - Where have all the servers gone?Serverless Architectures - Where have all the servers gone?
Serverless Architectures - Where have all the servers gone?
 
There is no impenetrable system - So, why we are still waiting to get breached?
There is no impenetrable system - So, why we are still waiting to get breached?There is no impenetrable system - So, why we are still waiting to get breached?
There is no impenetrable system - So, why we are still waiting to get breached?
 
We have the Bricks to Build Cloud-native Cathedrals - But do we have the mortar?
We have the Bricks to Build Cloud-native Cathedrals - But do we have the mortar?We have the Bricks to Build Cloud-native Cathedrals - But do we have the mortar?
We have the Bricks to Build Cloud-native Cathedrals - But do we have the mortar?
 
About an Immune System Understanding for Cloud-native Applications - Biology ...
About an Immune System Understanding for Cloud-native Applications - Biology ...About an Immune System Understanding for Cloud-native Applications - Biology ...
About an Immune System Understanding for Cloud-native Applications - Biology ...
 
Der Bundestagswahlkampf 2017 auf Twitter - War der Ausgang abzusehen?
Der Bundestagswahlkampf 2017 auf Twitter - War der Ausgang abzusehen?Der Bundestagswahlkampf 2017 auf Twitter - War der Ausgang abzusehen?
Der Bundestagswahlkampf 2017 auf Twitter - War der Ausgang abzusehen?
 
Was die Cloud mit einem brennenden Haus zu tun hat
Was die Cloud mit einem brennenden Haus zu tun hatWas die Cloud mit einem brennenden Haus zu tun hat
Was die Cloud mit einem brennenden Haus zu tun hat
 
What the cloud has to do with a burning house?
What the cloud has to do with a burning house?What the cloud has to do with a burning house?
What the cloud has to do with a burning house?
 
ClouNS - A Cloud-native Application Reference Model for Enterprise Architects
ClouNS - A Cloud-native Application Reference Model for Enterprise ArchitectsClouNS - A Cloud-native Application Reference Model for Enterprise Architects
ClouNS - A Cloud-native Application Reference Model for Enterprise Architects
 
RESTful APIs mit Dart
RESTful APIs mit DartRESTful APIs mit Dart
RESTful APIs mit Dart
 
Java Streams und Lambdas
Java Streams und LambdasJava Streams und Lambdas
Java Streams und Lambdas
 
Dart (Teil II der Tour de Dart)
Dart (Teil II der Tour de Dart)Dart (Teil II der Tour de Dart)
Dart (Teil II der Tour de Dart)
 
Dart (Teil I der Tour de Dart)
Dart (Teil I der Tour de Dart)Dart (Teil I der Tour de Dart)
Dart (Teil I der Tour de Dart)
 
Cloud Economics in Training and Simulation
Cloud Economics in Training and SimulationCloud Economics in Training and Simulation
Cloud Economics in Training and Simulation
 
Are cloud based virtual labs cost effective? (CSEDU 2012)
Are cloud based virtual labs cost effective? (CSEDU 2012)Are cloud based virtual labs cost effective? (CSEDU 2012)
Are cloud based virtual labs cost effective? (CSEDU 2012)
 
What Cost Us Cloud Computing
What Cost Us Cloud ComputingWhat Cost Us Cloud Computing
What Cost Us Cloud Computing
 
Overcoming Cost Intransparency of Cloud Computing
Overcoming Cost Intransparency of Cloud ComputingOvercoming Cost Intransparency of Cloud Computing
Overcoming Cost Intransparency of Cloud Computing
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
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...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 

ppbench - A Visualizing Network Benchmark for Microservices

  • 1. ppbench A Visualizing Network Benchmark for Microservices Nane Kratzke and Peter-Christian Quint 1 Prof. Dr. rer. nat. Nane Kratzke Computer Science and Business Information Systems
  • 2. The next 15 to 20 minutes are about ... •  The cloud-native application stack and microservices, containers and container clusters (Docker Swarm, Mesos, Kubernetes, etc.) •  Possible technical and performance impacts of above mentioned approaches •  A benchmarking tool for figuring out performance impacts in the upfront of a microservice design. •  Some evaluation results of ppbench. •  Some performance insights you might not know about Ruby, Java, Go, Dart, Docker (container) and overlay networks like Weave! Prof. Dr. rer. nat. Nane Kratzke Computer Science and Business Information Systems 2
  • 3. Microservices Prof. Dr. rer. nat. Nane Kratzke Computer Science and Business Information Systems 3 „The microservice architectural style is an approach to developing a single application as a suite of small services, each running in its own process and communicating with lightweight mechnisms, often an HTTP resource API.“ Martin Fowler
  • 4. The Cloud-Native Stack (ClouNS) Prof. Dr. rer. nat. Nane Kratzke Computer Science and Business Information Systems 4 (1) Different Programming Languages (2) Overlay Networks (3) Container (4) VM Types
  • 5. However, there is missing a tool .... Prof. Dr. rer. nat. Nane Kratzke Computer Science and Business Information Systems 5 to figure out possible impacts of z  different programming languages z  overlay networks z  additional container layer z  different VM types z  ... in the upfront of a microservice design.
  • 6. Reference Experiment Prof. Dr. rer. nat. Nane Kratzke Computer Science and Business Information Systems 6 Experiment to measure reference network performance of REST-like HTTP-based communication protocols. Ping and pong services are implemented in different TIOBE TOP 50 programming languages.
  • 7. And we get visualizations ... Prof. Dr. rer. nat. Nane Kratzke Computer Science and Business Information Systems 7 Data Transfer Rates (bigger is better) Message Size (kB) TransferRate(MB/sec) 0 kB 50 kB 150 kB 250 kB 350 kB 450 kB 0MB/sec16MB/sec32MB/sec48MB/sec64MB/sec80MB/sec ● bare on m3.2xlarge For identifying -  problematic areas -  skewness of distributions -  across a wide range of message sizes In that case. Dart‘s http standard libraries seem to have problems around message sizes bigger than three times TCP standard receive window (dotted lines). Skewness is shifted to bottom (not preferable). Skewness is shifted to top (preferable).
  • 8. Impact of Containers Prof. Dr. rer. nat. Nane Kratzke Computer Science and Business Information Systems 8 Experiment to measure container impact on network performance of REST-like HTTP-based communication protocols.
  • 9. Impact of Software Defined Networks Prof. Dr. rer. nat. Nane Kratzke Computer Science and Business Information Systems 9 Experiment to measure additional SDVN impact on network performance of REST-like HTTP-based communication protocols. weave
  • 10. Language Impact Prof. Dr. rer. nat. Nane Kratzke Computer Science and Business Information Systems 10 Data Transfer Rates (bigger is better) Message Size (kB) TransferRate(MB/sec) 0 kB 50 kB 150 kB 250 kB 350 kB 450 kB 0MB/sec22MB/sec44MB/sec66MB/sec88MB/sec ● ● ● ● Go (Exp. P1) on m3.2xlarge Java (Exp. P2) on m3.2xlarge Ruby (Exp. P3) on m3.2xlarge Dart (Exp. P4) on m3.2xlarge Requests per second in relative comparison (bigger is better) Message Size (kB) Ratio(%) 0kB 50kB 150kB 250kB 350kB 450kB 0%20%40%60%80%110%140%170%200% ● ● ● ● Reference: Go (Exp. P1) on m3.2xlarge Java (Exp. P2) on m3.2xlarge Ruby (Exp. P3) on m3.2xlarge Dart (Exp. P4) on m3.2xlarge (1) Different Programming Languages (1) Language impact should not be undererstimated (2) Do not overestimate Go.
  • 11. Overlay Network Impact Prof. Dr. rer. nat. Nane Kratzke Computer Science and Business Information Systems 11 Data transfer in relative comparison (bigger is better) Message Size (kB) Ratio(%) 0kB 50kB 150kB 250kB 350kB 450kB 20%50%80%120% ● ● ● Reference (Exp. S1, S3) on m3.large Go, SDN deployed (Exp. S2 compared with S1) on m3.large Ruby, SDN deployed (Exp. S4 compared with S3) on m3.large (2) Overlay Networks (1) OK, SDN decreases performance. Not astonishing. (2) But, SDN can sometimes improve performance! weave
  • 12. Container Impact is likely to be hardly measurable in real world scenarios Prof. Dr. rer. nat. Nane Kratzke Computer Science and Business Information Systems 12 Round−trip latency in relative comparison (smaller is better) Message Size (kB) Ratio(%) 0kB 50kB 150kB 250kB 350kB 450kB 90%110%130% ● ● ● Reference on m3.xlarge (Exp. C1/C3) Dockerized Go (Exp. C2 compared with C1) on m3.xlarge Dockerized Dart (Exp. C4 compared with C3) on m3.xlarge (3) Container (1) Container impact might be language dependent. (2) Container impact is most of the times below 10%.
  • 13. Overlay Network and VM Type Language impact is more severe than SDN Prof. Dr. rer. nat. Nane Kratzke Computer Science and Business Information Systems 13 Data transfer in relative comparison (bigger is better) Message Size (kB) Ratio(%) 0kB 50kB 150kB 250kB 350kB 450kB 40%60%80%100%120% ● ● ● ● Reference: (Exp. V1, V3, V5) SDN loss on m3.large (2−core, V2 compared with V1) SDN loss on m3.xlarge (4−core, V4 compared with V3) SDN loss on m3.2xlarge (8−core, V6 compared with V5) (4) VM Types Decreasing loss with increase of cores due to a reduction of CPU contention effects. (1)  SDN deployed on high core machines decreases performance down to 80% - 90%. (2)  That is far less than a potential language impact (40% - 190%).
  • 14. Conclusion Prof. Dr. rer. nat. Nane Kratzke Computer Science and Business Information Systems 14 •  ppbench is a benchmarking tool designed to be used in the upfront of cloud-native application design processes. •  ppbench is provided via GitHub: https://github.com/nkratzke/pingpong •  You can run arbitrary experiments with ppbench to inspect possible performance impacts in the upfront of a service design/implementation. •  We presented some evaluation results of ppbench •  SDN should always be used with high core machine types •  Programming Language might be more performance relevant than a SDN
  • 15. Acknowledgement •  Stonehenge: Wikipedia, http://pt.wikipedia.org/wiki/Stonehenge •  Soldier: Pixabay (CC0 Public Domain) •  Microservices: Robert Morschel, http://www.soa-probe.com/2015/03/microservices- summary.html Prof. Dr. rer. nat. Nane Kratzke Computer Science and Business Information Systems 15 This study was funded by German Federal Ministry of Education and Research (Project Cloud TRANSIT, 03FH021PX4). The author thanks Lübeck University (Institute of Telematics) and fat IT solution GmbH (Kiel) for their support of Cloud TRANSIT. Picture Reference
  • 16. About Prof. Dr. rer. nat. Nane Kratzke Computer Science and Business Information Systems 16 Nane Kratzke CoSA: http://cosa.fh-luebeck.de/en/contact/people/n-kratzke Blog: http://www.nkode.io Twitter: @NaneKratzke GooglePlus: +NaneKratzke LinkedIn: https://de.linkedin.com/in/nanekratzke GitHub: https://github.com/nkratzke ResearchGate: https://www.researchgate.net/profile/Nane_Kratzke SlideShare: http://de.slideshare.net/i21aneka