SlideShare a Scribd company logo
1 of 49
Download to read offline
PAGE	1 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
#GHC16
2016Feedback	Driven Development	
of Cloud	Applications
Harini	Gunabalan,
Technical	University	of Darmstadt,	Germany
@harinigunabalan
PAGE	2 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY
PAGE	3 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Motivation
Cloud
PAGE	4 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Motivation
Cloud
Developer
Operator
End	Users
PAGE	5 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Motivation
Cloud
Developer
Operator
End	Users
App App
Deploy app
PAGE	6 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Motivation
Cloud
Developer
Operator
End	Users
App App
Deploy app
VMVM VM VM
Provision	resources
PAGE	7 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Motivation
Cloud
Developer
Operator
End	Users
App App
Deploy app
VMVM VM VM
Provision	resources
Use	App
PAGE	8 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Cloud
Developer
Operator
End	Users
App App
Deploy app
VMVM VM VM
Provision	resources
Use	App
Not	
working!
Motivation
PAGE	9 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Motivation	
Cloud
Developer
Operator
End	Users
App App
Deploy app
VMVM VM VM
Provision	resources
Use	App
Where is the problem?Not	
working!
PAGE	10 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Motivation	
Cloud
Developer
Operator
End	Users
App App
Deploy app
VMVM VM VM
Provision	resources
Use	App
Where is the problem?Not	
working!
Maybe,	I	
should
improve
code?
PAGE	11 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Motivation	
Cloud
Developer
Operator
End	Users
App App
Deploy app
VMVM VM VM
Provision	resources
Use	App
Where is the problem?Not	
working!
Maybe,	I	
should
improve
code?	
Is the resource
provisioning
not	sufficient?
PAGE	12 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Problem	Statement
PAGE	13 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Problem	Statement	– APM	Information
What is Feedback Driven Development?
PAGE	14 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Problem	Statement	- FDD
PAGE	15 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Problem	Statement	- FDD
What	is	CASPOTT?
Critical	Artifact	Spotter.	
Identifies	source	code	
issues	and	performance	
hotspots.
Solution: Combination of plug-ins that
support the Developer (CASPOTT) and
Operator (Auto-scaler)
What	is	Auto-scaling?
On-demand	scale	out	and	
scale	in	depending	 on	Load.
PAGE	16 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
System	Design
Architecture	of	DO-AS-CASPOTT
17
CASPOTT	Components
18
Feedback	Handler
- Prepares	the	raw	logs	
for	further	processing	
by	mapping	them	to	
the	API	format	of	the	
Statistical	Analysis	
Engine
Statistical	Analysis	Engine
- Analyzes	and	aggregates	
the	collected	information	
coming	from	Feedback	
Handler	based	on	
predefined	metrics
Static	Code	Analysis
- Analyzes	the	code	
and	realizes	the	
connection	between	
the	feedback	and	the	
code
Auto-scaler	Components
19
Auto-scaler	Components
20
Auto-scaler	Components
21
Auto-scaler	Components
22
PAGE	23 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Implementation
PAGE	24 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
CASPOTT
• Implemented	
as	an	Eclipse	
Plug-in
• Store	run-time	
information	 in	
Elastic	Search
• Display	
hotspots	to	
Developer
• Direct	
Mapping	to	
source	code
PAGE	25 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Component	1:	Cloud	Monitoring
Key	metrics	monitored
• Average	response	time	(CF	Logs)
• Number	of	incoming	requests	(CF	
Logs)
• Number	of	running	app	instances	
(CF	API)
• CPU	utilization	(CF	API)
• Memory	utilization	(CF	API)
• Disk	utilization	(CF	API)
Component	2:	
Auto-scaling
26
PAGE	27 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
• Model	data	to	identify	correlation	between	metrics
• Most	real	world	data	are	Multi-dimensional.
• Multiple-input	and	Multiple-output	(MIMO)	models.
Ø State-space	Model
Ø Polynomial	Models
Ø ARX
Ø ARMAX
Component	3:	Data	Modeling
27
PAGE	28 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
1. Set	Output	=	[Response	
Time]
2. Set	Input	=	[	Number	of	
incoming	requests,	No	of	
instances,	CPU%,	memory,	
and	disk	utilization]
Data	Modeling in	MATLAB	System	Identification	Toolbox:	Import	
Data
28
PAGE	29 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
MATLAB	System	Identification	Toolbox	– Dataset	splitting
29
PAGE	30 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
• Model	
estimation
• State-space	Model
• Polynomial	
Models
• ARX
• ARMAX
• Validate	the	
model
Model	Estimation	and	Validation
30
PAGE	31 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Estimating	State	Space	model
31
PAGE	32 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Estimating	ARX	and	ARMAX	models
32
PAGE	33 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Evaluation
33
Image Source: https://www.usu.edu/ccampis/evaluation/
PAGE	34 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Deploy	Guestbook	Application	to	Cloud
34
PAGE	35 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Generate	Load	on	Guestbook	app
35
PAGE	36 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Scaling	occurs
36
Requests	per	secondNo.	of	instances
PAGE	37 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Comparison	with	and	without	the	Auto-scaler
37
Requests	
per	second
Average	
response	
time
Requests	
per	second
Average	
response	
time
Without	Auto-scaler,	
Maximum	response	
time	is	750	ms
With	Auto-scaler,
Maximum	response	
time	is	100	ms
PAGE	38 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Video	Demo	of	Auto-scaler
PAGE	39 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Conculsion
39
Auto-scaler	
Solved!
ü CASPOTT
ü Auto-scaler
ü Correlation	Model	to	
make	the	auto-scaler	
smart!
CASPOTT
PAGE	40 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
• Metric	parameter	tuning
• Metric	combination	&	Custom	Metrics
• Determining	metric	thresholds	
• Testing	with different	applications types - memory or database
intensive.
• Improved	modeling,	collection	of	larger	sample	datasets
Open	Challenges	and	Future	work
PAGE	41 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
References
Ø M.	Httermann,	DevOps	for	developers.	Apress,	2012.
Ø J.	Cito,	P.	Leitner,	H.	C.	Gall,	A.	Dadashi,	A.	Keller,	and	A.	Roth,	“Runtime	metric	meets	developer:	building	better	cloud	applications	
using	feedback,”	in	2015	ACM	International	Symposium	on	New	Ideas,	New	Paradigms,	and	Reflections	on	Programming	and	
Software,	pp.	14–27,	ACM,	2015.
Ø “Amazon	web	services.”	https://aws.amazon.com/,	Accessed:	08-Aug-2016.
Ø “New	relic.”	https://newrelic.com/,	Accessed:	08-Aug-2016.
Ø J.	Cito,	P.	Leitner,	T.	Fritz,	and	H.	C.	Gall,	“The	making	of	cloud	applications:	An	empirical	study	on	software	development	for	the	
cloud,”	in	Proceedings	of	the	2015	10th	Joint	Meeting	on	Foundations	of	Software	Engineering,	pp.	393–403,	ACM,	2015.
Ø L.	Ljung,	System	identification.	Springer,	1998.
Ø “Sap	hana cloud	platform.”	https://hcp.sap.com/index.html,	Accessed:	08-Aug-2016.
Ø S.	R.	Seelam,	P.	Dettori,	P.	Westerink,	and	B.	B.	Yang,	“Polyglot	application	auto	scaling	service	for	platform	as	a	service	cloud,”	in	
Cloud	Engineering	(IC2E),	2015	IEEE	International	Conference	on,	pp.	84–91,	IEEE,	2015.
Ø J.	Humble	and	D.	Farley,	Continuous	delivery:	reliable	software	releases	through	build,	test,	and	deployment	automation.	Pearson	
Education,	2010.
Ø http://docs.pivotal.io/pivotalcf/1-7/customizing/autoscale-configuration.html
Ø Cloud	wave	project	- http://cloudwave-fp7.eu/
41
PAGE	42 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Thank	you
Supervisors:
Prof.	Dr.	–Ing.	Mira	Mezini
Dr.	–Ing.	Guido	Salvaneschi
PAGE	43 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Appendix	- State	Space	Models
• Represented	by	differential	equations	and	state	variables.
• Output	can	be	predicted	for	any	future	time	provided	the	input,	output,	and	a	
minimum	set	of	state	variables	xi(t),	are	known.
dx/dt =	Ax	+	Bu
y =	C	x	+	Du
43
PAGE	44 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Appendix	- Polynomial	models	- ARX	&	ARMAX
ARX:
• Auto	regression	- current	output	
depends	on	the	past	input	and	
output	values.
• Considering auto regression and
the current inputs,	 ARX	model
can be mathematically
described as:
A(z)	y(t)	=	B(z)u(t	- n)	+	e(t)
44
ARMAX:
• Unlike	ARX,	ARMAX	considers	stochastic	
dynamics.	
• Better	for	systems	with	extra	disturbances
• Includes	both	AR(p)	and	MA(q)	models.	
• ARMAX	is	represented	mathematically	as
A(z)	y(t)	=	B(z)u(t	- n)	+	c(z)e(t)
PAGE	45 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Appendix:	Polynomial	models	- ARX
• The	ARX	model	to	evaluate	the	output	is	based	on	auto-regression.	
• Auto	regressive	model	is	a	model	whose	current	output	depends	on	the	past	input	
and	output	values.	The	generic	notion	to	denote	auto-regressive	model	of	order	p,	
AR(p)	for	a	variable	X	is:
where c	and i	are constants and e(t)	is the noise.	Considering auto regression and the
inputs,	ARX	model canbe mathematically described as:
A(z)	y(t)	=	B(z)u(t	- n)	+	e(t)
where	y(t)	is	the	output,	 u(t)	is	the	input,	and	e(t)	is	the	noise/error	measured	in	the	
output.	A(z)	and	B(z)	are	polynomials	of	the	specified	order	with	respect	to	the	backward	
shift	operator	z-1.	
45
PAGE	46 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Appendix:	Polynomial	models	- ARMAX
Unlike	the	ARX	model,	in	ARMAX,	the	stochastic	dynamics	are	considered.	ARMAX	models	are	
better	for	systems	with	more	disturbances.	In	general,	the	moving	average	model	of	order	q,	MA(q)	
is	represented	in	the	below	notation:
where	e(t-i)	is	the	noise/error.	The	notation	for	the	autoregressive	moving	average(ARMA)	model	is	
as	below:
This	model	includes	both	AR(p)	and	MA(q)	models.	Based	on	these	the	following	mathematical	
equation	for	the	ARMAX	model	can	be	written	as:
A(z)	y(t)	=	B(z)u(t	- n)	+	c(z)e(t)
where,	y(t)	is	the	output,	u(t)is	the	input,	and	e(t)	is	the	noise.	A(z),	B(z)	and	C(z)	are	polynomials	
of	specified	orders	with	respect	to	the	backward	shift	operator	z-1
46
PAGE	47 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Appendix	- Model	output
The	Model	estimation	output	 for	State	space,	ARX	and	ARMAX	models.	
47
PAGE	48 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Appendix:	CASpott
Feedback	Handler
- Queries	the	raw	logs
- Prepares	the	raw	logs	for	
further	processing	by	mapping	
them	to	the	API	format	of	the	
Statistical	Analysis	Engine
Statistical	Analysis	Engine
- Analyzes	and	aggregates	the	
collected	information	coming	
from	Feedback	Handler	based	
on	predefined	metrics
Static	Code	Analysis	Engine
- Analyzes	the	code	and	realizes	
the	connection	between	the	
feedback	and	the	code
PAGE	49 |				GRACE	HOPPER	CELEBRATION	2016			 |	 #GHC16
PRESENTED	BY	THE	ANITA	BORG	INSTITUTE	AND	THE	ASSOCIATION	FOR	COMPUTING	MACHINERY	
Appendix	- System	Footprint	for	Auto-Scaler	
Implementation
49

