SlideShare a Scribd company logo
1 of 31
Download to read offline
Performance Monitoring and Testing
in the Salesforce Cloud
Your Success. Our Cloud

Raj Advani, salesforce.com, Sr. Technical Solution Architect
Randy Case, salesforce.com, Director, Customer Centric Engineering
Raj Advani
Sr. Technical Solution Architect
radvani@salesforce.com
Randy Case
Director, Customer Centric Engineering
rcase@salesforce.com
Safe Harbor
 Safe harbor statement under the Private Securities Litigation Reform Act of 1995:

 This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties
 materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results
 expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be
 deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other
 financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any
 statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services.

 The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new
 functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our
 operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of
 intellectual property and other litigation, risks associated with possible mergers and acquisitions, the immature market in which we
 operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new
 releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization
 and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of
 salesforce.com, inc. is included in our annual report on Form 10-Q for the most recent fiscal quarter ended July 31, 2012. This
 documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of
 our Web site.

 Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently
 available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based
 upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-
 looking statements.
Agenda

 What is performance testing
 The scalable Salesforce architecture
 Internal Salesforce performance testing
 Why do you need to test?
 Performance testing approach and testing tools
 Questions and Answers
What is Performance Testing?
    ‘Performance testing is typically done to help identify bottlenecks in a
system, establish a baseline for future testing, support a performance
tuning effort, determine compliance with performance goals and
requirements, and/or collect other performance-related data to help
stakeholders make informed decisions related to the overall quality of the
application being tested. In addition, the results from performance testing
and analysis can help you to estimate the hardware configuration
required to support the application(s) when you “go live” to production
operation. ‘

                          WOW!
6
What is Performance Testing?

        ‘Performance testing is typically done to help identify bottlenecks in a
    system, establish a baseline for future testing, support a performance
    tuning effort, determine compliance with performance goals and
    requirements, and/or collect other performance-related data to help
    stakeholders make informed decisions related to the overall quality of the
    application being tested.




                            WOW!
7
Agenda

 What is performance Testing
 The Scalable Salesforce Architecture
 Internal Salesforce Performance Testing
 Why do you need to test?
 Performance Testing Approach and Testing Tools
Transactional Volumes
It’s in the numbers!

                                     104,000+ businesses
   >60   billion              requests/quarter
         < 275 ms avg. response time                  100s thousands users
                                             100s gigabytes of data
           >800  million                            >40 million account records
           operations/day million contact records
                       >20
                                                          >30 million opportunity records
                                     100s     millions custom object records
Multi-tenant, Cloud Computing Platform
Pod Architecture Enhances Availability, Scale, and Platform
for Future Growth
     NA0                                APAC
     Pod                                 Pod

                          Network
     NA1                               Sandbox
     Pod                  Services       Pod


     NA2                  Storage      EMEA2
     Pod                  Services      Pod


     NA3                  Backup         NA6
     Pod                                 Pod
                          Services
     NA4                                 NA7
     Pod                  Monitoring     Pod
                          Services
     NA5
     Pod
                          Security
                          Services
     EMEA                                        “N” Pod
      Pod
A Scalable, High Performing Architecture




 Database cluster
   8 Node RAC cluster
   Scalability and fault tolerance
 Application Servers
   Web requests, API calls, Batch processes, Search requests
   30 plus servers, load balanced for performance
   Scale vertically and horizontally
Scalable, High Performing Architecture


 Network
   10 carriers for geographic
    performance and redundancy.
   Data centers located at core
    Internet hubs.
   Access to thousands of global
    Internet peering points.
   Redundant routers, switches,
    firewalls and load balancers
Agenda

 What is performance Testing
 The Scalable Salesforce Architecture
 Internal Salesforce Performance Testing
 Why do you need to test?
 Performance Testing Approach and Testing Tools
Performance Engineering


      Primarily focuses on benchmarking,
      simulation, tuning, analysis, and
      monitoring/profiling of the applications.


      Uses sophisticated simulation
      methodologies, automation, tools, and
      environments to discover the problems.
Performance Engineering

 Performance testing typically falls into two major categories.
   Playback-based:
      • Plays back the Production traffic logs within a secure environment.
      • Private information appropriately obfuscated.
      • Capture real-world data skews, volumes, and transactions.
   Synthetic:
      • Custom tools to generate and profile workloads and data shapes
      • Simulate current loads and beyond that are currently in use in the production
        systems.
What’s Tested?




    Full       Database                               Programmatic
                            User Interface   Search
