Diagnosability versus The Cloud
-
Upload
bob-rhubart -
Category
Technology
-
view
1.386 -
download
0
description
Transcript of Diagnosability versus The Cloud
![Page 1: Diagnosability versus The Cloud](https://reader034.fdocuments.us/reader034/viewer/2022051513/54808b7ab4af9fa5158b5d01/html5/thumbnails/1.jpg)
Diagnosability versus The Cloud
Cary MillsapMethod R Corporationcary.millsap@method-‐r.com / @CaryMillsap
OTN Architect Day, Toronto10:00a–10:30a Thursday 21 April 2011
![Page 2: Diagnosability versus The Cloud](https://reader034.fdocuments.us/reader034/viewer/2022051513/54808b7ab4af9fa5158b5d01/html5/thumbnails/2.jpg)
1985–19871988–19891990–19921993–19951996–19992000–20032004–20082009–20102011–201x
0 25 50 75 100
Teaching Consulting Business Method Software
Cary Millsap
![Page 3: Diagnosability versus The Cloud](https://reader034.fdocuments.us/reader034/viewer/2022051513/54808b7ab4af9fa5158b5d01/html5/thumbnails/3.jpg)
Q What does
The Cloudmean to you?
Somebody else’s capital expenditure.Somebody else’s hardware.Somebody else’s so8ware.Somebody else backs it up.Somebody else upgrades it.Somebody else fixes it when it breaks....
![Page 4: Diagnosability versus The Cloud](https://reader034.fdocuments.us/reader034/viewer/2022051513/54808b7ab4af9fa5158b5d01/html5/thumbnails/4.jpg)
Q What does
Diagnosabilitymean to you?
You can find problems efficiently.
You can fix problems efficiently.
![Page 5: Diagnosability versus The Cloud](https://reader034.fdocuments.us/reader034/viewer/2022051513/54808b7ab4af9fa5158b5d01/html5/thumbnails/5.jpg)
What is “easy to diagnose”?
![Page 6: Diagnosability versus The Cloud](https://reader034.fdocuments.us/reader034/viewer/2022051513/54808b7ab4af9fa5158b5d01/html5/thumbnails/6.jpg)
It’s easy to diagnose when it’s easy to answer…
Which system?Which program?
...Which line of source code?
![Page 7: Diagnosability versus The Cloud](https://reader034.fdocuments.us/reader034/viewer/2022051513/54808b7ab4af9fa5158b5d01/html5/thumbnails/7.jpg)
Q How many of you areperformance people?
Here’s how you can tell...
![Page 8: Diagnosability versus The Cloud](https://reader034.fdocuments.us/reader034/viewer/2022051513/54808b7ab4af9fa5158b5d01/html5/thumbnails/8.jpg)
Q Do you prefer a fast system?
Or a slow system?
Then you’re a performance person.
![Page 9: Diagnosability versus The Cloud](https://reader034.fdocuments.us/reader034/viewer/2022051513/54808b7ab4af9fa5158b5d01/html5/thumbnails/9.jpg)
One goal of The Cloud is to hide detail.
But...
![Page 10: Diagnosability versus The Cloud](https://reader034.fdocuments.us/reader034/viewer/2022051513/54808b7ab4af9fa5158b5d01/html5/thumbnails/10.jpg)
If the details of where time is being spentare concealed from your technical people,it’s a problem.
![Page 11: Diagnosability versus The Cloud](https://reader034.fdocuments.us/reader034/viewer/2022051513/54808b7ab4af9fa5158b5d01/html5/thumbnails/11.jpg)
(You do still have technical people, right?)
![Page 12: Diagnosability versus The Cloud](https://reader034.fdocuments.us/reader034/viewer/2022051513/54808b7ab4af9fa5158b5d01/html5/thumbnails/12.jpg)
Some of diagnosability’s natural enemies:
n-‐tier architectures
multiplexing architecturesconnection pooling, session pooling, ...
service-‐X architecturesX ∈ {bus, oriented, …}
The Cloud
![Page 13: Diagnosability versus The Cloud](https://reader034.fdocuments.us/reader034/viewer/2022051513/54808b7ab4af9fa5158b5d01/html5/thumbnails/13.jpg)
http://en.wikipedia.org/wiki/File:ESB.svg
![Page 14: Diagnosability versus The Cloud](https://reader034.fdocuments.us/reader034/viewer/2022051513/54808b7ab4af9fa5158b5d01/html5/thumbnails/14.jpg)
SOA
http://en.wikipedia.org/wiki/File:SOA_Metamodel.svg
![Page 15: Diagnosability versus The Cloud](https://reader034.fdocuments.us/reader034/viewer/2022051513/54808b7ab4af9fa5158b5d01/html5/thumbnails/15.jpg)
http://en.wikipedia.org/wiki/File:Cloud_computing.svg
![Page 16: Diagnosability versus The Cloud](https://reader034.fdocuments.us/reader034/viewer/2022051513/54808b7ab4af9fa5158b5d01/html5/thumbnails/16.jpg)
No matter how your software fits together, to manage performance, you must be ableto follow how time flows through all the code that services your requests.
![Page 17: Diagnosability versus The Cloud](https://reader034.fdocuments.us/reader034/viewer/2022051513/54808b7ab4af9fa5158b5d01/html5/thumbnails/17.jpg)
http://en.wikipedia.org/wiki/File:Restaurant-‐UML-‐SEQ.gif
The sequence diagram helps youconceptualize time flow...
![Page 18: Diagnosability versus The Cloud](https://reader034.fdocuments.us/reader034/viewer/2022051513/54808b7ab4af9fa5158b5d01/html5/thumbnails/18.jpg)
The key to accounting for time flow:
Instrumentation
![Page 19: Diagnosability versus The Cloud](https://reader034.fdocuments.us/reader034/viewer/2022051513/54808b7ab4af9fa5158b5d01/html5/thumbnails/19.jpg)
Instrumentation is codethat marks each task so you can
1. identify it2. measure its time
![Page 20: Diagnosability versus The Cloud](https://reader034.fdocuments.us/reader034/viewer/2022051513/54808b7ab4af9fa5158b5d01/html5/thumbnails/20.jpg)
The Oracle Database gets it right.
mark...dbms_session, dbms_application_info, OCIAttrSet, setEndToEndMetrics, ...
measure...dbms_monitor, ASH, AWR, ADDM, ...
http://www.method-‐r.com/downloads/doc_details/72-‐mastering-‐performance-‐with-‐extended-‐sql-‐trace
![Page 21: Diagnosability versus The Cloud](https://reader034.fdocuments.us/reader034/viewer/2022051513/54808b7ab4af9fa5158b5d01/html5/thumbnails/21.jpg)
Diagnosability begins with the Oracle Database’s superb tools for marking tasks.
![Page 22: Diagnosability versus The Cloud](https://reader034.fdocuments.us/reader034/viewer/2022051513/54808b7ab4af9fa5158b5d01/html5/thumbnails/22.jpg)
My message…
![Page 23: Diagnosability versus The Cloud](https://reader034.fdocuments.us/reader034/viewer/2022051513/54808b7ab4af9fa5158b5d01/html5/thumbnails/23.jpg)
1/6
No matter how much you test, you can’t know how an application is going to behave until after you’re using it in production.
![Page 24: Diagnosability versus The Cloud](https://reader034.fdocuments.us/reader034/viewer/2022051513/54808b7ab4af9fa5158b5d01/html5/thumbnails/24.jpg)
2 /6
You can reduce your operational costs significantly if you can make your application easy to diagnose.
![Page 25: Diagnosability versus The Cloud](https://reader034.fdocuments.us/reader034/viewer/2022051513/54808b7ab4af9fa5158b5d01/html5/thumbnails/25.jpg)
3 /6
The Oracle Database has superb diagnostic hooks built in, but your application has to be designed to use them.
![Page 26: Diagnosability versus The Cloud](https://reader034.fdocuments.us/reader034/viewer/2022051513/54808b7ab4af9fa5158b5d01/html5/thumbnails/26.jpg)
4 /6
If you’re using prepackaged software, diagnosability is a feature on which you need to insist.
![Page 27: Diagnosability versus The Cloud](https://reader034.fdocuments.us/reader034/viewer/2022051513/54808b7ab4af9fa5158b5d01/html5/thumbnails/27.jpg)
5 /6
If you’re building your own software, diagnosability is not that difficult; it’s just another software feature.
![Page 28: Diagnosability versus The Cloud](https://reader034.fdocuments.us/reader034/viewer/2022051513/54808b7ab4af9fa5158b5d01/html5/thumbnails/28.jpg)
6 /6
Forethought and understanding about instrumentation saves you money and yields better performance and availability.
![Page 29: Diagnosability versus The Cloud](https://reader034.fdocuments.us/reader034/viewer/2022051513/54808b7ab4af9fa5158b5d01/html5/thumbnails/29.jpg)
Instrumentation saves you money and yields better performance and availability.
![Page 30: Diagnosability versus The Cloud](https://reader034.fdocuments.us/reader034/viewer/2022051513/54808b7ab4af9fa5158b5d01/html5/thumbnails/30.jpg)
http://method-‐r.com
http://carymillsap.blogspot.com
http://twitter.com/CaryMillsap