31
Diagnosability versus The Cloud Cary Millsap Method R Corporation [email protected] / @CaryMillsap OTN Architect Day, Redwood Shores 10:00a–10:30a Tuesday 30 August 2011

Diagnosability vs The Cloud

Embed Size (px)

DESCRIPTION

As presented by Oracle ACE Director Cary Millsap and Oracle Technology Network Architect Day, Redwood Shores, CA, August 30, 2011.

Citation preview

Page 1: Diagnosability vs The Cloud

Diagnosability  versus  The  Cloud

Cary  MillsapMethod  R  Corporationcary.millsap@method-­‐r.com  /  @CaryMillsap

OTN  Architect  Day,  Redwood  Shores10:00a–10:30a  Tuesday  30  August  2011  

Page 2: Diagnosability vs The Cloud

1985–19871988–19891990–19921993–19951996–19992000–20032004–20082009–20102011–

0 25 50 75 100

Teaching Consulting Business Method Software

Cary  Millsap

Page 3: Diagnosability vs 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 vs The Cloud

Q What  does

Diagnosabilitymean  to  you?

You  can  find  problems  efficiently.

You  can  fix  problems  efficiently.

Page 5: Diagnosability vs The Cloud

What  is  “easy  to  diagnose”?

Page 6: Diagnosability vs 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 vs The Cloud

Q How  many  of  you  areperformance  people?

Here’s  how  you  can  tell...

Page 8: Diagnosability vs The Cloud

Q Do  you  prefer  a  fast  system?

Or  a  slow  system?

Then  you’re  a  performance  person.

Page 9: Diagnosability vs The Cloud

To  do  implement  a  successful  application  system,(whether  in  The  Cloud  or  otherwise,  but  especially  in  The  Cloud)

there  is  a  list  of  specific  technical  tasksthat  you  have  to  do  well.

I  will  talk  about  one  of  those  today.

Page 10: Diagnosability vs The Cloud

One  goal  of  The  Cloud  is  to  hide  detail.

But...

Page 11: Diagnosability vs The Cloud

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

Page 12: Diagnosability vs The Cloud

(You  do  still  have  technical  people,  right?)

Page 13: Diagnosability vs The Cloud

Some  of  diagnosability’s  natural  enemies:

n-­‐tier  architectures

multiplexing  architecturesconnection  pooling,  session  pooling,  ...

service-­‐X  architecturesX  ∈  {bus,  oriented,  …}

The  Cloud

Page 14: Diagnosability vs The Cloud

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

Page 15: Diagnosability vs The Cloud

SOA

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

Page 16: Diagnosability vs The Cloud

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

Page 17: Diagnosability vs 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 18: Diagnosability vs The Cloud

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

The  sequence  diagram  helps  youconceptualize  time  flow...

Page 19: Diagnosability vs The Cloud

The  key  to  accounting  for  time  flow:

Instrumentation

Page 20: Diagnosability vs The Cloud

Instrumentation  is  codethat  marks  each  task  so  you  can

1.  identify  it2.  measure  its  time

Page 21: Diagnosability vs 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 22: Diagnosability vs The Cloud

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

Page 23: Diagnosability vs The Cloud

My  message…

Page 24: Diagnosability vs 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 25: Diagnosability vs The Cloud

2 /6

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

Page 26: Diagnosability vs The Cloud

3 /6

The  Oracle  Database  has  superb  diagnostic  hooks  built  in,  but  your  application  has  to  be  designed  to  use  them.

Page 27: Diagnosability vs The Cloud

4 /6

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

Page 28: Diagnosability vs The Cloud

5 /6

If  you’re  building  your  own  software,  diagnosability  is  not  that  difficult;  it’s  just  another  software  feature.

Page 29: Diagnosability vs The Cloud

6 /6

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

Page 30: Diagnosability vs The Cloud

Instrumentation  saves  you  money  and  yields  better  performance  and  availability.

Page 31: Diagnosability vs The Cloud

http://method-­‐r.com

http://carymillsap.blogspot.com

http://twitter.com/CaryMillsap