More Related Content

Similar to DO-AS-CASPOTT: DevOps AutoScaler and Critical Artifact Spotter

Cwin 2016 hybrid plus the future of digital_v1_201609627
Cwin 2016 hybrid plus the future of digital_v1_201609627Cwin 2016 hybrid plus the future of digital_v1_201609627
Cwin 2016 hybrid plus the future of digital_v1_201609627Har Gootzen
 
Edge Computing: Bringing the Internet Closer to You
Edge Computing: Bringing the Internet Closer to YouEdge Computing: Bringing the Internet Closer to You
Edge Computing: Bringing the Internet Closer to YouMegan O'Keefe
 
Predictive Analytics -Workshop
Predictive Analytics -WorkshopPredictive Analytics -Workshop
Predictive Analytics -Workshopsubbul
 
Building Resilient Distributed Systems by Using Caching Command and Rollback-...
Building Resilient Distributed Systems by Using Caching Command and Rollback-...Building Resilient Distributed Systems by Using Caching Command and Rollback-...
Building Resilient Distributed Systems by Using Caching Command and Rollback-...Intuit Inc.
 
eGain Digital Day 2016 - Keynote 1: Digital Customer Experience—Big Trends an...
eGain Digital Day 2016 - Keynote 1: Digital Customer Experience—Big Trends an...eGain Digital Day 2016 - Keynote 1: Digital Customer Experience—Big Trends an...
eGain Digital Day 2016 - Keynote 1: Digital Customer Experience—Big Trends an...Mark Fenna
 
