SlideShare une entreprise Scribd logo
1  sur  47
Presents




Webinar      © 2012 SOASTA. All rights reserved.   1
Methodologies and technology for Testing in Production (TiP)
TODAY’S PRESENTERS
Seth Eliot: Sr. Knowledge Engineer in Test, Microsoft- @setheliot
Rob Holcomb: VP Performance Engineering, SOASTA - @rcholcomb
Moderator: Brad Johnson - @bradjohnsonsv

Agenda:
•   Poll question
•   Leveraging active and passive monitoring for TiP
•   Testing and measuring system stress in production
•   Experimentation and iterative improvement
•   SOASTA CloudTest for TiP
•   Closing Poll

Questions:
Submit in the question box during event

                                          © 2012 SOASTA. All rights reserved.   October 30, 2012   2
© 2012 SOASTA. All rights reserved.   October 30, 2012   3
Seth
           Eliot




Sr. Knowledge Engineer in Test




                   © 2012 SOASTA. All rights reserved.   October 30, 2012   4
About Seth
o Currently with Microsoft Engineering Excellence
  focused on helping teams transition to The Cloud

o Previously with Bing, and before that Amazon.com

        The author is an employee of Microsoft Corporation.
      The views expressed in this presentation are those of the
     author and do not necessarily reflect any views or positions
      of Microsoft nor imply any relationship between Microsoft
                            and SOASTA.




o Seth wishes to thank Brad Johnson, Rob Holcomb and SOASTA
                        for this opportunity
                                                                    5
Introduction
Testing in Production (TiP)

         TestOps

         Big Data




                              6
Testing at Microsoft
             1985


o Design, execute and document
  tests




o Generate Test Scripts and
  automatic testing packages
What Testing Usually Is…
What Can Testing Be?




Big Data
The Three (or more) V’s of
        Big Data       [Strata Jan 2012]
TestOps
o Monitoring: What Ops does
o Testing: What Test Does


o TestOps: Change (augment) the “signal” used for quality
      From Test Results…
                             …to Big Data
The Big Data Signal
o Is often found in Production

o May not always be “Big”

   o The Quality Insights however should be Big



o TestOps: use this Big Data for quality assessment

o Big Data is in production

   o Therefore we Test in Production
© 2012 SOASTA. All rights reserved.   13
The Big Data Pipeline

o Facebook: Developers Instrument Everything

o Amazon: Central Monitoring

    o Add some config  Trending and Alerts

o Netflix: Custom libraries + AWS CloudWatch


                                       Servers



                                        CPU
How does TiP fit into Test
strategy?
 Does TiP Replace Up-Front Testing (UFT)?
    The Death of BUFT (Big UFT)?



                                   Test
                BUFT
                                   Strat

                                           Test
        UFT              TiP
                                           Strat
Four Categories of TiP
o Passive Monitoring
 o with Real Data


o Active Monitoring
 o with Synthetic Transactions


o Experimentation
 o on Real Users


o System Stress
 o of the Service and Environment



                                    17
Passive Monitoring
      with Real Data




                       18
Facebook Mines Big Data for Quality
Ganglia



  “5 million metrics”


  CPU, network usage




                        [Cook, June 2010]
User Performance Testing
o Collect specific telemetry about how long stuff takes from user point
 of view

o Real User Data – Real User Experience

o End to End = complete request and response cycle

  o From user to back-end round-trip

  o Include traffic to partners, dependency response time

  o Measured from the user point of view

o From around the world

o From diversity of browsers, OS, devices
Hotmail JSI User Performance Testing
                          Big Data?

o Hotmail's JavaScript Instrumentation (JSI)
  o   Budget for 500 Million measurements / month

  o   Scale for backend collection and analysis


o PLT by browser, OS, country, cluster, etc..
  o   As experienced by Millions of Real Users
Hotmail JSI User Performance Testing
 • PLT by browser, OS, country, cluster, etc..
User Performance Testing Examples

o Hotmail

    o Re-architected from the ground up around performance

    o Read messages are 50% faster




o   Windows Azure™

    o Every API: Tracks how many calls were made; how many
     succeeded, and how long each call took to process
Active Monitoring
  with Synthetic Transactions




                                24
TiP Test Execution
o From the Inside
  o Against internal APIs

  o Automated



o From the Outside
  o From User Entry Point
  o E2E Scenario in Production
  o Automated

  o or Manual

                                 25
This looks like this



but in Production




which is OK, but…
Can we leverage
       Big Data?

                       26
