SlideShare una empresa de Scribd logo
1 de 25
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
BENGALURU
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
An Innocent’s Guide To
Ignoring Best
Practices...
AMIT GARDE, VP Engineering, Swiggy | 6 October 2018
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Preliminaries
• What this talk is *not* going to be…
• Prescriptive
• A laundry list of things to do or to not do
• What this talk is *trying* to be
• A perspective on how “Best Practice” emerges, why a grain of salt is useful, and
why we could usefully borrow ideas from other fields of human endeavour
• What this talk *might* end up being
• Whimsical
• Discursive
• …In which case consider it an attempt at AWS stand-up 
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Computer Science is a “Constructed Field”
• Brought into existence from “thought stuff”
• We don’t deal with the universe in the same way as say Physics or
Biology
• No Universal Laws, no Physical Constants
• Can give us a false sense of how much control we can assert
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
The Practitioner Mindset and the evolution of Best Practice
• Clouds – And AWS in particular - are Complex
• Operating complex cloud based systems is hard
• Deal with what’s breaking or what’s going to break next
• Very focused on the here-and-now
• Not a lot of time for contemplative meditation :-/
• “Don’t just sit there, do something”…Need something actionable
• We try to deal with complexity by trying to superimpose simplicity
• Hence “Best Practices” (Or tenets, or standard operating procedures or
rules of thumb or…)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Perspective
“Good artists borrow, great artists steal…”
• We can do worse than learn from other fields
• Surprising connections and insights can come from seemingly unrelated
places
• …which can inform and improve the state of the practitioner’s art
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Straw Poll
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Strands
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
1. The Anthropic Principle
Weak Anthropic Principle
We must be prepared to take account of the fact that our location in the
Universe is necessarily privileged to the extent of being compatible with
our existence as observers.
That we exist implies that the Universe allows for our existence.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
The Anthropic Principle
BUT
The evidence for our existence means the Universe allows our existence,
but it doesn't mean the Universe must have unfolded exactly this way. It
doesn't mean our existence is mandatory. And it doesn't mean the
Universe must have given rise to us exactly as we are. In other words, you
cannot say “the Universe must be the way it is because we’re here.”
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2. A War Story (Literally)
World War II. The USAF wanted to figure out where armour should be
added to fighter planes (You can’t just add armour everywhere as it makes
the fighters less manoueverable and consume more fuel and so limit
range). Data suggested that fighters that returned to base after a mission
had the most bullest holes on the rest of the plane, then the fuel system,
then the fuselage, then the engines. The air force asked how additional
armour should be distributed across where the bullet damage was the
worst.
They asked Abraham Wald, a member of the Statistical Research Group…
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Survivorship Bias
From the Wikipedia Entry for Survivorship Bias:
The logical error of concentrating on the people or things that made it past
some selection process and overlooking those that did not, typically
because of their lack of visibility.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
3. Evolution
Struggle for existence/Survival of the fittest: The weak get weeded out, the
best survive and propagate…
It’s more nuanced than that:
• Every organism that exists today is an evolutionary winner
• But need not be tomorrow’s
• Evolution does not produce optimality in any absolute sense
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
4. The Dunning-Kruger Effect
• The scope of people’s ignorance is often invisible to them
• The least competent people can be the most confident about their
abilities
• ”Their deficits leave them with a double burden—not only does their
incomplete and misguided knowledge lead them to make mistakes but
those exact same deficits also prevent them from recognizing when
they are making mistakes and other people choosing more wisely.”
(Dunning, 2011)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
5. Sensitive Dependence On Initial Conditions
A.k.a (more glamorously) Chaos Theory or the Butterfly Effect.
“Can a butterfly flapping its wings in Brazil cause a tornado in Texas?”
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Complex systems can be strongly nonlinear
Which is exactly what amplifies the effect of a divergence in initial
conditions…
If a best practice has been distilled from some other system’s observed
operating experience…
…How much did that system diverge from yours and how sensitive is yours
to initial conditions?
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
6. Entropy and the Second Law of Thermodynamics
Entropy: S = k ln(# of equiprobably microstates)
More colloquially: The lack of order or predictability
The Second Law of Thermodynamics (hand waving):
The entropy of a closed system never decreases.
“This law also seems plausible for software systems; as a system is
modified, its disorder, or entropy, tends to increase. This is known
as software entropy.”
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
7. Complex System Failures
A very (for me, personally) influential paper:
How Complex Systems Fail, Richard Cook
If the only thing you take away from this talk is a reference to this paper,
you’re still ahead of the game !
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Complex System Failures
18 Observations distilled from an analysis of failures in complex systems
• #3 Catastrophe requires multiple failures
• #5 Complex systems run in degraded mode
• #7 Post accident attribution to a ‘root cause’ is fundamentally wrong
• #8 Hindsight biases post-accident assessments of human performance
• #10 All practitioner actions are gambles
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Weaving The Strands
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
So remind me how this is about AWS/Best Practices/42…?
As system operators we practice our craft in a context
A context that is strongly influenced or skewed by the experience of others
We tend to extrapolate from others’ claimed experience and the prestige of
their name
And often adopt a “wisdom of crowds” best practice without a critical
analysis of why it makes sense in our specific context
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Citations
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Dunning-Kruger
Unskilled and unaware of It: How difficulties in recognizing one’s own
incompetence lead to inflated self-assessments
Kruger J, Dunning D
Journal of Personal and Social Psychology, V77(6) 1999 pp1121-1134
The Dunning-Kruger effect: On being ignorant of one’s own
ignorance
David Dunning
Advances in Experimental Social Psychology, V44 2011 pp247-296
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Dunning-Kruger
Unskilled and unaware of It: How difficulties in recognizing one’s own
incompetence lead to inflated self-assessments
Kruger J, Dunning D
Journal of Personal and Social Psychology, V77(6) 1999 pp1121-1134
The Dunning-Kruger effect: On being ignorant of one’s own
ignorance
David Dunning
Advances in Experimental Social Psychology, V44 2011 pp247-296
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Complex System Failure
How Complex Systems Fail
Richard I. Cook, Cognitive Systems Laboratory, University of Chicago
http://web.mit.edu/2.75/resources/random/How%20Complex%20Systems
%20Fail.pdf

Más contenido relacionado

Similar a An innocent's guide to ignoring best practices

Culture of Innovation - Transformation Day Philadelphia 2018
Culture of Innovation - Transformation Day Philadelphia 2018Culture of Innovation - Transformation Day Philadelphia 2018
Culture of Innovation - Transformation Day Philadelphia 2018Amazon Web Services
 
Innovation for Everyone - AWS Transformation Days Raleigh 2018.pdf
Innovation for Everyone - AWS Transformation Days Raleigh 2018.pdfInnovation for Everyone - AWS Transformation Days Raleigh 2018.pdf
Innovation for Everyone - AWS Transformation Days Raleigh 2018.pdfAmazon Web Services
 
Cloud Choices- Quantifying the Cost and Risk Implications of Cloud.pdf
Cloud Choices- Quantifying the Cost and Risk Implications of Cloud.pdfCloud Choices- Quantifying the Cost and Risk Implications of Cloud.pdf
Cloud Choices- Quantifying the Cost and Risk Implications of Cloud.pdfAmazon Web Services
 
Can we unwarp reality before it's too late? #IAS18
Can we unwarp reality before it's too late? #IAS18Can we unwarp reality before it's too late? #IAS18
Can we unwarp reality before it's too late? #IAS18Hawkeye Thompson
 
New way to learn Machine Learning with AWS DeepLens & Daniel ZivKovic
New way to learn Machine Learning with AWS DeepLens & Daniel ZivKovicNew way to learn Machine Learning with AWS DeepLens & Daniel ZivKovic
New way to learn Machine Learning with AWS DeepLens & Daniel ZivKovicDaniel Zivkovic
 
Leading Your Team Through a Cloud Transformation - Virtual Transformation Day...
Leading Your Team Through a Cloud Transformation - Virtual Transformation Day...Leading Your Team Through a Cloud Transformation - Virtual Transformation Day...
Leading Your Team Through a Cloud Transformation - Virtual Transformation Day...Amazon Web Services
 
Applying principles of chaos engineering to serverless (reinvent DVC305)
Applying principles of chaos engineering to serverless (reinvent DVC305)Applying principles of chaos engineering to serverless (reinvent DVC305)
Applying principles of chaos engineering to serverless (reinvent DVC305)Yan Cui
 
Applying Principles of Chaos Engineering to Serverless (DVC305) - AWS re:Inve...
Applying Principles of Chaos Engineering to Serverless (DVC305) - AWS re:Inve...Applying Principles of Chaos Engineering to Serverless (DVC305) - AWS re:Inve...
Applying Principles of Chaos Engineering to Serverless (DVC305) - AWS re:Inve...Amazon Web Services
 
Leading Your Team Through a Cloud Transformation - AWS Online Tech Talks
Leading Your Team Through a Cloud Transformation - AWS Online Tech TalksLeading Your Team Through a Cloud Transformation - AWS Online Tech Talks
Leading Your Team Through a Cloud Transformation - AWS Online Tech TalksAmazon Web Services
 
Keynote - Adrian Hornsby on Chaos Engineering
Keynote - Adrian Hornsby on Chaos EngineeringKeynote - Adrian Hornsby on Chaos Engineering
Keynote - Adrian Hornsby on Chaos EngineeringAmazon Web Services
 
Building a Culture of Innovation - AWS Partner Summit Mumbai 2018.pdf
Building a Culture of Innovation - AWS Partner Summit Mumbai 2018.pdfBuilding a Culture of Innovation - AWS Partner Summit Mumbai 2018.pdf
Building a Culture of Innovation - AWS Partner Summit Mumbai 2018.pdfAmazon Web Services
 
Chaos Engineering with Kubernetes
Chaos Engineering with KubernetesChaos Engineering with Kubernetes
Chaos Engineering with KubernetesArun Gupta
 
Can Deep Learning Be Used to Treat Disease and Measure Product Value? (LFS310...
Can Deep Learning Be Used to Treat Disease and Measure Product Value? (LFS310...Can Deep Learning Be Used to Treat Disease and Measure Product Value? (LFS310...
Can Deep Learning Be Used to Treat Disease and Measure Product Value? (LFS310...Amazon Web Services
 
Cloud choices johnenoch_theatre1_session3_1335
Cloud choices johnenoch_theatre1_session3_1335Cloud choices johnenoch_theatre1_session3_1335
Cloud choices johnenoch_theatre1_session3_1335John Enoch
 
Enabling Sustainable Research Platforms in the Cloud
Enabling Sustainable Research Platforms in the CloudEnabling Sustainable Research Platforms in the Cloud
Enabling Sustainable Research Platforms in the CloudAmazon Web Services
 
AWS Transformation Day - Toronto 2018
AWS Transformation Day - Toronto 2018AWS Transformation Day - Toronto 2018
AWS Transformation Day - Toronto 2018Amazon Web Services
 
ProTips for Scaling AWS Training to Accelerate Adoption (DVC203) - AWS re:Inv...
ProTips for Scaling AWS Training to Accelerate Adoption (DVC203) - AWS re:Inv...ProTips for Scaling AWS Training to Accelerate Adoption (DVC203) - AWS re:Inv...
ProTips for Scaling AWS Training to Accelerate Adoption (DVC203) - AWS re:Inv...Amazon Web Services
 
AI Powered Conversational Interfaces for Personalized Learning & Chatbots
AI Powered Conversational Interfaces for Personalized Learning & ChatbotsAI Powered Conversational Interfaces for Personalized Learning & Chatbots
AI Powered Conversational Interfaces for Personalized Learning & ChatbotsAmazon Web Services
 
What IT Transformation Really Means for the Enterprise
What IT Transformation Really Means for the EnterpriseWhat IT Transformation Really Means for the Enterprise
What IT Transformation Really Means for the EnterpriseTom Laszewski
 

Similar a An innocent's guide to ignoring best practices (20)

Culture of Innovation - Transformation Day Philadelphia 2018
Culture of Innovation - Transformation Day Philadelphia 2018Culture of Innovation - Transformation Day Philadelphia 2018
Culture of Innovation - Transformation Day Philadelphia 2018
 
Innovation for Everyone - AWS Transformation Days Raleigh 2018.pdf
Innovation for Everyone - AWS Transformation Days Raleigh 2018.pdfInnovation for Everyone - AWS Transformation Days Raleigh 2018.pdf
Innovation for Everyone - AWS Transformation Days Raleigh 2018.pdf
 
Cloud Choices- Quantifying the Cost and Risk Implications of Cloud.pdf
Cloud Choices- Quantifying the Cost and Risk Implications of Cloud.pdfCloud Choices- Quantifying the Cost and Risk Implications of Cloud.pdf
Cloud Choices- Quantifying the Cost and Risk Implications of Cloud.pdf
 
Can we unwarp reality before it's too late? #IAS18
Can we unwarp reality before it's too late? #IAS18Can we unwarp reality before it's too late? #IAS18
Can we unwarp reality before it's too late? #IAS18
 
New way to learn Machine Learning with AWS DeepLens & Daniel ZivKovic
New way to learn Machine Learning with AWS DeepLens & Daniel ZivKovicNew way to learn Machine Learning with AWS DeepLens & Daniel ZivKovic
New way to learn Machine Learning with AWS DeepLens & Daniel ZivKovic
 
Innovation at Amazon
Innovation at AmazonInnovation at Amazon
Innovation at Amazon
 
Leading Your Team Through a Cloud Transformation - Virtual Transformation Day...
Leading Your Team Through a Cloud Transformation - Virtual Transformation Day...Leading Your Team Through a Cloud Transformation - Virtual Transformation Day...
Leading Your Team Through a Cloud Transformation - Virtual Transformation Day...
 
Applying principles of chaos engineering to serverless (reinvent DVC305)
Applying principles of chaos engineering to serverless (reinvent DVC305)Applying principles of chaos engineering to serverless (reinvent DVC305)
Applying principles of chaos engineering to serverless (reinvent DVC305)
 
Applying Principles of Chaos Engineering to Serverless (DVC305) - AWS re:Inve...
Applying Principles of Chaos Engineering to Serverless (DVC305) - AWS re:Inve...Applying Principles of Chaos Engineering to Serverless (DVC305) - AWS re:Inve...
Applying Principles of Chaos Engineering to Serverless (DVC305) - AWS re:Inve...
 
Leading Your Team Through a Cloud Transformation - AWS Online Tech Talks
Leading Your Team Through a Cloud Transformation - AWS Online Tech TalksLeading Your Team Through a Cloud Transformation - AWS Online Tech Talks
Leading Your Team Through a Cloud Transformation - AWS Online Tech Talks
 
Keynote - Adrian Hornsby on Chaos Engineering
Keynote - Adrian Hornsby on Chaos EngineeringKeynote - Adrian Hornsby on Chaos Engineering
Keynote - Adrian Hornsby on Chaos Engineering
 
Building a Culture of Innovation - AWS Partner Summit Mumbai 2018.pdf
Building a Culture of Innovation - AWS Partner Summit Mumbai 2018.pdfBuilding a Culture of Innovation - AWS Partner Summit Mumbai 2018.pdf
Building a Culture of Innovation - AWS Partner Summit Mumbai 2018.pdf
 
Chaos Engineering with Kubernetes
Chaos Engineering with KubernetesChaos Engineering with Kubernetes
Chaos Engineering with Kubernetes
 
Can Deep Learning Be Used to Treat Disease and Measure Product Value? (LFS310...
Can Deep Learning Be Used to Treat Disease and Measure Product Value? (LFS310...Can Deep Learning Be Used to Treat Disease and Measure Product Value? (LFS310...
Can Deep Learning Be Used to Treat Disease and Measure Product Value? (LFS310...
 
Cloud choices johnenoch_theatre1_session3_1335
Cloud choices johnenoch_theatre1_session3_1335Cloud choices johnenoch_theatre1_session3_1335
Cloud choices johnenoch_theatre1_session3_1335
 
Enabling Sustainable Research Platforms in the Cloud
Enabling Sustainable Research Platforms in the CloudEnabling Sustainable Research Platforms in the Cloud
Enabling Sustainable Research Platforms in the Cloud
 
AWS Transformation Day - Toronto 2018
AWS Transformation Day - Toronto 2018AWS Transformation Day - Toronto 2018
AWS Transformation Day - Toronto 2018
 
ProTips for Scaling AWS Training to Accelerate Adoption (DVC203) - AWS re:Inv...
ProTips for Scaling AWS Training to Accelerate Adoption (DVC203) - AWS re:Inv...ProTips for Scaling AWS Training to Accelerate Adoption (DVC203) - AWS re:Inv...
ProTips for Scaling AWS Training to Accelerate Adoption (DVC203) - AWS re:Inv...
 
AI Powered Conversational Interfaces for Personalized Learning & Chatbots
AI Powered Conversational Interfaces for Personalized Learning & ChatbotsAI Powered Conversational Interfaces for Personalized Learning & Chatbots
AI Powered Conversational Interfaces for Personalized Learning & Chatbots
 
What IT Transformation Really Means for the Enterprise
What IT Transformation Really Means for the EnterpriseWhat IT Transformation Really Means for the Enterprise
What IT Transformation Really Means for the Enterprise
 

Más de AWS User Group Bengaluru

Lessons learnt building a Distributed Linked List on S3
Lessons learnt building a Distributed Linked List on S3Lessons learnt building a Distributed Linked List on S3
Lessons learnt building a Distributed Linked List on S3AWS User Group Bengaluru
 
Building Efficient, Scalable and Resilient Front-end logging service with AWS
Building Efficient, Scalable and Resilient Front-end logging service with AWSBuilding Efficient, Scalable and Resilient Front-end logging service with AWS
Building Efficient, Scalable and Resilient Front-end logging service with AWSAWS User Group Bengaluru
 
Exploring opportunities with communities for a successful career
Exploring opportunities with communities for a successful careerExploring opportunities with communities for a successful career
Exploring opportunities with communities for a successful careerAWS User Group Bengaluru
 
Slack's transition away from a single AWS account
Slack's transition away from a single AWS accountSlack's transition away from a single AWS account
Slack's transition away from a single AWS accountAWS User Group Bengaluru
 
Building Efficient, Scalable and Resilient Front-end logging service with AWS
Building Efficient, Scalable and Resilient Front-end logging service with AWSBuilding Efficient, Scalable and Resilient Front-end logging service with AWS
Building Efficient, Scalable and Resilient Front-end logging service with AWSAWS User Group Bengaluru
 
Medlife's journey with AWS from 0(zero) orders to 6 digit mark
Medlife's journey with AWS from 0(zero) orders to 6 digit markMedlife's journey with AWS from 0(zero) orders to 6 digit mark
Medlife's journey with AWS from 0(zero) orders to 6 digit markAWS User Group Bengaluru
 
Exploring opportunities with communities for a successful career
Exploring opportunities with communities for a successful careerExploring opportunities with communities for a successful career
Exploring opportunities with communities for a successful careerAWS User Group Bengaluru
 
Lessons learnt building a Distributed Linked List on S3
Lessons learnt building a Distributed Linked List on S3Lessons learnt building a Distributed Linked List on S3
Lessons learnt building a Distributed Linked List on S3AWS User Group Bengaluru
 

Más de AWS User Group Bengaluru (20)

Demystifying identity on AWS
Demystifying identity on AWSDemystifying identity on AWS
Demystifying identity on AWS
 
AWS Secrets for Best Practices
AWS Secrets for Best PracticesAWS Secrets for Best Practices
AWS Secrets for Best Practices
 
Cloud Security
Cloud SecurityCloud Security
Cloud Security
 
Lessons learnt building a Distributed Linked List on S3
Lessons learnt building a Distributed Linked List on S3Lessons learnt building a Distributed Linked List on S3
Lessons learnt building a Distributed Linked List on S3
 
Medlife journey with AWS
Medlife journey with AWSMedlife journey with AWS
Medlife journey with AWS
 
Building Efficient, Scalable and Resilient Front-end logging service with AWS
Building Efficient, Scalable and Resilient Front-end logging service with AWSBuilding Efficient, Scalable and Resilient Front-end logging service with AWS
Building Efficient, Scalable and Resilient Front-end logging service with AWS
 
Exploring opportunities with communities for a successful career
Exploring opportunities with communities for a successful careerExploring opportunities with communities for a successful career
Exploring opportunities with communities for a successful career
 
Slack's transition away from a single AWS account
Slack's transition away from a single AWS accountSlack's transition away from a single AWS account
Slack's transition away from a single AWS account
 
Log analytics with ELK stack
Log analytics with ELK stackLog analytics with ELK stack
Log analytics with ELK stack
 
Serverless Culture
Serverless CultureServerless Culture
Serverless Culture
 
Refactoring to serverless
Refactoring to serverlessRefactoring to serverless
Refactoring to serverless
 
Amazon EC2 Spot Instances Workshop
Amazon EC2 Spot Instances WorkshopAmazon EC2 Spot Instances Workshop
Amazon EC2 Spot Instances Workshop
 
Building Efficient, Scalable and Resilient Front-end logging service with AWS
Building Efficient, Scalable and Resilient Front-end logging service with AWSBuilding Efficient, Scalable and Resilient Front-end logging service with AWS
Building Efficient, Scalable and Resilient Front-end logging service with AWS
 
Medlife's journey with AWS from 0(zero) orders to 6 digit mark
Medlife's journey with AWS from 0(zero) orders to 6 digit markMedlife's journey with AWS from 0(zero) orders to 6 digit mark
Medlife's journey with AWS from 0(zero) orders to 6 digit mark
 
AWS Secrets for Best Practices
AWS Secrets for Best PracticesAWS Secrets for Best Practices
AWS Secrets for Best Practices
 
Exploring opportunities with communities for a successful career
Exploring opportunities with communities for a successful careerExploring opportunities with communities for a successful career
Exploring opportunities with communities for a successful career
 
Lessons learnt building a Distributed Linked List on S3
Lessons learnt building a Distributed Linked List on S3Lessons learnt building a Distributed Linked List on S3
Lessons learnt building a Distributed Linked List on S3
 
Cloud Security
Cloud SecurityCloud Security
Cloud Security
 
Amazon EC2 Spot Instances
Amazon EC2 Spot InstancesAmazon EC2 Spot Instances
Amazon EC2 Spot Instances
 
Cost Optimization in AWS
Cost Optimization in AWSCost Optimization in AWS
Cost Optimization in AWS
 

Último

Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKJago de Vreede
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
"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 ...Zilliz
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
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...Martijn de Jong
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
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 FMESafe Software
 

Último (20)

Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
"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 ...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
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...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
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
 

An innocent's guide to ignoring best practices

  • 1. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. BENGALURU
  • 2. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. An Innocent’s Guide To Ignoring Best Practices... AMIT GARDE, VP Engineering, Swiggy | 6 October 2018
  • 3. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Preliminaries • What this talk is *not* going to be… • Prescriptive • A laundry list of things to do or to not do • What this talk is *trying* to be • A perspective on how “Best Practice” emerges, why a grain of salt is useful, and why we could usefully borrow ideas from other fields of human endeavour • What this talk *might* end up being • Whimsical • Discursive • …In which case consider it an attempt at AWS stand-up 
  • 4. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Computer Science is a “Constructed Field” • Brought into existence from “thought stuff” • We don’t deal with the universe in the same way as say Physics or Biology • No Universal Laws, no Physical Constants • Can give us a false sense of how much control we can assert
  • 5. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. The Practitioner Mindset and the evolution of Best Practice • Clouds – And AWS in particular - are Complex • Operating complex cloud based systems is hard • Deal with what’s breaking or what’s going to break next • Very focused on the here-and-now • Not a lot of time for contemplative meditation :-/ • “Don’t just sit there, do something”…Need something actionable • We try to deal with complexity by trying to superimpose simplicity • Hence “Best Practices” (Or tenets, or standard operating procedures or rules of thumb or…)
  • 6. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Perspective “Good artists borrow, great artists steal…” • We can do worse than learn from other fields • Surprising connections and insights can come from seemingly unrelated places • …which can inform and improve the state of the practitioner’s art
  • 7. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Straw Poll
  • 8. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Strands
  • 9. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 1. The Anthropic Principle Weak Anthropic Principle We must be prepared to take account of the fact that our location in the Universe is necessarily privileged to the extent of being compatible with our existence as observers. That we exist implies that the Universe allows for our existence.
  • 10. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. The Anthropic Principle BUT The evidence for our existence means the Universe allows our existence, but it doesn't mean the Universe must have unfolded exactly this way. It doesn't mean our existence is mandatory. And it doesn't mean the Universe must have given rise to us exactly as we are. In other words, you cannot say “the Universe must be the way it is because we’re here.”
  • 11. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 2. A War Story (Literally) World War II. The USAF wanted to figure out where armour should be added to fighter planes (You can’t just add armour everywhere as it makes the fighters less manoueverable and consume more fuel and so limit range). Data suggested that fighters that returned to base after a mission had the most bullest holes on the rest of the plane, then the fuel system, then the fuselage, then the engines. The air force asked how additional armour should be distributed across where the bullet damage was the worst. They asked Abraham Wald, a member of the Statistical Research Group…
  • 12. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Survivorship Bias From the Wikipedia Entry for Survivorship Bias: The logical error of concentrating on the people or things that made it past some selection process and overlooking those that did not, typically because of their lack of visibility.
  • 13. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 3. Evolution Struggle for existence/Survival of the fittest: The weak get weeded out, the best survive and propagate… It’s more nuanced than that: • Every organism that exists today is an evolutionary winner • But need not be tomorrow’s • Evolution does not produce optimality in any absolute sense
  • 14. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 4. The Dunning-Kruger Effect • The scope of people’s ignorance is often invisible to them • The least competent people can be the most confident about their abilities • ”Their deficits leave them with a double burden—not only does their incomplete and misguided knowledge lead them to make mistakes but those exact same deficits also prevent them from recognizing when they are making mistakes and other people choosing more wisely.” (Dunning, 2011)
  • 15. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 5. Sensitive Dependence On Initial Conditions A.k.a (more glamorously) Chaos Theory or the Butterfly Effect. “Can a butterfly flapping its wings in Brazil cause a tornado in Texas?”
  • 16. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Complex systems can be strongly nonlinear Which is exactly what amplifies the effect of a divergence in initial conditions… If a best practice has been distilled from some other system’s observed operating experience… …How much did that system diverge from yours and how sensitive is yours to initial conditions?
  • 17. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 6. Entropy and the Second Law of Thermodynamics Entropy: S = k ln(# of equiprobably microstates) More colloquially: The lack of order or predictability The Second Law of Thermodynamics (hand waving): The entropy of a closed system never decreases. “This law also seems plausible for software systems; as a system is modified, its disorder, or entropy, tends to increase. This is known as software entropy.”
  • 18. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 7. Complex System Failures A very (for me, personally) influential paper: How Complex Systems Fail, Richard Cook If the only thing you take away from this talk is a reference to this paper, you’re still ahead of the game !
  • 19. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Complex System Failures 18 Observations distilled from an analysis of failures in complex systems • #3 Catastrophe requires multiple failures • #5 Complex systems run in degraded mode • #7 Post accident attribution to a ‘root cause’ is fundamentally wrong • #8 Hindsight biases post-accident assessments of human performance • #10 All practitioner actions are gambles
  • 20. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Weaving The Strands
  • 21. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. So remind me how this is about AWS/Best Practices/42…? As system operators we practice our craft in a context A context that is strongly influenced or skewed by the experience of others We tend to extrapolate from others’ claimed experience and the prestige of their name And often adopt a “wisdom of crowds” best practice without a critical analysis of why it makes sense in our specific context
  • 22. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Citations
  • 23. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Dunning-Kruger Unskilled and unaware of It: How difficulties in recognizing one’s own incompetence lead to inflated self-assessments Kruger J, Dunning D Journal of Personal and Social Psychology, V77(6) 1999 pp1121-1134 The Dunning-Kruger effect: On being ignorant of one’s own ignorance David Dunning Advances in Experimental Social Psychology, V44 2011 pp247-296
  • 24. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Dunning-Kruger Unskilled and unaware of It: How difficulties in recognizing one’s own incompetence lead to inflated self-assessments Kruger J, Dunning D Journal of Personal and Social Psychology, V77(6) 1999 pp1121-1134 The Dunning-Kruger effect: On being ignorant of one’s own ignorance David Dunning Advances in Experimental Social Psychology, V44 2011 pp247-296
  • 25. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Complex System Failure How Complex Systems Fail Richard I. Cook, Cognitive Systems Laboratory, University of Chicago http://web.mit.edu/2.75/resources/random/How%20Complex%20Systems %20Fail.pdf

Notas del editor

  1. Tie in to “Ignoring Best Practices”…practitioner actions need to be grounded in principles and understanding, not blind obedience to a set of rules. I’m deliberately not going to get into the details of a specific supposedly best practice.
  2. In *principle* we may not think we have the control right now but we do believe that is is possible in principle, if only we did better in some way
  3. The intent in the next part will be to bring in some strands,
  4. How many here from a non CS/Engg background ? [Ramble a bit] How many have any familiarity with the hard sciences Physics, Biology etc post high school? How many with any social science ? [If none, or negligible as expected, this proves the point raffle. Else pleasantly surprised blah blah
  5. Has
  6. So if you’re running an AWS based infrastructure and it’s up, it doesn’t mean there was anything particularly great about what you did
  7. Wald recommended adding armour to the engines The one's you're missing are the ones who didn't make it back
  8. Why is this relevant? If your system has emerged after many iterations and accreted complexity there is a belief it must be better, it’s been running for so long. Not necessarily true. Also if the environment changes or there is the tech equivalent of a ‘mutation’ (spectre/meltdown and the firmware patches for them)
  9. Dilbert Fans? Pointy Headed Boss reference
  10. If you’re borrowing best practices from other people, the sensitivity to initial condition might mean that extrapolating from their experience is meaningless. Best Practice derives from (someone’s) experience, and if that someone’s starting state is sufficiently different from yours even if slightly, the sensitive dependence can mean applying their experience in your context buys you nothing – or worse
  11. If you’re borrowing best practices from other people, the sensitivity to initial condition might mean that extrapolating from their experience is meaningless. Best Practice derives from (someone’s) experience, and if that someone’s starting state is sufficiently different from yours even if slightly, the sensitive dependence can mean applying their experience in your context buys you nothing – or worse
  12. 10 configuration parameters; even if each is a simple on/off binary, that's already 1024...
  13. If the only thing you take away from this talk is the reference for this paper, that will have been worth it.
  14. A theme should have emerged by now...
  15. If the only thing you take away from this talk is the reference for this paper, that will have been worth it.