Environment   Performance                               Features
Capacity Planning


                                              Multi year growth
Proactive Approach    Capacity alerts
                                                     plan

   Customer                                      Scale
                       Reactive
  transaction                                 vertically or
                       monitoring
  monitoring                                  horizontally

             Excess capacity always exists!
Agenda

 What is performance Testing
 The Scalable Salesforce Architecture
 Internal Salesforce Performance Testing
 Why do you need to test?
 Performance Testing Approach & Testing Tools
Candidates for Performance Testing

Heavy Custom Development

 • Testing should be geared towards exercising the custom code of an
   application

High Activity

 •   Large Transaction based testing
 •   Large User based testing
 •   Browser Rendering
 •   Real-time monitoring
What Is Performance Testing

             Response Time Based Testing
      Confirm that a set of VF Pages and Apex
      controllers perform in such a manner as to
      give the end user a positive experience


                   Load Based Testing
      Confirm that a set of Apex code, VF Pages
      will be able to support a particular load.


22
What is Performance Testing?
 Performance Testing categories
   Load, Endurance, Spike, Configuration, Isolation.
 Performance Testing Architecture
Metrics Collected


 Page Response      Server Response     Transaction
     Times               Times        Throughput Rate
                                        Measurement
  Measurement        Measurement
                                        of number of
   of End User       of SFDC POD
                                          completed
  perspective of       Response
                                       transactions in
  tested pages           Times
                                        a time period
Agenda

 What is performance Testing
 The Scalable Salesforce Architecture
 Internal Salesforce Performance Testing
 Why do you need to test?
 Performance Testing Approach & Tools
Recommended Performance Testing Approach
      Build Test Plan


  •Identify Key Business     Run Baseline Test
  Transactions
  •Test Tool
  •Environment for         •Low User Test                  Identify X
  testing                  •Used to confirm script
  •Projected X Load for    •Get baseline numbers                             Run .5X, .75X, and X
  each script                                        •Use baseline numbers          Tests
                                                     •Data analysis from
                                                     existing sources
                                                     •Make sure number is    •Run your full scale
                                                     realistic               tests
                                                                             •Gradually increasing
                                                                             load
X = Projected realistic goal based on script and
wait time
Performance Testing Tools
 Salesforce supports most all major performance testing tools
 Tools capture all data and metrics for reporting
 More popular tools:


         Commercial                  Open Source
         •LoadRunner                   •Jmeter
        •Silk Performer                •Fiddler
           •RadView                   •OpenSTA
Engaging Salesforce for Performance Testing
 Create tests that measure transaction and business process time.
 Create a test plan
 Open a Salesforce support case with the following:
   Brief explanation of the test
   When test will be conducted
   Sandbox instance and organization ID where the test will be conducted.
   Contact information during the test
   Attach your test plan

       If plan or timeframe changes, let us know.
Wrap Up
 • Most clients will not need to conduct their own testing
  • Average of 60 billion transactions a day with an average response time of 250ms
  • Multi-Tenet architecture supports scalability and high performance
  • Capacity planning and Performance engineer teams conduct performance test to
    ensure application and platform performance

 • Heavy use of custom code or high user load clients may conduct
   performance tests
  • Main collected metrics include, response times, server times, and transaction
    throughput rate
  • Identify realistic load, create test plan and run tests
  • Engage Salesforce by creating a support case
Raj Advani                  Randy Case
 Sr. Technical Architect,     Director, Software
radvani@salesforce.com           Engineering
                            rcase@salesforce.com
Performance Monitoring and Testing in the Salesforce Cloud

More Related Content

What's hot

Performance Testing in Agile Process
Performance Testing in Agile ProcessPerformance Testing in Agile Process
Performance Testing in Agile ProcessIdexcel Technologies
 
Introduction to performance testing
Introduction to performance testingIntroduction to performance testing
Introduction to performance testingRichard Bishop
 
Functional Testing Tutorial | Edureka
Functional Testing Tutorial | EdurekaFunctional Testing Tutorial | Edureka
Functional Testing Tutorial | EdurekaEdureka!
 
Performance testing presentation
Performance testing presentationPerformance testing presentation
Performance testing presentationBelatrix Software
 
Salesforce Service Cloud - An overview
Salesforce Service Cloud - An overviewSalesforce Service Cloud - An overview
Salesforce Service Cloud - An overviewAjay Balakrishnan
 