An Introduction to Cloud Native World
An Introduction to Cloud Native WorldAn Introduction to Cloud Native World
An Introduction to Cloud Native WorldPrashima Sharma
 
SIM based connectivity solution for IoT
SIM based connectivity solution for IoTSIM based connectivity solution for IoT
SIM based connectivity solution for IoTKarina Popova
 
Hadoop, Spark and Big Data Summit presentation with SAP HANA Vora and a path ...
Hadoop, Spark and Big Data Summit presentation with SAP HANA Vora and a path ...Hadoop, Spark and Big Data Summit presentation with SAP HANA Vora and a path ...
Hadoop, Spark and Big Data Summit presentation with SAP HANA Vora and a path ...Ocean9, Inc.
 
Tips and techniques for hyperparameter optimization
Tips and techniques for hyperparameter optimizationTips and techniques for hyperparameter optimization
Tips and techniques for hyperparameter optimizationSigOpt
 
Content Recommendation using factorisation machines ; Pycon Ireland 2016
Content Recommendation using  factorisation machines ; Pycon Ireland 2016Content Recommendation using  factorisation machines ; Pycon Ireland 2016
Content Recommendation using factorisation machines ; Pycon Ireland 2016Conor Duke
 
smart-dustbins
smart-dustbinssmart-dustbins
smart-dustbinshkasera
 