Active Monitoring
o Microsoft Exchange
  o Instead of pass/fail signal look at thousands of continuous runs.

    o Did we meet the "five nines" (99.999%) availability for scenario?

    o Is scenario slower this release than last? - performance




                                                          [Deschamps, Johnston, Jan
                                                          2012]



                                                                               27
Test Data Handling
o Synthetic Tests + Real Data = Potential Trouble

  o Avoid it

  o Tag it

  o Clean it up

o Example: Facebook Test Users

  o Cannot interact with real users

  o Can only friend other Test Users

  o Create 100s

  o Programmatic Control

                                                    28
Experimentation
    on Real Users




                    29
Experimentation
“To have a great idea,
have a lot of them”
            -- Thomas Edison




 o Try new things… in production

 o Build on successes

 o Cut your losses… before they get expensive
Mitigate Risk with Exposure Control
 o Launch a new Service – Everyone sees it

 o Exposure Control – only some see it




  By Browser            By Location          By Percent
                                               (scale)

                                                          31
Example: Controlled Test Flight:
  Netflix
                          1B API requests per day




                            “Canary” Deployment
[Cockcroft, March 2012]
Dogfood and Beta
System Stress
 of the Service and Environment




                                  37
Load Testing in Production
o Injects load on top of real user traffic

o Monitors for performance

oTo assess system capabilities and scalability

o Big Data
   o Traffic mix: real user queries, simulate scenarios
   o Real time telemetry: Monitor and Back-Off
   o After the fact Analysis
       o Tune SLAs/Targets
       o Tune real-time monitors and alerts

                                                          38
Load Testing in Production

o Rob will discuss some SOASTA
  case studies




                    o Identified issues that only could
                      be found in production
                    o Agile approach to implementation




                                                         39
Destructive Testing in Production
o Google first year of a new data center                  [Google DC, 2008]



   o 20 rack failures, 1000 server failures and thousands of hard
     drive failures



o High Availability
  means you must
  embrace failure
   o How do you test this?




                                                                              40
Netflix Tests its “Rambo Architecture”
 o …system has to be able to succeed, no matter
    what, even all on its own
 o Test with Fault Injection




                                                       [Netflix Army, July 2011]


 o Netflix Simian Army
  o Chaos monkey randomly kills production instance in AWS
  o Chaos Gorilla simulates an outage of an entire Amazon AZ
  o Janitor Monkey, Security Monkey, Latency Monkey…..



                                                                                   41
Changing the
Quality Signal



                 42
What Can Testing Be?
Change the signal from
Test Results to…
Big Data Quality Signal

    aka TestOps




                  Big Data

KPI: Key Performance Indicator
• Request latency
• RPS
• Availability / MTTR            44
Seth Eliot
seth.eliot@microsoft.com
   Twitter: @setheliot
Blog: http://bit.ly/seth_qa




                 © 2012 SOASTA. All rights reserved.   October 30, 2012   45
Rob
            Holcomb




VP Performance Engineering, Founder




                      © 2012 SOASTA. All rights reserved.   October 30, 2012   46
o Start testing early and often!

o Don’t wait until the last minute

o Test in production for real results

o Test mix: baseline, stress, spike, endurance, failover, diagnostic
  • Start with a baseline to understand general performance characteristics
  • Test types chosen depend on the defined goals

o Test case selection: performance testing is not functional testing

o Integrated monitoring data; know when to say when

o Define a clear test strategy with test plans, goals, and deliverable
  dates
o Focus on actionable results!

                                           © 2012 SOASTA. All rights reserved.   October 30, 2012   47
© 2012 SOASTA. All rights reserved.   October 30, 2012   48
Thank You!
             Next Webinar: Nov. 8, 2010 - 10 a.m. PST
                    “RUM Expert Roundtable”
           * Buddy Brewer & Philip Tellis (LogNormal founders); Aaron Kulick
                 (WalmartLabs): Moderator - Cliff Crocker (SOASTA) *
      Register at www.soasta.com/knowledge-center/webinars


        White Papers, Webinar Recordings, Case Studies
              www.soasta.com - Knowledge Center

 Contact SOASTA:                                                      Contact Seth:
 www.soasta.com/cloudtest/                                            seth.eliot@microsoft.co
 info@soasta.com                                                      m@setheliot
 866.344.8766
 Follow us:
                                                                      Contact Rob:
     twitter.com/cloudtest                                            rholcomb@soasta.com
                                                                      @rcholcomb
     facebook.com/cloudtest

                                              © 2012 SOASTA. All rights reserved.   October 30, 2012   49
References
[Google Talk, June 2007]    Google: Seattle Conference on Scalability: Lessons In Building Scalable Systems, Reza Behforooz
                            http://video.google.com/videoplay?docid=6202268628085731280