Performance testing : An Overview
Performance testing : An OverviewPerformance testing : An Overview
Performance testing : An Overviewsharadkjain
 
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | EdurekaSoftware Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | EdurekaEdureka!
 
Software Testing Tutorial For Beginners | Manual & Automation Testing | Selen...
Software Testing Tutorial For Beginners | Manual & Automation Testing | Selen...Software Testing Tutorial For Beginners | Manual & Automation Testing | Selen...
Software Testing Tutorial For Beginners | Manual & Automation Testing | Selen...Edureka!
 
Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)Leonard Fingerman
 
How to Design a Successful Test Automation Strategy
How to Design a Successful Test Automation Strategy How to Design a Successful Test Automation Strategy
How to Design a Successful Test Automation Strategy Impetus Technologies
 
Test automation framework
Test automation frameworkTest automation framework
Test automation frameworkQACampus
 
Qa exploratory test charter template
Qa exploratory test charter templateQa exploratory test charter template
Qa exploratory test charter templateRob Swoboda
 

What's hot (20)

Test automation process
Test automation processTest automation process
Test automation process
 
Performance Testing in Agile Process
Performance Testing in Agile ProcessPerformance Testing in Agile Process
Performance Testing in Agile Process
 
Introduction to performance testing
Introduction to performance testingIntroduction to performance testing
Introduction to performance testing
 
Functional Testing Tutorial | Edureka
Functional Testing Tutorial | EdurekaFunctional Testing Tutorial | Edureka
Functional Testing Tutorial | Edureka
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Performance testing presentation
Performance testing presentationPerformance testing presentation
Performance testing presentation
 
Salesforce Service Cloud - An overview
Salesforce Service Cloud - An overviewSalesforce Service Cloud - An overview
Salesforce Service Cloud - An overview
 
STLC
STLCSTLC
STLC
 
Performance testing : An Overview
Performance testing : An OverviewPerformance testing : An Overview
Performance testing : An Overview
 
Cloud Testing
Cloud TestingCloud Testing
Cloud Testing
 
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | EdurekaSoftware Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
 
Introduction to Visualforce
Introduction to VisualforceIntroduction to Visualforce
Introduction to Visualforce
 
Software Testing Tutorial For Beginners | Manual & Automation Testing | Selen...
Software Testing Tutorial For Beginners | Manual & Automation Testing | Selen...Software Testing Tutorial For Beginners | Manual & Automation Testing | Selen...
Software Testing Tutorial For Beginners | Manual & Automation Testing | Selen...
 
Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)
 
How to Design a Successful Test Automation Strategy
How to Design a Successful Test Automation Strategy How to Design a Successful Test Automation Strategy
How to Design a Successful Test Automation Strategy
 
Presentation on Agile Testing
Presentation on Agile TestingPresentation on Agile Testing
Presentation on Agile Testing
 
Test automation framework
Test automation frameworkTest automation framework
Test automation framework
 
Test plan
Test planTest plan
Test plan
 
Qa exploratory test charter template
Qa exploratory test charter templateQa exploratory test charter template
Qa exploratory test charter template
 
ISTQB foundation level - day 2
ISTQB foundation level - day 2ISTQB foundation level - day 2
ISTQB foundation level - day 2
 

Similar to Performance Monitoring and Testing in the Salesforce Cloud

Avoid Growing Pains: Scale Your App for the Enterprise (October 14, 2014)
Avoid Growing Pains: Scale Your App for the Enterprise (October 14, 2014)Avoid Growing Pains: Scale Your App for the Enterprise (October 14, 2014)
Avoid Growing Pains: Scale Your App for the Enterprise (October 14, 2014)Salesforce Partners
 
Best Practices In Load And Stress Testing Cmg Seminar[1]
Best Practices In Load And Stress Testing Cmg Seminar[1]Best Practices In Load And Stress Testing Cmg Seminar[1]
Best Practices In Load And Stress Testing Cmg Seminar[1]Munirathnam Naidu
 
Salesforce Multitenant Architecture: How We Do the Magic We Do
Salesforce Multitenant Architecture: How We Do the Magic We DoSalesforce Multitenant Architecture: How We Do the Magic We Do
Salesforce Multitenant Architecture: How We Do the Magic We DoSalesforce Developers
 
Marlabs Capabilities Overview: Java and Open Source
Marlabs Capabilities Overview: Java and Open Source Marlabs Capabilities Overview: Java and Open Source
Marlabs Capabilities Overview: Java and Open Source Marlabs
 