Progress with ICT activities - MWANGA platform
Progress with ICT activities - MWANGA platform Progress with ICT activities - MWANGA platform
Progress with ICT activities - MWANGA platform africa-rising
 
Nikeeta patil resume.docx0
Nikeeta patil resume.docx0Nikeeta patil resume.docx0
Nikeeta patil resume.docx0Nikeeta Patil
 
Nikeeta patil resume.docx0
Nikeeta patil resume.docx0Nikeeta patil resume.docx0
Nikeeta patil resume.docx0Nikeeta Patil
 
Master Supply Chain Management with Cloud and Business Networks
Master Supply Chain Management with Cloud and Business NetworksMaster Supply Chain Management with Cloud and Business Networks
Master Supply Chain Management with Cloud and Business NetworksSAP Ariba
 
Digitalize Manufacturing Through SAP S/4HANA Cloud
Digitalize Manufacturing Through SAP S/4HANA CloudDigitalize Manufacturing Through SAP S/4HANA Cloud
Digitalize Manufacturing Through SAP S/4HANA CloudCapgemini
 
Self-Programming Artificial Intelligence Grace Hopper GHC 2018 GHC18
Self-Programming Artificial Intelligence Grace Hopper GHC 2018 GHC18Self-Programming Artificial Intelligence Grace Hopper GHC 2018 GHC18
Self-Programming Artificial Intelligence Grace Hopper GHC 2018 GHC18Kory Becker
 
Cwin16 tls-s2-0945-going cloud native
Cwin16 tls-s2-0945-going cloud nativeCwin16 tls-s2-0945-going cloud native
Cwin16 tls-s2-0945-going cloud nativeCapgemini
 
How the real-time communication between things can simplify our everyday lif...
How the real-time communication between things can simplify  our everyday lif...How the real-time communication between things can simplify  our everyday lif...
How the real-time communication between things can simplify our everyday lif...Karina Popova
 

Similar to DO-AS-CASPOTT: DevOps AutoScaler and Critical Artifact Spotter (20)

Cwin 2016 hybrid plus the future of digital_v1_201609627
Cwin 2016 hybrid plus the future of digital_v1_201609627Cwin 2016 hybrid plus the future of digital_v1_201609627
Cwin 2016 hybrid plus the future of digital_v1_201609627
 
Edge Computing: Bringing the Internet Closer to You
Edge Computing: Bringing the Internet Closer to YouEdge Computing: Bringing the Internet Closer to You
Edge Computing: Bringing the Internet Closer to You
 
Predictive Analytics -Workshop
Predictive Analytics -WorkshopPredictive Analytics -Workshop
Predictive Analytics -Workshop
 