[Unpingco, Feb 2011]        Edward Unpingco; Bug Miner; Internal Microsoft Presentation, Bing Quality Day

[Barranco, Dec 2011]        René Barranco; Heuristics-Based Testing; Internal Microsoft Presentation

[Dell, 2012]                http://whichtestwon.com/dell%e2%80%99s-site-wide-search-box-test


[Microsoft.com, TechNet]    http://technet.microsoft.com/en-us/library/cc627315.aspx



[Cockcroft, March 2012]     http://perfcap.blogspot.com/2012/03/ops-devops-and-noops-at-netflix.html



[Deschamps, Johnston, Jan   Experiences of Test Automation; Dorothy Graham; Jan 2012; ISBN 0321754069; Chapter: “Moving to the Cloud: The
2012]                       Evolution of TiP, Continuous Regression Testing in Production”; Ken Johnston, Felix Deschamps

[Google DC, 2008]           http://content.dell.com/us/en/gen/d/large-business/google-data-center.aspx?dgc=SM&cid=57468&lid=1491495
                            http://perspectives.mvdirona.com/2008/06/11/JeffDeanOnGoogleInfrastructure.aspx


[Kohavi, Oct 2010]          Tracking Users’ Clicks and Submits: Tradeoffs between User Experience and Data Loss
                            http://www.exp-platform.com/Pages/TrackingClicksSubmits.aspx


[Strata Jan 2012]           What is big data? - An introduction to the big data landscape
                            http://radar.oreilly.com/2012/01/what-is-big-data.html




                                                                                                                                        50
References, continued
[Netflix Army, July 2011]       The Netflix Simian Army; July 2011
                                http://techblog.netflix.com/2011/07/netflix-simian-army.html


[Google-Wide Profiling, 2010]   Ren, Gang, et al. Google-wide Profiling: A Continuous Profiling Infrastructure for Data Centers. [Online] July 30, 2010.
                                research.google.com/pubs/archive/36575.pdf


[Facebook ships, 2011]          http://framethink.blogspot.com/2011/01/how-facebook-ships-code.html

[Google BusinessWeek, April     How Google Fuels Its Idea Factory, BusinessWeek, April 29, 2008;
2008]                           http://www.businessweek.com/magazine/content/08_19/b4083054277984.htm

[IBM 2011]                      http://www.ibm.com/developerworks/websphere/techjournal/1102_supauth/1102_supauth.html



[Kokogiak, 2006]                http://www.kokogiak.com/gedankengang/2006/08/amazons-digital-video-sneak-peek.html

[Google GTAC 2010]              Whittaker, James. GTAC 2010: Turning Quality on its Head. [Online] October 29, 2010.
                                http://www.youtube.com/watch?v=cqwXUTjcabs&feature=BF&list=PL1242F05D3EA83AB1&index=16.


[Google, JW 2009]               http://googletesting.blogspot.com/2009/07/plague-of-homelessness.html

[STPCon, 2012]                  STPCon Spring 2012 - Testing Wanted: Dead or Alive – March 26, 2012


[Cook, June 2010]               Ganglia, OSD: Cook, Tom. A Day in the Life of Facebook Operations. Velocity 2010. [Online] June 2010.
                                http://www.youtube.com/watch?v=T-Xr_PJdNmQ




                                                                                                                                                     51

Contenu connexe

En vedette

En vedette (15)

Testing In Production (TiP) Advances with Big Data and the Cloud
Testing In Production (TiP) Advances with Big Data and the CloudTesting In Production (TiP) Advances with Big Data and the Cloud
Testing In Production (TiP) Advances with Big Data and the Cloud
 
Accelerate Actionable Insights with the Business Data Lake
Accelerate Actionable Insights with the Business Data LakeAccelerate Actionable Insights with the Business Data Lake
Accelerate Actionable Insights with the Business Data Lake
 
How to Test Big Data Systems | QualiTest Group
How to Test Big Data Systems | QualiTest GroupHow to Test Big Data Systems | QualiTest Group
How to Test Big Data Systems | QualiTest Group
 
Big Data Testing : Automate theTesting of Hadoop, NoSQL & DWH without Writing...
Big Data Testing : Automate theTesting of Hadoop, NoSQL & DWH without Writing...Big Data Testing : Automate theTesting of Hadoop, NoSQL & DWH without Writing...
Big Data Testing : Automate theTesting of Hadoop, NoSQL & DWH without Writing...
 
Automating Big Data (Dec-2016)
Automating Big Data  (Dec-2016)Automating Big Data  (Dec-2016)
Automating Big Data (Dec-2016)
 