Salesforce Cloud Infrastructure and Challenges - A Brief Overview
Salesforce Cloud Infrastructure and Challenges - A Brief OverviewSalesforce Cloud Infrastructure and Challenges - A Brief Overview
Salesforce Cloud Infrastructure and Challenges - A Brief OverviewSalesforce Engineering
 
Modernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-ArchitectModernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-ArchitectDevOps.com
 
Aberdeen Oil & Gas Event - Cloud Adoption Framework
Aberdeen Oil & Gas Event - Cloud Adoption FrameworkAberdeen Oil & Gas Event - Cloud Adoption Framework
Aberdeen Oil & Gas Event - Cloud Adoption FrameworkAmazon Web Services
 
Accelerating SAP transformations with Micro Focus
Accelerating SAP transformations with Micro FocusAccelerating SAP transformations with Micro Focus
Accelerating SAP transformations with Micro FocusChristian Schuetz
 
XebiaLabs, CloudBees, Puppet Labs Webinar Slides - IT Automation for the Mode...
XebiaLabs, CloudBees, Puppet Labs Webinar Slides - IT Automation for the Mode...XebiaLabs, CloudBees, Puppet Labs Webinar Slides - IT Automation for the Mode...
XebiaLabs, CloudBees, Puppet Labs Webinar Slides - IT Automation for the Mode...XebiaLabs
 
Advanced Application Lifecycle Managment
Advanced Application Lifecycle ManagmentAdvanced Application Lifecycle Managment
Advanced Application Lifecycle ManagmentSalesforce Developers
 
Achieve Performance Testing Excellence for Your SAP Apps
Achieve Performance Testing Excellence for Your SAP AppsAchieve Performance Testing Excellence for Your SAP Apps
Achieve Performance Testing Excellence for Your SAP AppsNeotys
 
Performance Testing ISV Apps to Scale
Performance Testing ISV Apps to ScalePerformance Testing ISV Apps to Scale
Performance Testing ISV Apps to ScaleSalesforce Partners
 
Performance Testing ISV Apps to Scale 11/9/2016
Performance Testing ISV Apps to Scale 11/9/2016Performance Testing ISV Apps to Scale 11/9/2016
Performance Testing ISV Apps to Scale 11/9/2016Salesforce Partners
 
Performance Continuous Integration
Performance Continuous IntegrationPerformance Continuous Integration
Performance Continuous IntegrationAlmudena Vivanco
 
Application Acceleration: Faster Performance for End Users
Application Acceleration: Faster Performance for End Users	Application Acceleration: Faster Performance for End Users
Application Acceleration: Faster Performance for End Users Eric Kavanagh
 
Performance Testing
Performance TestingPerformance Testing
Performance Testingrockden
 
Aspirea sales presentation
Aspirea sales presentationAspirea sales presentation
Aspirea sales presentationMayank Singh
 

Similar to Performance Monitoring and Testing in the Salesforce Cloud (20)

Avoid Growing Pains: Scale Your App for the Enterprise (October 14, 2014)
Avoid Growing Pains: Scale Your App for the Enterprise (October 14, 2014)Avoid Growing Pains: Scale Your App for the Enterprise (October 14, 2014)
Avoid Growing Pains: Scale Your App for the Enterprise (October 14, 2014)
 
Best Practices In Load And Stress Testing Cmg Seminar[1]
Best Practices In Load And Stress Testing Cmg Seminar[1]Best Practices In Load And Stress Testing Cmg Seminar[1]
Best Practices In Load And Stress Testing Cmg Seminar[1]
 
Salesforce Multitenant Architecture: How We Do the Magic We Do
Salesforce Multitenant Architecture: How We Do the Magic We DoSalesforce Multitenant Architecture: How We Do the Magic We Do
Salesforce Multitenant Architecture: How We Do the Magic We Do
 
Coding in the App Cloud
Coding in the App CloudCoding in the App Cloud
Coding in the App Cloud
 
Marlabs Capabilities Overview: Java and Open Source
Marlabs Capabilities Overview: Java and Open Source Marlabs Capabilities Overview: Java and Open Source
Marlabs Capabilities Overview: Java and Open Source
 
Continuous testing
Continuous testingContinuous testing
Continuous testing
 
Salesforce Cloud Infrastructure and Challenges - A Brief Overview
Salesforce Cloud Infrastructure and Challenges - A Brief OverviewSalesforce Cloud Infrastructure and Challenges - A Brief Overview
Salesforce Cloud Infrastructure and Challenges - A Brief Overview
 
Modernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-ArchitectModernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-Architect
 