Building Resilient Distributed Systems by Using Caching Command and Rollback-...
Building Resilient Distributed Systems by Using Caching Command and Rollback-...Building Resilient Distributed Systems by Using Caching Command and Rollback-...
Building Resilient Distributed Systems by Using Caching Command and Rollback-...
 
eGain Digital Day 2016 - Keynote 1: Digital Customer Experience—Big Trends an...
eGain Digital Day 2016 - Keynote 1: Digital Customer Experience—Big Trends an...eGain Digital Day 2016 - Keynote 1: Digital Customer Experience—Big Trends an...
eGain Digital Day 2016 - Keynote 1: Digital Customer Experience—Big Trends an...
 
An Introduction to Cloud Native World
An Introduction to Cloud Native WorldAn Introduction to Cloud Native World
An Introduction to Cloud Native World
 
SIM based connectivity solution for IoT
SIM based connectivity solution for IoTSIM based connectivity solution for IoT
SIM based connectivity solution for IoT
 
Hadoop, Spark and Big Data Summit presentation with SAP HANA Vora and a path ...
Hadoop, Spark and Big Data Summit presentation with SAP HANA Vora and a path ...Hadoop, Spark and Big Data Summit presentation with SAP HANA Vora and a path ...
Hadoop, Spark and Big Data Summit presentation with SAP HANA Vora and a path ...
 
Tips and techniques for hyperparameter optimization
Tips and techniques for hyperparameter optimizationTips and techniques for hyperparameter optimization
Tips and techniques for hyperparameter optimization
 
Content Recommendation using factorisation machines ; Pycon Ireland 2016
Content Recommendation using  factorisation machines ; Pycon Ireland 2016Content Recommendation using  factorisation machines ; Pycon Ireland 2016
Content Recommendation using factorisation machines ; Pycon Ireland 2016
 
smart-dustbins
smart-dustbinssmart-dustbins
smart-dustbins
 
Progress with ICT activities - MWANGA platform
Progress with ICT activities - MWANGA platform Progress with ICT activities - MWANGA platform
Progress with ICT activities - MWANGA platform
 
Nikeeta patil resume.docx0
Nikeeta patil resume.docx0Nikeeta patil resume.docx0
Nikeeta patil resume.docx0
 
Nikeeta patil resume.docx0
Nikeeta patil resume.docx0Nikeeta patil resume.docx0
Nikeeta patil resume.docx0
 
Consumer Insights
Consumer Insights Consumer Insights
Consumer Insights
 
Master Supply Chain Management with Cloud and Business Networks
Master Supply Chain Management with Cloud and Business NetworksMaster Supply Chain Management with Cloud and Business Networks
Master Supply Chain Management with Cloud and Business Networks
 
Digitalize Manufacturing Through SAP S/4HANA Cloud
Digitalize Manufacturing Through SAP S/4HANA CloudDigitalize Manufacturing Through SAP S/4HANA Cloud
Digitalize Manufacturing Through SAP S/4HANA Cloud
 
Self-Programming Artificial Intelligence Grace Hopper GHC 2018 GHC18
Self-Programming Artificial Intelligence Grace Hopper GHC 2018 GHC18Self-Programming Artificial Intelligence Grace Hopper GHC 2018 GHC18
Self-Programming Artificial Intelligence Grace Hopper GHC 2018 GHC18
 
Cwin16 tls-s2-0945-going cloud native
Cwin16 tls-s2-0945-going cloud nativeCwin16 tls-s2-0945-going cloud native
Cwin16 tls-s2-0945-going cloud native
 
How the real-time communication between things can simplify our everyday lif...
How the real-time communication between things can simplify  our everyday lif...How the real-time communication between things can simplify  our everyday lif...
How the real-time communication between things can simplify our everyday lif...
 

Recently uploaded

Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
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
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
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
 
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
 
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
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
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
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
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
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
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
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
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
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
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
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
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
 
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
 
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
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
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
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
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
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
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...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 