Working With Big Data - Nov 2016
Working With Big Data - Nov 2016Working With Big Data - Nov 2016
Working With Big Data - Nov 2016
 
Squarespace bootcamp
Squarespace bootcampSquarespace bootcamp
Squarespace bootcamp
 
Testing Big Data: Automated Testing of Hadoop with QuerySurge
Testing Big Data: Automated  Testing of Hadoop with QuerySurgeTesting Big Data: Automated  Testing of Hadoop with QuerySurge
Testing Big Data: Automated Testing of Hadoop with QuerySurge
 
How to Design a Sales Process for B2B Sales - #1 Tool for the Dream Sales Team
How to Design a Sales Process for B2B Sales - #1 Tool for the Dream Sales Team How to Design a Sales Process for B2B Sales - #1 Tool for the Dream Sales Team
How to Design a Sales Process for B2B Sales - #1 Tool for the Dream Sales Team
 
Working With Big Data
Working With Big DataWorking With Big Data
Working With Big Data
 
Designing Teams for Emerging Challenges
Designing Teams for Emerging ChallengesDesigning Teams for Emerging Challenges
Designing Teams for Emerging Challenges
 
Visual Design with Data
Visual Design with DataVisual Design with Data
Visual Design with Data
 
TEDx Manchester: AI & The Future of Work
TEDx Manchester: AI & The Future of WorkTEDx Manchester: AI & The Future of Work
TEDx Manchester: AI & The Future of Work
 
Build Features, Not Apps
Build Features, Not AppsBuild Features, Not Apps
Build Features, Not Apps
 
How to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your NicheHow to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your Niche
 

Similaire à Testing In Production (TiP) Advances with Big Data & the Cloud

Alliance2011 goldcoast Farid
Alliance2011 goldcoast FaridAlliance2011 goldcoast Farid
Alliance2011 goldcoast Farid
Farid Vaswani
 
Oslo Schibsted Performance Gathering
Oslo Schibsted Performance GatheringOslo Schibsted Performance Gathering
Oslo Schibsted Performance Gathering
Almudena Vivanco
 

Similaire à Testing In Production (TiP) Advances with Big Data & the Cloud (20)

Hardening
HardeningHardening
Hardening
 
Thomas Kauders - Agile Test Design And Automation of a Life-Critical Medical ...
Thomas Kauders - Agile Test Design And Automation of a Life-Critical Medical ...Thomas Kauders - Agile Test Design And Automation of a Life-Critical Medical ...
Thomas Kauders - Agile Test Design And Automation of a Life-Critical Medical ...
 
2014-10 DevOps NFi - Why it's a good idea to deploy 10 times per day v1.0
2014-10 DevOps NFi - Why it's a good idea to deploy 10 times per day v1.02014-10 DevOps NFi - Why it's a good idea to deploy 10 times per day v1.0
2014-10 DevOps NFi - Why it's a good idea to deploy 10 times per day v1.0
 
How to test a Mainframe Application
How to test a Mainframe ApplicationHow to test a Mainframe Application
How to test a Mainframe Application
 
The DevOps Dance - Shift Left, Shift Right - Get It Right
The DevOps Dance - Shift Left, Shift Right - Get It RightThe DevOps Dance - Shift Left, Shift Right - Get It Right
The DevOps Dance - Shift Left, Shift Right - Get It Right
 
Julian Harty - Alternatives To Testing - EuroSTAR 2010
Julian Harty - Alternatives To Testing - EuroSTAR 2010Julian Harty - Alternatives To Testing - EuroSTAR 2010
Julian Harty - Alternatives To Testing - EuroSTAR 2010
 
Alliance2011 goldcoast Farid
Alliance2011 goldcoast FaridAlliance2011 goldcoast Farid
Alliance2011 goldcoast Farid
 
STPCon fall 2012: The Testing Renaissance Has Arrived
STPCon fall 2012: The Testing Renaissance Has ArrivedSTPCon fall 2012: The Testing Renaissance Has Arrived
STPCon fall 2012: The Testing Renaissance Has Arrived
 
How To Introduce Cloud Based Load Testing to Your Jenkins Continuous Delivery...
How To Introduce Cloud Based Load Testing to Your Jenkins Continuous Delivery...How To Introduce Cloud Based Load Testing to Your Jenkins Continuous Delivery...
How To Introduce Cloud Based Load Testing to Your Jenkins Continuous Delivery...
 
Software Testing in a Distributed Environment
Software Testing in a Distributed EnvironmentSoftware Testing in a Distributed Environment
Software Testing in a Distributed Environment
 
ConFoo: Moving web performance testing to the left
ConFoo: Moving web performance testing to the leftConFoo: Moving web performance testing to the left
ConFoo: Moving web performance testing to the left
 