Performance Engineering Basics
Performance Engineering BasicsPerformance Engineering Basics
Performance Engineering Basics
 
Aberdeen Oil & Gas Event - Cloud Adoption Framework
Aberdeen Oil & Gas Event - Cloud Adoption FrameworkAberdeen Oil & Gas Event - Cloud Adoption Framework
Aberdeen Oil & Gas Event - Cloud Adoption Framework
 
Accelerating SAP transformations with Micro Focus
Accelerating SAP transformations with Micro FocusAccelerating SAP transformations with Micro Focus
Accelerating SAP transformations with Micro Focus
 
XebiaLabs, CloudBees, Puppet Labs Webinar Slides - IT Automation for the Mode...
XebiaLabs, CloudBees, Puppet Labs Webinar Slides - IT Automation for the Mode...XebiaLabs, CloudBees, Puppet Labs Webinar Slides - IT Automation for the Mode...
XebiaLabs, CloudBees, Puppet Labs Webinar Slides - IT Automation for the Mode...
 
Advanced Application Lifecycle Managment
Advanced Application Lifecycle ManagmentAdvanced Application Lifecycle Managment
Advanced Application Lifecycle Managment
 
Achieve Performance Testing Excellence for Your SAP Apps
Achieve Performance Testing Excellence for Your SAP AppsAchieve Performance Testing Excellence for Your SAP Apps
Achieve Performance Testing Excellence for Your SAP Apps
 
Performance Testing ISV Apps to Scale
Performance Testing ISV Apps to ScalePerformance Testing ISV Apps to Scale
Performance Testing ISV Apps to Scale
 
Performance Testing ISV Apps to Scale 11/9/2016
Performance Testing ISV Apps to Scale 11/9/2016Performance Testing ISV Apps to Scale 11/9/2016
Performance Testing ISV Apps to Scale 11/9/2016
 
Performance Continuous Integration
Performance Continuous IntegrationPerformance Continuous Integration
Performance Continuous Integration
 
Application Acceleration: Faster Performance for End Users
Application Acceleration: Faster Performance for End Users	Application Acceleration: Faster Performance for End Users
Application Acceleration: Faster Performance for End Users
 
Performance Testing
Performance TestingPerformance Testing
Performance Testing
 
Aspirea sales presentation
Aspirea sales presentationAspirea sales presentation
Aspirea sales presentation
 

More from Salesforce Developers

Sample Gallery: Reference Code and Best Practices for Salesforce Developers
Sample Gallery: Reference Code and Best Practices for Salesforce DevelopersSample Gallery: Reference Code and Best Practices for Salesforce Developers
Sample Gallery: Reference Code and Best Practices for Salesforce DevelopersSalesforce Developers
 
Maximizing Salesforce Lightning Experience and Lightning Component Performance
Maximizing Salesforce Lightning Experience and Lightning Component PerformanceMaximizing Salesforce Lightning Experience and Lightning Component Performance
Maximizing Salesforce Lightning Experience and Lightning Component PerformanceSalesforce Developers
 
Local development with Open Source Base Components
Local development with Open Source Base ComponentsLocal development with Open Source Base Components
Local development with Open Source Base ComponentsSalesforce Developers
 
TrailheaDX India : Developer Highlights
TrailheaDX India : Developer HighlightsTrailheaDX India : Developer Highlights
TrailheaDX India : Developer HighlightsSalesforce Developers
 
Why developers shouldn’t miss TrailheaDX India
Why developers shouldn’t miss TrailheaDX IndiaWhy developers shouldn’t miss TrailheaDX India
Why developers shouldn’t miss TrailheaDX IndiaSalesforce Developers
 
CodeLive: Build Lightning Web Components faster with Local Development
CodeLive: Build Lightning Web Components faster with Local DevelopmentCodeLive: Build Lightning Web Components faster with Local Development
CodeLive: Build Lightning Web Components faster with Local DevelopmentSalesforce Developers
 
CodeLive: Converting Aura Components to Lightning Web Components
CodeLive: Converting Aura Components to Lightning Web ComponentsCodeLive: Converting Aura Components to Lightning Web Components
CodeLive: Converting Aura Components to Lightning Web ComponentsSalesforce Developers
 
Enterprise-grade UI with open source Lightning Web Components
Enterprise-grade UI with open source Lightning Web ComponentsEnterprise-grade UI with open source Lightning Web Components
Enterprise-grade UI with open source Lightning Web ComponentsSalesforce Developers
 