DO-AS-CASPOTT: DevOps AutoScaler and Critical Artifact Spotter

  • 1. PAGE 1 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY #GHC16 2016Feedback Driven Development of Cloud Applications Harini Gunabalan, Technical University of Darmstadt, Germany @harinigunabalan
  • 2. PAGE 2 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY
  • 3. PAGE 3 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Motivation Cloud
  • 4. PAGE 4 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Motivation Cloud Developer Operator End Users
  • 5. PAGE 5 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Motivation Cloud Developer Operator End Users App App Deploy app
  • 6. PAGE 6 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Motivation Cloud Developer Operator End Users App App Deploy app VMVM VM VM Provision resources
  • 7. PAGE 7 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Motivation Cloud Developer Operator End Users App App Deploy app VMVM VM VM Provision resources Use App
  • 8. PAGE 8 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Cloud Developer Operator End Users App App Deploy app VMVM VM VM Provision resources Use App Not working! Motivation
  • 9. PAGE 9 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Motivation Cloud Developer Operator End Users App App Deploy app VMVM VM VM Provision resources Use App Where is the problem?Not working!
  • 10. PAGE 10 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Motivation Cloud Developer Operator End Users App App Deploy app VMVM VM VM Provision resources Use App Where is the problem?Not working! Maybe, I should improve code?
  • 11. PAGE 11 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Motivation Cloud Developer Operator End Users App App Deploy app VMVM VM VM Provision resources Use App Where is the problem?Not working! Maybe, I should improve code? Is the resource provisioning not sufficient?
  • 12. PAGE 12 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Problem Statement
  • 13. PAGE 13 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Problem Statement – APM Information What is Feedback Driven Development?
  • 14. PAGE 14 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Problem Statement - FDD
  • 15. PAGE 15 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Problem Statement - FDD What is CASPOTT? Critical Artifact Spotter. Identifies source code issues and performance hotspots. Solution: Combination of plug-ins that support the Developer (CASPOTT) and Operator (Auto-scaler) What is Auto-scaling? On-demand scale out and scale in depending on Load.
  • 16. PAGE 16 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY System Design
  • 23. PAGE 23 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Implementation
  • 24. PAGE 24 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY CASPOTT • Implemented as an Eclipse Plug-in • Store run-time information in Elastic Search • Display hotspots to Developer • Direct Mapping to source code
  • 25. PAGE 25 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Component 1: Cloud Monitoring Key metrics monitored • Average response time (CF Logs) • Number of incoming requests (CF Logs) • Number of running app instances (CF API) • CPU utilization (CF API) • Memory utilization (CF API) • Disk utilization (CF API)
  • 27. PAGE 27 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY • Model data to identify correlation between metrics • Most real world data are Multi-dimensional. • Multiple-input and Multiple-output (MIMO) models. Ø State-space Model Ø Polynomial Models Ø ARX Ø ARMAX Component 3: Data Modeling 27
  • 28. PAGE 28 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY 1. Set Output = [Response Time] 2. Set Input = [ Number of incoming requests, No of instances, CPU%, memory, and disk utilization] Data Modeling in MATLAB System Identification Toolbox: Import Data 28
  • 29. PAGE 29 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY MATLAB System Identification Toolbox – Dataset splitting 29
  • 30. PAGE 30 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY • Model estimation • State-space Model • Polynomial Models • ARX • ARMAX • Validate the model Model Estimation and Validation 30
  • 31. PAGE 31 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Estimating State Space model 31
  • 32. PAGE 32 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Estimating ARX and ARMAX models 32
  • 33. PAGE 33 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Evaluation 33 Image Source: https://www.usu.edu/ccampis/evaluation/
  • 34. PAGE 34 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Deploy Guestbook Application to Cloud 34
  • 35. PAGE 35 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Generate Load on Guestbook app 35
  • 36. PAGE 36 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Scaling occurs 36 Requests per secondNo. of instances
  • 37. PAGE 37 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Comparison with and without the Auto-scaler 37 Requests per second Average response time Requests per second Average response time Without Auto-scaler, Maximum response time is 750 ms With Auto-scaler, Maximum response time is 100 ms
  • 38. PAGE 38 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Video Demo of Auto-scaler
  • 39. PAGE 39 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Conculsion 39 Auto-scaler Solved! ü CASPOTT ü Auto-scaler ü Correlation Model to make the auto-scaler smart! CASPOTT
  • 40. PAGE 40 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY • Metric parameter tuning • Metric combination & Custom Metrics • Determining metric thresholds • Testing with different applications types - memory or database intensive. • Improved modeling, collection of larger sample datasets Open Challenges and Future work
  • 41. PAGE 41 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY References Ø M. Httermann, DevOps for developers. Apress, 2012. Ø J. Cito, P. Leitner, H. C. Gall, A. Dadashi, A. Keller, and A. Roth, “Runtime metric meets developer: building better cloud applications using feedback,” in 2015 ACM International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software, pp. 14–27, ACM, 2015. Ø “Amazon web services.” https://aws.amazon.com/, Accessed: 08-Aug-2016. Ø “New relic.” https://newrelic.com/, Accessed: 08-Aug-2016. Ø J. Cito, P. Leitner, T. Fritz, and H. C. Gall, “The making of cloud applications: An empirical study on software development for the cloud,” in Proceedings of the 2015 10th Joint Meeting on Foundations of Software Engineering, pp. 393–403, ACM, 2015. Ø L. Ljung, System identification. Springer, 1998. Ø “Sap hana cloud platform.” https://hcp.sap.com/index.html, Accessed: 08-Aug-2016. Ø S. R. Seelam, P. Dettori, P. Westerink, and B. B. Yang, “Polyglot application auto scaling service for platform as a service cloud,” in Cloud Engineering (IC2E), 2015 IEEE International Conference on, pp. 84–91, IEEE, 2015. Ø J. Humble and D. Farley, Continuous delivery: reliable software releases through build, test, and deployment automation. Pearson Education, 2010. Ø http://docs.pivotal.io/pivotalcf/1-7/customizing/autoscale-configuration.html Ø Cloud wave project - http://cloudwave-fp7.eu/ 41
  • 42. PAGE 42 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Thank you Supervisors: Prof. Dr. –Ing. Mira Mezini Dr. –Ing. Guido Salvaneschi
  • 43. PAGE 43 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Appendix - State Space Models • Represented by differential equations and state variables. • Output can be predicted for any future time provided the input, output, and a minimum set of state variables xi(t), are known. dx/dt = Ax + Bu y = C x + Du 43
  • 44. PAGE 44 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Appendix - Polynomial models - ARX & ARMAX ARX: • Auto regression - current output depends on the past input and output values. • Considering auto regression and the current inputs, ARX model can be mathematically described as: A(z) y(t) = B(z)u(t - n) + e(t) 44 ARMAX: • Unlike ARX, ARMAX considers stochastic dynamics. • Better for systems with extra disturbances • Includes both AR(p) and MA(q) models. • ARMAX is represented mathematically as A(z) y(t) = B(z)u(t - n) + c(z)e(t)
  • 45. PAGE 45 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Appendix: Polynomial models - ARX • The ARX model to evaluate the output is based on auto-regression. • Auto regressive model is a model whose current output depends on the past input and output values. The generic notion to denote auto-regressive model of order p, AR(p) for a variable X is: where c and i are constants and e(t) is the noise. Considering auto regression and the inputs, ARX model canbe mathematically described as: A(z) y(t) = B(z)u(t - n) + e(t) where y(t) is the output, u(t) is the input, and e(t) is the noise/error measured in the output. A(z) and B(z) are polynomials of the specified order with respect to the backward shift operator z-1. 45
  • 46. PAGE 46 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Appendix: Polynomial models - ARMAX Unlike the ARX model, in ARMAX, the stochastic dynamics are considered. ARMAX models are better for systems with more disturbances. In general, the moving average model of order q, MA(q) is represented in the below notation: where e(t-i) is the noise/error. The notation for the autoregressive moving average(ARMA) model is as below: This model includes both AR(p) and MA(q) models. Based on these the following mathematical equation for the ARMAX model can be written as: A(z) y(t) = B(z)u(t - n) + c(z)e(t) where, y(t) is the output, u(t)is the input, and e(t) is the noise. A(z), B(z) and C(z) are polynomials of specified orders with respect to the backward shift operator z-1 46
  • 47. PAGE 47 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Appendix - Model output The Model estimation output for State space, ARX and ARMAX models. 47
  • 48. PAGE 48 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Appendix: CASpott Feedback Handler - Queries the raw logs - Prepares the raw logs for further processing by mapping them to the API format of the Statistical Analysis Engine Statistical Analysis Engine - Analyzes and aggregates the collected information coming from Feedback Handler based on predefined metrics Static Code Analysis Engine - Analyzes the code and realizes the connection between the feedback and the code
  • 49. PAGE 49 | GRACE HOPPER CELEBRATION 2016 | #GHC16 PRESENTED BY THE ANITA BORG INSTITUTE AND THE ASSOCIATION FOR COMPUTING MACHINERY Appendix - System Footprint for Auto-Scaler Implementation 49