May 2021 Spark Testing ... or how to farm reputation on StackOverflow
May 2021 Spark Testing ... or how to farm reputation on StackOverflowMay 2021 Spark Testing ... or how to farm reputation on StackOverflow
May 2021 Spark Testing ... or how to farm reputation on StackOverflow
 
How to Manage the Risk of your Polyglot Environments
How to Manage the Risk of your Polyglot EnvironmentsHow to Manage the Risk of your Polyglot Environments
How to Manage the Risk of your Polyglot Environments
 
[DSC Croatia 22] How we create and leverage data services in GitLab - Radovan...
[DSC Croatia 22] How we create and leverage data services in GitLab - Radovan...[DSC Croatia 22] How we create and leverage data services in GitLab - Radovan...
[DSC Croatia 22] How we create and leverage data services in GitLab - Radovan...
 
Petri for kyiv.pptx
Petri for kyiv.pptxPetri for kyiv.pptx
Petri for kyiv.pptx
 
Using JMeter and Google Analytics for Software Performance Testing
Using JMeter and Google Analytics for Software Performance TestingUsing JMeter and Google Analytics for Software Performance Testing
Using JMeter and Google Analytics for Software Performance Testing
 
Oslo Schibsted Performance Gathering
Oslo Schibsted Performance GatheringOslo Schibsted Performance Gathering
Oslo Schibsted Performance Gathering
 