TrailheaDX and Summer '19: Developer Highlights
TrailheaDX and Summer '19: Developer HighlightsTrailheaDX and Summer '19: Developer Highlights
TrailheaDX and Summer '19: Developer HighlightsSalesforce Developers
 
Lightning web components - Episode 4 : Security and Testing
Lightning web components  - Episode 4 : Security and TestingLightning web components  - Episode 4 : Security and Testing
Lightning web components - Episode 4 : Security and TestingSalesforce Developers
 
LWC Episode 3- Component Communication and Aura Interoperability
LWC Episode 3- Component Communication and Aura InteroperabilityLWC Episode 3- Component Communication and Aura Interoperability
LWC Episode 3- Component Communication and Aura InteroperabilitySalesforce Developers
 
Lightning web components episode 2- work with salesforce data
Lightning web components   episode 2- work with salesforce dataLightning web components   episode 2- work with salesforce data
Lightning web components episode 2- work with salesforce dataSalesforce Developers
 
Lightning web components - Episode 1 - An Introduction
Lightning web components - Episode 1 - An IntroductionLightning web components - Episode 1 - An Introduction
Lightning web components - Episode 1 - An IntroductionSalesforce Developers
 
Migrating CPQ to Advanced Calculator and JSQCP
Migrating CPQ to Advanced Calculator and JSQCPMigrating CPQ to Advanced Calculator and JSQCP
Migrating CPQ to Advanced Calculator and JSQCPSalesforce Developers
 
Scale with Large Data Volumes and Big Objects in Salesforce
Scale with Large Data Volumes and Big Objects in SalesforceScale with Large Data Volumes and Big Objects in Salesforce
Scale with Large Data Volumes and Big Objects in SalesforceSalesforce Developers
 
Replicate Salesforce Data in Real Time with Change Data Capture
Replicate Salesforce Data in Real Time with Change Data CaptureReplicate Salesforce Data in Real Time with Change Data Capture
Replicate Salesforce Data in Real Time with Change Data CaptureSalesforce Developers
 
Modern Development with Salesforce DX
Modern Development with Salesforce DXModern Development with Salesforce DX
Modern Development with Salesforce DXSalesforce Developers
 
Integrate CMS Content Into Lightning Communities with CMS Connect
Integrate CMS Content Into Lightning Communities with CMS ConnectIntegrate CMS Content Into Lightning Communities with CMS Connect
Integrate CMS Content Into Lightning Communities with CMS ConnectSalesforce Developers
 

More from Salesforce Developers (20)

Sample Gallery: Reference Code and Best Practices for Salesforce Developers
Sample Gallery: Reference Code and Best Practices for Salesforce DevelopersSample Gallery: Reference Code and Best Practices for Salesforce Developers
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
 
Maximizing Salesforce Lightning Experience and Lightning Component Performance
Maximizing Salesforce Lightning Experience and Lightning Component PerformanceMaximizing Salesforce Lightning Experience and Lightning Component Performance
Maximizing Salesforce Lightning Experience and Lightning Component Performance
 
Local development with Open Source Base Components
Local development with Open Source Base ComponentsLocal development with Open Source Base Components
Local development with Open Source Base Components
 
TrailheaDX India : Developer Highlights
TrailheaDX India : Developer HighlightsTrailheaDX India : Developer Highlights
TrailheaDX India : Developer Highlights
 
Why developers shouldn’t miss TrailheaDX India
Why developers shouldn’t miss TrailheaDX IndiaWhy developers shouldn’t miss TrailheaDX India
Why developers shouldn’t miss TrailheaDX India
 
CodeLive: Build Lightning Web Components faster with Local Development
CodeLive: Build Lightning Web Components faster with Local DevelopmentCodeLive: Build Lightning Web Components faster with Local Development
CodeLive: Build Lightning Web Components faster with Local Development
 
CodeLive: Converting Aura Components to Lightning Web Components
CodeLive: Converting Aura Components to Lightning Web ComponentsCodeLive: Converting Aura Components to Lightning Web Components
CodeLive: Converting Aura Components to Lightning Web Components
 
Enterprise-grade UI with open source Lightning Web Components
Enterprise-grade UI with open source Lightning Web ComponentsEnterprise-grade UI with open source Lightning Web Components
Enterprise-grade UI with open source Lightning Web Components
 
TrailheaDX and Summer '19: Developer Highlights
TrailheaDX and Summer '19: Developer HighlightsTrailheaDX and Summer '19: Developer Highlights
TrailheaDX and Summer '19: Developer Highlights
 
