diagnosability versus the cloud

30
Diagnosability versus The Cloud Cary Millsap Method R Corporation [email protected] / @CaryMillsap OTN Architect Day, Toronto 10:00a–10:30a Thursday 21 April 2011

Upload: bob-rhubart

Post on 28-Nov-2014

1.389 views

Category:

Technology


0 download

DESCRIPTION

As presented by Oracle ACE Director Cary Millsap at Oracle Technology Network Architect Day in Toronto, April 21, 2011.

TRANSCRIPT

Page 1: Diagnosability versus The Cloud

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

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

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

Q What  does

Diagnosabilitymean  to  you?

You  can  find  problems  efficiently.

You  can  fix  problems  efficiently.

Page 5: Diagnosability versus The Cloud

What  is  “easy  to  diagnose”?

Page 6: Diagnosability versus The Cloud

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

Q How  many  of  you  areperformance  people?

Here’s  how  you  can  tell...

Page 8: Diagnosability versus The Cloud

Q Do  you  prefer  a  fast  system?

Or  a  slow  system?

Then  you’re  a  performance  person.

Page 9: Diagnosability versus The Cloud

One  goal  of  The  Cloud  is  to  hide  detail.

But...

Page 10: Diagnosability versus The Cloud

If  the  details  of  where  time  is  being  spentare  concealed  from  your  technical  people,it’s  a  problem.

Page 11: Diagnosability versus The Cloud

(You  do  still  have  technical  people,  right?)

Page 12: Diagnosability versus The Cloud

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

http://en.wikipedia.org/wiki/File:ESB.svg

Page 14: Diagnosability versus The Cloud

SOA

http://en.wikipedia.org/wiki/File:SOA_Metamodel.svg

Page 15: Diagnosability versus The Cloud

http://en.wikipedia.org/wiki/File:Cloud_computing.svg

Page 16: Diagnosability versus The Cloud

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

http://en.wikipedia.org/wiki/File:Restaurant-­‐UML-­‐SEQ.gif

The  sequence  diagram  helps  youconceptualize  time  flow...

Page 18: Diagnosability versus The Cloud

The  key  to  accounting  for  time  flow:

Instrumentation

Page 19: Diagnosability versus The Cloud

Instrumentation  is  codethat  marks  each  task  so  you  can

1.  identify  it2.  measure  its  time

Page 20: Diagnosability versus The Cloud

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

Diagnosability  begins  with  the  Oracle  Database’s  superb  tools  for  marking  tasks.

Page 22: Diagnosability versus The Cloud

My  message…

Page 23: Diagnosability versus The Cloud

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

2 /6

You  can  reduce  your  operational  costs  significantly  if  you  can  make  your  application  easy  to  diagnose.

Page 25: Diagnosability versus The Cloud

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

4 /6

If  you’re  using  prepackaged  software,  diagnosability  is  a  feature  on  which  you  need  to  insist.

Page 27: Diagnosability versus The Cloud

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

6 /6

Forethought  and  understanding  about  instrumentation  saves  you  money  and  yields  better  performance  and  availability.

Page 29: Diagnosability versus The Cloud

Instrumentation  saves  you  money  and  yields  better  performance  and  availability.

Page 30: Diagnosability versus The Cloud

http://method-­‐r.com

http://carymillsap.blogspot.com

http://twitter.com/CaryMillsap