Keynote VST2020 (Workshop on Validation, Analysis and Evolution of Software ...
Keynote VST2020 (Workshop on  Validation, Analysis and Evolution of Software ...Keynote VST2020 (Workshop on  Validation, Analysis and Evolution of Software ...
Keynote VST2020 (Workshop on Validation, Analysis and Evolution of Software ...
 
Oracle Forms Performance Testing PushToTest TestMaker JAT
Oracle Forms Performance Testing PushToTest TestMaker JATOracle Forms Performance Testing PushToTest TestMaker JAT
Oracle Forms Performance Testing PushToTest TestMaker JAT
 
How to Test the Internet of Everything
How to Test the Internet of EverythingHow to Test the Internet of Everything
How to Test the Internet of Everything
 

Plus de SOASTA

Four best practices for performance testing mobile apps soasta and utopia
Four best practices for performance testing mobile apps   soasta and utopiaFour best practices for performance testing mobile apps   soasta and utopia
Four best practices for performance testing mobile apps soasta and utopia
SOASTA
 

Plus de SOASTA (20)

Mobile Performance: State of the Union
Mobile Performance: State of the UnionMobile Performance: State of the Union
Mobile Performance: State of the Union
 
Techniques, Tips & Tools For Mobile App Testing
Techniques, Tips & Tools For Mobile App TestingTechniques, Tips & Tools For Mobile App Testing
Techniques, Tips & Tools For Mobile App Testing
 
Velocity 2015 building self healing systems (slide share version)
Velocity 2015 building self healing systems (slide share version)Velocity 2015 building self healing systems (slide share version)
Velocity 2015 building self healing systems (slide share version)
 
Metrics, Metrics Everywhere (but where the heck do you start?)
Metrics, Metrics Everywhere (but where the heck do you start?)Metrics, Metrics Everywhere (but where the heck do you start?)
Metrics, Metrics Everywhere (but where the heck do you start?)
 
3 tips to increase mobile test coverage
3 tips to increase mobile test coverage3 tips to increase mobile test coverage
3 tips to increase mobile test coverage
 
Webinar: Was die Top eCommerce Firmen über Ihre Performance auf Web- & Mobile
Webinar: Was die Top eCommerce Firmen über Ihre Performance auf Web- & MobileWebinar: Was die Top eCommerce Firmen über Ihre Performance auf Web- & Mobile
Webinar: Was die Top eCommerce Firmen über Ihre Performance auf Web- & Mobile
 
Get Ready for Changes To Load Testing
Get Ready for Changes To Load Testing Get Ready for Changes To Load Testing
Get Ready for Changes To Load Testing
 
Building a Performance A-Team
Building a Performance A-TeamBuilding a Performance A-Team
Building a Performance A-Team
 
Dach webinar - Image Absicherung – Lektionen aus dem Facebook Crash
Dach webinar - Image Absicherung – Lektionen aus dem Facebook CrashDach webinar - Image Absicherung – Lektionen aus dem Facebook Crash
Dach webinar - Image Absicherung – Lektionen aus dem Facebook Crash
 
Four best practices for performance testing mobile apps soasta and utopia
Four best practices for performance testing mobile apps   soasta and utopiaFour best practices for performance testing mobile apps   soasta and utopia
Four best practices for performance testing mobile apps soasta and utopia
 
Synthetic and rum webinar
Synthetic and rum webinarSynthetic and rum webinar
Synthetic and rum webinar
 
7 steps to pragmatic mobile testing
7 steps to pragmatic mobile testing7 steps to pragmatic mobile testing
7 steps to pragmatic mobile testing
 
Secrets to Realistic Load Testing
Secrets to Realistic Load TestingSecrets to Realistic Load Testing
Secrets to Realistic Load Testing
 
How to measure the business impact of web performance
How to measure the business impact of web performanceHow to measure the business impact of web performance
How to measure the business impact of web performance
 
Lasttest auf Zuruf CloudTest on Demand webinar presentation
Lasttest auf Zuruf CloudTest on Demand webinar presentationLasttest auf Zuruf CloudTest on Demand webinar presentation
Lasttest auf Zuruf CloudTest on Demand webinar presentation
 
Accelerate Web and Mobile Testing for Continuous Integration and Delivery
Accelerate Web and Mobile Testing for Continuous Integration and DeliveryAccelerate Web and Mobile Testing for Continuous Integration and Delivery
Accelerate Web and Mobile Testing for Continuous Integration and Delivery
 
The Mobile Testing Checklist
The Mobile Testing ChecklistThe Mobile Testing Checklist
The Mobile Testing Checklist
 
How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & Cloud...
How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & Cloud...How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & Cloud...
How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & Cloud...
 
Reducing 3rd party content risk with Real User Monitoring
Reducing 3rd party content risk with Real User MonitoringReducing 3rd party content risk with Real User Monitoring
Reducing 3rd party content risk with Real User Monitoring
 
Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness
Tis The Season: Load Testing Tips and Checklist for Retail Seasonal ReadinessTis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness
Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness
 

Dernier

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
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
panagenda
 
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
Safe Software
 

Dernier (20)

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
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
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
 
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
 
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
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
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
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
"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 ...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
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...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 

Testing In Production (TiP) Advances with Big Data & the Cloud

  • 1. Presents Webinar © 2012 SOASTA. All rights reserved. 1
  • 2. Methodologies and technology for Testing in Production (TiP) TODAY’S PRESENTERS Seth Eliot: Sr. Knowledge Engineer in Test, Microsoft- @setheliot Rob Holcomb: VP Performance Engineering, SOASTA - @rcholcomb Moderator: Brad Johnson - @bradjohnsonsv Agenda: • Poll question • Leveraging active and passive monitoring for TiP • Testing and measuring system stress in production • Experimentation and iterative improvement • SOASTA CloudTest for TiP • Closing Poll Questions: Submit in the question box during event © 2012 SOASTA. All rights reserved. October 30, 2012 2
  • 3. © 2012 SOASTA. All rights reserved. October 30, 2012 3
  • 4. Seth Eliot Sr. Knowledge Engineer in Test © 2012 SOASTA. All rights reserved. October 30, 2012 4
  • 5. About Seth o Currently with Microsoft Engineering Excellence focused on helping teams transition to The Cloud o Previously with Bing, and before that Amazon.com The author is an employee of Microsoft Corporation. The views expressed in this presentation are those of the author and do not necessarily reflect any views or positions of Microsoft nor imply any relationship between Microsoft and SOASTA. o Seth wishes to thank Brad Johnson, Rob Holcomb and SOASTA for this opportunity 5
  • 6. Introduction Testing in Production (TiP) TestOps Big Data 6
  • 7. Testing at Microsoft 1985 o Design, execute and document tests o Generate Test Scripts and automatic testing packages
  • 9. What Can Testing Be? Big Data
  • 10. The Three (or more) V’s of Big Data [Strata Jan 2012]
  • 11. TestOps o Monitoring: What Ops does o Testing: What Test Does o TestOps: Change (augment) the “signal” used for quality From Test Results… …to Big Data
  • 12. The Big Data Signal o Is often found in Production o May not always be “Big” o The Quality Insights however should be Big o TestOps: use this Big Data for quality assessment o Big Data is in production o Therefore we Test in Production
  • 13. © 2012 SOASTA. All rights reserved. 13
  • 14. The Big Data Pipeline o Facebook: Developers Instrument Everything o Amazon: Central Monitoring o Add some config  Trending and Alerts o Netflix: Custom libraries + AWS CloudWatch Servers CPU
  • 15. How does TiP fit into Test strategy? Does TiP Replace Up-Front Testing (UFT)? The Death of BUFT (Big UFT)? Test BUFT Strat Test UFT TiP Strat
  • 16. Four Categories of TiP o Passive Monitoring o with Real Data o Active Monitoring o with Synthetic Transactions o Experimentation o on Real Users o System Stress o of the Service and Environment 17
  • 17. Passive Monitoring with Real Data 18
  • 18. Facebook Mines Big Data for Quality Ganglia “5 million metrics” CPU, network usage [Cook, June 2010]
  • 19. User Performance Testing o Collect specific telemetry about how long stuff takes from user point of view o Real User Data – Real User Experience o End to End = complete request and response cycle o From user to back-end round-trip o Include traffic to partners, dependency response time o Measured from the user point of view o From around the world o From diversity of browsers, OS, devices
  • 20. Hotmail JSI User Performance Testing Big Data? o Hotmail's JavaScript Instrumentation (JSI) o Budget for 500 Million measurements / month o Scale for backend collection and analysis o PLT by browser, OS, country, cluster, etc.. o As experienced by Millions of Real Users
  • 21. Hotmail JSI User Performance Testing • PLT by browser, OS, country, cluster, etc..
  • 22. User Performance Testing Examples o Hotmail o Re-architected from the ground up around performance o Read messages are 50% faster o Windows Azure™ o Every API: Tracks how many calls were made; how many succeeded, and how long each call took to process
  • 23. Active Monitoring with Synthetic Transactions 24
  • 24. TiP Test Execution o From the Inside o Against internal APIs o Automated o From the Outside o From User Entry Point o E2E Scenario in Production o Automated o or Manual 25
  • 25. This looks like this but in Production which is OK, but… Can we leverage Big Data? 26
  • 26. Active Monitoring o Microsoft Exchange o Instead of pass/fail signal look at thousands of continuous runs. o Did we meet the "five nines" (99.999%) availability for scenario? o Is scenario slower this release than last? - performance [Deschamps, Johnston, Jan 2012] 27
  • 27. Test Data Handling o Synthetic Tests + Real Data = Potential Trouble o Avoid it o Tag it o Clean it up o Example: Facebook Test Users o Cannot interact with real users o Can only friend other Test Users o Create 100s o Programmatic Control 28
  • 28. Experimentation on Real Users 29
  • 29. Experimentation “To have a great idea, have a lot of them” -- Thomas Edison o Try new things… in production o Build on successes o Cut your losses… before they get expensive
  • 30. Mitigate Risk with Exposure Control o Launch a new Service – Everyone sees it o Exposure Control – only some see it By Browser By Location By Percent (scale) 31
  • 31. Example: Controlled Test Flight: Netflix 1B API requests per day “Canary” Deployment [Cockcroft, March 2012]
  • 33. System Stress of the Service and Environment 37
  • 34. Load Testing in Production o Injects load on top of real user traffic o Monitors for performance oTo assess system capabilities and scalability o Big Data o Traffic mix: real user queries, simulate scenarios o Real time telemetry: Monitor and Back-Off o After the fact Analysis o Tune SLAs/Targets o Tune real-time monitors and alerts 38
  • 35. Load Testing in Production o Rob will discuss some SOASTA case studies o Identified issues that only could be found in production o Agile approach to implementation 39
  • 36. Destructive Testing in Production o Google first year of a new data center [Google DC, 2008] o 20 rack failures, 1000 server failures and thousands of hard drive failures o High Availability means you must embrace failure o How do you test this? 40
  • 37. Netflix Tests its “Rambo Architecture” o …system has to be able to succeed, no matter what, even all on its own o Test with Fault Injection [Netflix Army, July 2011] o Netflix Simian Army o Chaos monkey randomly kills production instance in AWS o Chaos Gorilla simulates an outage of an entire Amazon AZ o Janitor Monkey, Security Monkey, Latency Monkey….. 41
  • 39. What Can Testing Be? Change the signal from Test Results to…
  • 40. Big Data Quality Signal aka TestOps Big Data KPI: Key Performance Indicator • Request latency • RPS • Availability / MTTR 44
  • 41. Seth Eliot seth.eliot@microsoft.com Twitter: @setheliot Blog: http://bit.ly/seth_qa © 2012 SOASTA. All rights reserved. October 30, 2012 45
  • 42. Rob Holcomb VP Performance Engineering, Founder © 2012 SOASTA. All rights reserved. October 30, 2012 46
  • 43. o Start testing early and often! o Don’t wait until the last minute o Test in production for real results o Test mix: baseline, stress, spike, endurance, failover, diagnostic • Start with a baseline to understand general performance characteristics • Test types chosen depend on the defined goals o Test case selection: performance testing is not functional testing o Integrated monitoring data; know when to say when o Define a clear test strategy with test plans, goals, and deliverable dates o Focus on actionable results! © 2012 SOASTA. All rights reserved. October 30, 2012 47
  • 44. © 2012 SOASTA. All rights reserved. October 30, 2012 48
  • 45. Thank You! Next Webinar: Nov. 8, 2010 - 10 a.m. PST “RUM Expert Roundtable” * Buddy Brewer & Philip Tellis (LogNormal founders); Aaron Kulick (WalmartLabs): Moderator - Cliff Crocker (SOASTA) * Register at www.soasta.com/knowledge-center/webinars White Papers, Webinar Recordings, Case Studies www.soasta.com - Knowledge Center Contact SOASTA: Contact Seth: www.soasta.com/cloudtest/ seth.eliot@microsoft.co info@soasta.com m@setheliot 866.344.8766 Follow us: Contact Rob: twitter.com/cloudtest rholcomb@soasta.com @rcholcomb facebook.com/cloudtest © 2012 SOASTA. All rights reserved. October 30, 2012 49
  • 46. References [Google Talk, June 2007] Google: Seattle Conference on Scalability: Lessons In Building Scalable Systems, Reza Behforooz http://video.google.com/videoplay?docid=6202268628085731280 [Unpingco, Feb 2011] Edward Unpingco; Bug Miner; Internal Microsoft Presentation, Bing Quality Day [Barranco, Dec 2011] René Barranco; Heuristics-Based Testing; Internal Microsoft Presentation [Dell, 2012] http://whichtestwon.com/dell%e2%80%99s-site-wide-search-box-test [Microsoft.com, TechNet] http://technet.microsoft.com/en-us/library/cc627315.aspx [Cockcroft, March 2012] http://perfcap.blogspot.com/2012/03/ops-devops-and-noops-at-netflix.html [Deschamps, Johnston, Jan Experiences of Test Automation; Dorothy Graham; Jan 2012; ISBN 0321754069; Chapter: “Moving to the Cloud: The 2012] Evolution of TiP, Continuous Regression Testing in Production”; Ken Johnston, Felix Deschamps [Google DC, 2008] http://content.dell.com/us/en/gen/d/large-business/google-data-center.aspx?dgc=SM&cid=57468&lid=1491495 http://perspectives.mvdirona.com/2008/06/11/JeffDeanOnGoogleInfrastructure.aspx [Kohavi, Oct 2010] Tracking Users’ Clicks and Submits: Tradeoffs between User Experience and Data Loss http://www.exp-platform.com/Pages/TrackingClicksSubmits.aspx [Strata Jan 2012] What is big data? - An introduction to the big data landscape http://radar.oreilly.com/2012/01/what-is-big-data.html 50
  • 47. References, continued [Netflix Army, July 2011] The Netflix Simian Army; July 2011 http://techblog.netflix.com/2011/07/netflix-simian-army.html [Google-Wide Profiling, 2010] Ren, Gang, et al. Google-wide Profiling: A Continuous Profiling Infrastructure for Data Centers. [Online] July 30, 2010. research.google.com/pubs/archive/36575.pdf [Facebook ships, 2011] http://framethink.blogspot.com/2011/01/how-facebook-ships-code.html [Google BusinessWeek, April How Google Fuels Its Idea Factory, BusinessWeek, April 29, 2008; 2008] http://www.businessweek.com/magazine/content/08_19/b4083054277984.htm [IBM 2011] http://www.ibm.com/developerworks/websphere/techjournal/1102_supauth/1102_supauth.html [Kokogiak, 2006] http://www.kokogiak.com/gedankengang/2006/08/amazons-digital-video-sneak-peek.html [Google GTAC 2010] Whittaker, James. GTAC 2010: Turning Quality on its Head. [Online] October 29, 2010. http://www.youtube.com/watch?v=cqwXUTjcabs&feature=BF&list=PL1242F05D3EA83AB1&index=16. [Google, JW 2009] http://googletesting.blogspot.com/2009/07/plague-of-homelessness.html [STPCon, 2012] STPCon Spring 2012 - Testing Wanted: Dead or Alive – March 26, 2012 [Cook, June 2010] Ganglia, OSD: Cook, Tom. A Day in the Life of Facebook Operations. Velocity 2010. [Online] June 2010. http://www.youtube.com/watch?v=T-Xr_PJdNmQ 51

Notes de l'éditeur

  1. SOASTA
  2. SOASTA
  3. Early and often: TargetDon’t wait until the last minute: American GirlTIP for real results: Intuit TurboTax (hundreds of thousands of users) – in a real production environmentTest mix: spike (Nike—shoe release)Integrated monitoring data: Dillard’s DynaTrace—pushing app servers to the limit; stop!