Live coding with LWC
Live coding with LWCLive coding with LWC
Live coding with LWC
 
Lightning web components - Episode 4 : Security and Testing
Lightning web components  - Episode 4 : Security and TestingLightning web components  - Episode 4 : Security and Testing
Lightning web components - Episode 4 : Security and Testing
 
LWC Episode 3- Component Communication and Aura Interoperability
LWC Episode 3- Component Communication and Aura InteroperabilityLWC Episode 3- Component Communication and Aura Interoperability
LWC Episode 3- Component Communication and Aura Interoperability
 
Lightning web components episode 2- work with salesforce data
Lightning web components   episode 2- work with salesforce dataLightning web components   episode 2- work with salesforce data
Lightning web components episode 2- work with salesforce data
 
Lightning web components - Episode 1 - An Introduction
Lightning web components - Episode 1 - An IntroductionLightning web components - Episode 1 - An Introduction
Lightning web components - Episode 1 - An Introduction
 
Migrating CPQ to Advanced Calculator and JSQCP
Migrating CPQ to Advanced Calculator and JSQCPMigrating CPQ to Advanced Calculator and JSQCP
Migrating CPQ to Advanced Calculator and JSQCP
 
Scale with Large Data Volumes and Big Objects in Salesforce
Scale with Large Data Volumes and Big Objects in SalesforceScale with Large Data Volumes and Big Objects in Salesforce
Scale with Large Data Volumes and Big Objects in Salesforce
 
Replicate Salesforce Data in Real Time with Change Data Capture
Replicate Salesforce Data in Real Time with Change Data CaptureReplicate Salesforce Data in Real Time with Change Data Capture
Replicate Salesforce Data in Real Time with Change Data Capture
 
Modern Development with Salesforce DX
Modern Development with Salesforce DXModern Development with Salesforce DX
Modern Development with Salesforce DX
 
Get Into Lightning Flow Development
Get Into Lightning Flow DevelopmentGet Into Lightning Flow Development
Get Into Lightning Flow Development
 
Integrate CMS Content Into Lightning Communities with CMS Connect
Integrate CMS Content Into Lightning Communities with CMS ConnectIntegrate CMS Content Into Lightning Communities with CMS Connect
Integrate CMS Content Into Lightning Communities with CMS Connect
 

Performance Monitoring and Testing in the Salesforce Cloud

  • 1. Performance Monitoring and Testing in the Salesforce Cloud Your Success. Our Cloud Raj Advani, salesforce.com, Sr. Technical Solution Architect Randy Case, salesforce.com, Director, Customer Centric Engineering
  • 2. Raj Advani Sr. Technical Solution Architect radvani@salesforce.com
  • 3. Randy Case Director, Customer Centric Engineering rcase@salesforce.com
  • 4. Safe Harbor Safe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of intellectual property and other litigation, risks associated with possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-Q for the most recent fiscal quarter ended July 31, 2012. This documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward- looking statements.
  • 5. Agenda What is performance testing The scalable Salesforce architecture Internal Salesforce performance testing Why do you need to test? Performance testing approach and testing tools Questions and Answers
  • 6. What is Performance Testing? ‘Performance testing is typically done to help identify bottlenecks in a system, establish a baseline for future testing, support a performance tuning effort, determine compliance with performance goals and requirements, and/or collect other performance-related data to help stakeholders make informed decisions related to the overall quality of the application being tested. In addition, the results from performance testing and analysis can help you to estimate the hardware configuration required to support the application(s) when you “go live” to production operation. ‘ WOW! 6
  • 7. What is Performance Testing? ‘Performance testing is typically done to help identify bottlenecks in a system, establish a baseline for future testing, support a performance tuning effort, determine compliance with performance goals and requirements, and/or collect other performance-related data to help stakeholders make informed decisions related to the overall quality of the application being tested. WOW! 7
  • 8. Agenda What is performance Testing The Scalable Salesforce Architecture Internal Salesforce Performance Testing Why do you need to test? Performance Testing Approach and Testing Tools
  • 10. It’s in the numbers! 104,000+ businesses >60 billion requests/quarter < 275 ms avg. response time 100s thousands users 100s gigabytes of data >800 million >40 million account records operations/day million contact records >20 >30 million opportunity records 100s millions custom object records
  • 12. Pod Architecture Enhances Availability, Scale, and Platform for Future Growth NA0 APAC Pod Pod Network NA1 Sandbox Pod Services Pod NA2 Storage EMEA2 Pod Services Pod NA3 Backup NA6 Pod Pod Services NA4 NA7 Pod Monitoring Pod Services NA5 Pod Security Services EMEA “N” Pod Pod
  • 13. A Scalable, High Performing Architecture Database cluster  8 Node RAC cluster  Scalability and fault tolerance Application Servers  Web requests, API calls, Batch processes, Search requests  30 plus servers, load balanced for performance  Scale vertically and horizontally
  • 14. Scalable, High Performing Architecture Network  10 carriers for geographic performance and redundancy.  Data centers located at core Internet hubs.  Access to thousands of global Internet peering points.  Redundant routers, switches, firewalls and load balancers
  • 15. Agenda What is performance Testing The Scalable Salesforce Architecture Internal Salesforce Performance Testing Why do you need to test? Performance Testing Approach and Testing Tools
  • 16. Performance Engineering Primarily focuses on benchmarking, simulation, tuning, analysis, and monitoring/profiling of the applications. Uses sophisticated simulation methodologies, automation, tools, and environments to discover the problems.
  • 17. Performance Engineering Performance testing typically falls into two major categories.  Playback-based: • Plays back the Production traffic logs within a secure environment. • Private information appropriately obfuscated. • Capture real-world data skews, volumes, and transactions.  Synthetic: • Custom tools to generate and profile workloads and data shapes • Simulate current loads and beyond that are currently in use in the production systems.
  • 18. What’s Tested? Full Database Programmatic User Interface Search Environment Performance Features
  • 19. Capacity Planning Multi year growth Proactive Approach Capacity alerts plan Customer Scale Reactive transaction vertically or monitoring monitoring horizontally Excess capacity always exists!
  • 20. Agenda What is performance Testing The Scalable Salesforce Architecture Internal Salesforce Performance Testing Why do you need to test? Performance Testing Approach & Testing Tools
  • 21. Candidates for Performance Testing Heavy Custom Development • Testing should be geared towards exercising the custom code of an application High Activity • Large Transaction based testing • Large User based testing • Browser Rendering • Real-time monitoring
  • 22. What Is Performance Testing Response Time Based Testing Confirm that a set of VF Pages and Apex controllers perform in such a manner as to give the end user a positive experience Load Based Testing Confirm that a set of Apex code, VF Pages will be able to support a particular load. 22
  • 23. What is Performance Testing? Performance Testing categories  Load, Endurance, Spike, Configuration, Isolation. Performance Testing Architecture
  • 24. Metrics Collected Page Response Server Response Transaction Times Times Throughput Rate Measurement Measurement Measurement of number of of End User of SFDC POD completed perspective of Response transactions in tested pages Times a time period
  • 25. Agenda What is performance Testing The Scalable Salesforce Architecture Internal Salesforce Performance Testing Why do you need to test? Performance Testing Approach & Tools
  • 26. Recommended Performance Testing Approach Build Test Plan •Identify Key Business Run Baseline Test Transactions •Test Tool •Environment for •Low User Test Identify X testing •Used to confirm script •Projected X Load for •Get baseline numbers Run .5X, .75X, and X each script •Use baseline numbers Tests •Data analysis from existing sources •Make sure number is •Run your full scale realistic tests •Gradually increasing load X = Projected realistic goal based on script and wait time
  • 27. Performance Testing Tools Salesforce supports most all major performance testing tools Tools capture all data and metrics for reporting More popular tools: Commercial Open Source •LoadRunner •Jmeter •Silk Performer •Fiddler •RadView •OpenSTA
  • 28. Engaging Salesforce for Performance Testing Create tests that measure transaction and business process time. Create a test plan Open a Salesforce support case with the following:  Brief explanation of the test  When test will be conducted  Sandbox instance and organization ID where the test will be conducted.  Contact information during the test  Attach your test plan If plan or timeframe changes, let us know.
  • 29. Wrap Up • Most clients will not need to conduct their own testing • Average of 60 billion transactions a day with an average response time of 250ms • Multi-Tenet architecture supports scalability and high performance • Capacity planning and Performance engineer teams conduct performance test to ensure application and platform performance • Heavy use of custom code or high user load clients may conduct performance tests • Main collected metrics include, response times, server times, and transaction throughput rate • Identify realistic load, create test plan and run tests • Engage Salesforce by creating a support case
  • 30. Raj Advani Randy Case Sr. Technical Architect, Director, Software radvani@salesforce.com Engineering rcase@salesforce.com