SlideShare a Scribd company logo
How To Performance
Test Your Apps to
Scale
​  Vydianath Iyer Jaswinder Rattanpal
Vydianath Iyer
Principal Technical Evangelist
Salesforce.com
viyer@salesforce.com
/in/vydianath
Jaswdiner Rattanpal
Associate Technical Evangelist
Salesforce.com
jrattanpal@salesforce.com
/in/jrattanpal
2
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 any
litigation, risks associated with completed and any 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-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter.
These 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.
Safe Harbor
3
Agenda
1
2
3
4
5
Scale Testing - What, Why & How
How to get a Large Data Volume (LDV) Sandbox Org
Tools and Techniques
Demo
Partner Resources & Related Offerings
6 Q & A
4
What is Scale Testing ?
5
What is Scale Testing (Salesforce) ?
Testing for Large Data Volumes (LDV) Testing for Large Concurrent
User Volumes
6
Test for realistic customer sizes
​  Large Data Loads
​  Large User Loads (Concurrent)
API
Platform Stress Testing
Platform Capacity Testing
Network Latency Testing
Testing 3rd Party Integrations
Server Availability/Failover Test
Web
IN SCOPE OUT OF SCOPE
What’s the scope?
7
Why Test ?
8
Increasing application complexity
Increased customer expectations
Minimize downtimes and disruption
Competitive Differentiator
User productivity & Satisfaction
Better ROI
Happy Customers = More Business.
Why Test for Performance ?
 
9
Where do we start ?
10
https://goo.gl/2Rq8Yf
Fill up the Data & API Consumption spreadsheet
Rules of thumb
Do significant objects have more than a few million records ?
Do you anticipate a thousand concurrent users or more ?
Seek your TE’s advise:
Help determine the scope of required testing
Help with tools, best practices and processes
To begin with...
11
High Level Steps - Test in your Developer Org
1 Single User Test in a Developer Org Pre-Requisite
Why is step 1 a pre-requisite ?
●  Is your application designed well ?
●  Does it follow Salesforce coding best practices ?
●  Triggers Bulkified, Selective Queries, View State minimized ?
Max 10 concurrent users in a Developer Org
Prepare
2
12
3
4
5
Single User Test
Performance/Load Testing - 100s of concurrent users
Test with 10 Concurrent Users
Critical Steps
Know the rules
High Level Steps - Test in a Large Data Volume (LDV) Org
13
•  Open up a case 2 weeks before start of testing
•  Mimic normal realistic “thinking time”
•  Concurrent user test loads should be realistic
•  Salesforce does not support stress testing
•  Test only against sandbox instances
TESTING LOAD EXAMPLE:
5K users * 5 processes/ hour =  25 K processes /hour
1 business process = 3 transactions
25K processes/hour = 75K transactions/hour
Equates to 20 transactions per second (TPS)
Average load< 40 TPS
Moderately heavy load 40-100 TPS
Extremely Heavy load> 100 TPS
Salesforce will not provide back-end logs or results
Step 4 - Rules & Requirements
14
​ Number of Atomic database actions* performed by a certain entity per second
Page DB Save DB SaveTrigger WF update DB Save
JS Query
JS
Page
DML
Single Transaction
Transaction 1
Transaction 2
What is a Transaction (Force.com context) ?
​ * Atomic action = guaranteed isolation from concurrent processes
15
How to get a LDV Org ?
16
LDV Org Options
17
​  Less than 100 GB { <50 million records }
​  Max 2 Orgs per calendar year
​  Max 60 days
​  Open up a case
​  Provisioned in 14 biz days
​  FREE !!!
​  Greater than 100 GB { >50 million records }
​  Unlimited number
​  Renewed Yearly (Can be cancelled/reduced)
​  Open up a case, Contact PAM (if you have)
​  Provisioned in 14-21 biz days
​  $96/GB/YEAR
FREE LDV ORG PAID LDV ORG
Tools & Techniques
18
Grinder Gatling Tsung JMeter **
OS Any Any Linux/Unix Any
GUI Console Only Recorder Only No Full
Test Recorder TCP (including HTTP) HTTP HTTP, Postgres HTTP
Test Language Python, Clojure Scala XML XML
Extension Language
Python, Clojure Scala
Erlang
Java, Beanshell, Javascript, Jexl
Load Reports Console HTML HTML
CSV, XML, Embedded Tables,
Graphs, Plugins
Protocols
HTTP
SOAP
 JDBC
POP3
SMTP
 LDAP
JMS
HTTP
JDBC
JMS
HTTP
 WebDAV
Postgres
MySQL
XMPP
 WebSocket
AMQP
MQTT
LDAP
HTTP
FTP
JDBC
SOAP
LDAP
TCP
JMS
SMTP
POP3
IMAP
Host Monitoring No No No Yes with PerfMon plugin
Miscellaneous
Python knowledge required,
reports are basic
Limited support for protocols,
Scala knowledge required
Supported only on Linux Reports are basic
Performance Test Tools Matrix (free open source)
Tool
Feature
** All sample scripts in the partner community chatter group are based on JMeter 19
20
A Few Performance Analysis tools
Lightning Inspector Plugin (Chrome)
•  Google Chrome Dev Tools extension
•  Navigate component tree, inspect components and the DOM elements
•  Monitor and Modify server responses which help in debugging server interactions
•  Inspect component attributes, and profile component performance.
•  Understand the sequence of event firing and handling
Apex Timeline
•  SOQL queries used in the business transaction along with timings
•  DMLs and objects and the cumulative time taken to update/insert/upsert the object
•  A visual representation of the overall flow of events
•  A JSON representation of the debug log for easier readability.
•  Use the tooling API and automatically display the logs in your org
Web Page Test
•  Open source tool developed and supported by Google
•  Used to test a website performance
•  Perform a visual comparison of urls and also against industry pages
​ 
Some Other Tools ..
Gatling – Load Testing
Test Monitoring
Test Reporting
Event Log Analysis
21
22
A Few Free Bulk Data Load Tools
Bulk Data Load Tool
•  Reference architecture for creating mock data for Salesforce orgs using Ruby on Rails.
•  Generates mock records and associations for any S object 
•  Uses native Rails functionality to generate mock data
•  Demo: https://partners.salesforce.com/0693A000005q6XR
Salesforce Foundation data creation
•  Test data generation and deployment ETL jobs
Demo Data/Metadata creator 
•  Heroku tool that uses Bulk API and MDAPI to create Data and Metadata
JMeter Caveats - LEX
23
Demo
24
Analyzing
Results
25
26
27
​ 
BlazeMeter
29
30
Want to know more …
ISV Partner Resources
Partner Community Page - http://p.force.com/scaletesting
JMeter Scripts (Lightning and Classic)
Free Bulk Data Load Tools
Demo Orgs and Videos
LDV Org request process
Best Practices for Performance Optimization - https://goo.gl/fUk7SE
Partner Community Chatter Group - https://goo.gl/HPUlxX
Talk to your TE/
PAM if you are an
existing Partner
Navigate to the Partner
Community Chatter Group
http://p.force.com/scaletesting
31
Performance
Hammer
32
https://goo.gl/8NLNPr
Performance Hammer in a Nutshell ..
•  Point in Time Performance Testing between Salesforce Releases
•  Prevent Performance Regression
Partner Release
Salesforce Release
•  Same version of package deployed in 2 different release sandboxes
•  Partner provides JMeter Scripts to run tests
•  Salesforce provides results (and stores summary of results)
33
FREE for App
Innovation Partners
Parting thoughts…
34
Key to Success
◆  Performance Starts with Design
◆  Implement Best Practices Early
◆  Optimize Single User Transactions
◆  Loop back Customer Behavior patterns
◆  Collaborate with your Salesforce Team
Incorporate Performance Testing in your App Life Cycle
35
Q & A
36

More Related Content

What's hot

AppExchange Tech Enablement June 2017
AppExchange Tech Enablement June 2017AppExchange Tech Enablement June 2017
AppExchange Tech Enablement June 2017
Salesforce Partners
 
Design Patterns: ISV Recipes for Success (Dreamforce 2015)
Design Patterns: ISV Recipes for Success (Dreamforce 2015)Design Patterns: ISV Recipes for Success (Dreamforce 2015)
Design Patterns: ISV Recipes for Success (Dreamforce 2015)
Salesforce Partners
 
APP Academy: Build Your First App (October 13, 2014)
APP Academy: Build Your First App (October 13, 2014)APP Academy: Build Your First App (October 13, 2014)
APP Academy: Build Your First App (October 13, 2014)
Salesforce Partners
 
Spring 17 ISV Release Readiness (February 16, 2017)
Spring 17 ISV Release Readiness (February 16, 2017)Spring 17 ISV Release Readiness (February 16, 2017)
Spring 17 ISV Release Readiness (February 16, 2017)
Salesforce Partners
 
Salesforce Partner Program for ISVs Lifecycle Tutorial
Salesforce Partner Program for ISVs Lifecycle TutorialSalesforce Partner Program for ISVs Lifecycle Tutorial
Salesforce Partner Program for ISVs Lifecycle Tutorial
Salesforce Partners
 
Tech Enablement Webinar for ISVs (March 16, 2017)
Tech Enablement Webinar for ISVs (March 16, 2017)Tech Enablement Webinar for ISVs (March 16, 2017)
Tech Enablement Webinar for ISVs (March 16, 2017)
Salesforce Partners
 
Roadmap Webinar Summer '17 (June 1, 2017)
Roadmap Webinar Summer '17 (June 1, 2017)Roadmap Webinar Summer '17 (June 1, 2017)
Roadmap Webinar Summer '17 (June 1, 2017)
Salesforce Partners
 
Performing a successful technical debt assessment in Salesforce
Performing a successful technical debt assessment in SalesforcePerforming a successful technical debt assessment in Salesforce
Performing a successful technical debt assessment in Salesforce
Coforge (Erstwhile WHISHWORKS)
 
ISV Tech Talk: Distributing Lightning Components
ISV Tech Talk: Distributing Lightning ComponentsISV Tech Talk: Distributing Lightning Components
ISV Tech Talk: Distributing Lightning Components
CodeScience
 
Government Cloud for ISVs (November 18, 2015)
Government Cloud for ISVs (November 18, 2015)Government Cloud for ISVs (November 18, 2015)
Government Cloud for ISVs (November 18, 2015)
Salesforce Partners
 
App Academy: Getting Started (Virtual Classroom) slides
App Academy: Getting Started (Virtual Classroom) slidesApp Academy: Getting Started (Virtual Classroom) slides
App Academy: Getting Started (Virtual Classroom) slides
Salesforce Partners
 
Getting Started as an ISV Partner (Dreamforce 2015)
Getting Started as an ISV Partner (Dreamforce 2015)Getting Started as an ISV Partner (Dreamforce 2015)
Getting Started as an ISV Partner (Dreamforce 2015)
Salesforce Partners
 
ISV Monthly Tech Enablement (July 2017)
ISV Monthly Tech Enablement (July 2017)ISV Monthly Tech Enablement (July 2017)
ISV Monthly Tech Enablement (July 2017)
Salesforce Partners
 
Starting A Successful ISV Business with Salesforce (October 13, 2014)
Starting A Successful ISV Business with Salesforce (October 13, 2014)Starting A Successful ISV Business with Salesforce (October 13, 2014)
Starting A Successful ISV Business with Salesforce (October 13, 2014)
Salesforce Partners
 
Wrestling Alligators: How Salesforce Partners Can Increase Close Rates & Deli...
Wrestling Alligators: How Salesforce Partners Can Increase Close Rates & Deli...Wrestling Alligators: How Salesforce Partners Can Increase Close Rates & Deli...
Wrestling Alligators: How Salesforce Partners Can Increase Close Rates & Deli...
CodeScience
 
Development Best Practices
Development Best PracticesDevelopment Best Practices
Development Best Practices
Salesforce Partners
 
Mapping Your MVP Product Development in 30 min or Less
Mapping Your MVP Product Development in 30 min or LessMapping Your MVP Product Development in 30 min or Less
Mapping Your MVP Product Development in 30 min or Less
CodeScience
 
building an app exchange app
building an app exchange appbuilding an app exchange app
building an app exchange appvraopolisetti
 
ISV Tech Enablement Webinar April 2017
ISV Tech Enablement Webinar April 2017ISV Tech Enablement Webinar April 2017
ISV Tech Enablement Webinar April 2017
Salesforce Partners
 
AppExchange Partner Program Keynote - Dreamforce 2012- 9/18
AppExchange Partner Program Keynote - Dreamforce 2012- 9/18AppExchange Partner Program Keynote - Dreamforce 2012- 9/18
AppExchange Partner Program Keynote - Dreamforce 2012- 9/18
Salesforce Partners
 

What's hot (20)

AppExchange Tech Enablement June 2017
AppExchange Tech Enablement June 2017AppExchange Tech Enablement June 2017
AppExchange Tech Enablement June 2017
 
Design Patterns: ISV Recipes for Success (Dreamforce 2015)
Design Patterns: ISV Recipes for Success (Dreamforce 2015)Design Patterns: ISV Recipes for Success (Dreamforce 2015)
Design Patterns: ISV Recipes for Success (Dreamforce 2015)
 
APP Academy: Build Your First App (October 13, 2014)
APP Academy: Build Your First App (October 13, 2014)APP Academy: Build Your First App (October 13, 2014)
APP Academy: Build Your First App (October 13, 2014)
 
Spring 17 ISV Release Readiness (February 16, 2017)
Spring 17 ISV Release Readiness (February 16, 2017)Spring 17 ISV Release Readiness (February 16, 2017)
Spring 17 ISV Release Readiness (February 16, 2017)
 
Salesforce Partner Program for ISVs Lifecycle Tutorial
Salesforce Partner Program for ISVs Lifecycle TutorialSalesforce Partner Program for ISVs Lifecycle Tutorial
Salesforce Partner Program for ISVs Lifecycle Tutorial
 
Tech Enablement Webinar for ISVs (March 16, 2017)
Tech Enablement Webinar for ISVs (March 16, 2017)Tech Enablement Webinar for ISVs (March 16, 2017)
Tech Enablement Webinar for ISVs (March 16, 2017)
 
Roadmap Webinar Summer '17 (June 1, 2017)
Roadmap Webinar Summer '17 (June 1, 2017)Roadmap Webinar Summer '17 (June 1, 2017)
Roadmap Webinar Summer '17 (June 1, 2017)
 
Performing a successful technical debt assessment in Salesforce
Performing a successful technical debt assessment in SalesforcePerforming a successful technical debt assessment in Salesforce
Performing a successful technical debt assessment in Salesforce
 
ISV Tech Talk: Distributing Lightning Components
ISV Tech Talk: Distributing Lightning ComponentsISV Tech Talk: Distributing Lightning Components
ISV Tech Talk: Distributing Lightning Components
 
Government Cloud for ISVs (November 18, 2015)
Government Cloud for ISVs (November 18, 2015)Government Cloud for ISVs (November 18, 2015)
Government Cloud for ISVs (November 18, 2015)
 
App Academy: Getting Started (Virtual Classroom) slides
App Academy: Getting Started (Virtual Classroom) slidesApp Academy: Getting Started (Virtual Classroom) slides
App Academy: Getting Started (Virtual Classroom) slides
 
Getting Started as an ISV Partner (Dreamforce 2015)
Getting Started as an ISV Partner (Dreamforce 2015)Getting Started as an ISV Partner (Dreamforce 2015)
Getting Started as an ISV Partner (Dreamforce 2015)
 
ISV Monthly Tech Enablement (July 2017)
ISV Monthly Tech Enablement (July 2017)ISV Monthly Tech Enablement (July 2017)
ISV Monthly Tech Enablement (July 2017)
 
Starting A Successful ISV Business with Salesforce (October 13, 2014)
Starting A Successful ISV Business with Salesforce (October 13, 2014)Starting A Successful ISV Business with Salesforce (October 13, 2014)
Starting A Successful ISV Business with Salesforce (October 13, 2014)
 
Wrestling Alligators: How Salesforce Partners Can Increase Close Rates & Deli...
Wrestling Alligators: How Salesforce Partners Can Increase Close Rates & Deli...Wrestling Alligators: How Salesforce Partners Can Increase Close Rates & Deli...
Wrestling Alligators: How Salesforce Partners Can Increase Close Rates & Deli...
 
Development Best Practices
Development Best PracticesDevelopment Best Practices
Development Best Practices
 
Mapping Your MVP Product Development in 30 min or Less
Mapping Your MVP Product Development in 30 min or LessMapping Your MVP Product Development in 30 min or Less
Mapping Your MVP Product Development in 30 min or Less
 
building an app exchange app
building an app exchange appbuilding an app exchange app
building an app exchange app
 
ISV Tech Enablement Webinar April 2017
ISV Tech Enablement Webinar April 2017ISV Tech Enablement Webinar April 2017
ISV Tech Enablement Webinar April 2017
 
AppExchange Partner Program Keynote - Dreamforce 2012- 9/18
AppExchange Partner Program Keynote - Dreamforce 2012- 9/18AppExchange Partner Program Keynote - Dreamforce 2012- 9/18
AppExchange Partner Program Keynote - Dreamforce 2012- 9/18
 

Similar to Performance Testing ISV Apps to Scale 11/9/2016

Coding in the App Cloud
Coding in the App CloudCoding in the App Cloud
Coding in the App Cloud
Salesforce Developers
 
Manage Development in Your Org with Salesforce Governance Framework
Manage Development in Your Org with Salesforce Governance FrameworkManage Development in Your Org with Salesforce Governance Framework
Manage Development in Your Org with Salesforce Governance Framework
Salesforce Developers
 
Understanding the Salesforce Architecture: How We Do the Magic We Do
Understanding the Salesforce Architecture: How We Do the Magic We DoUnderstanding the Salesforce Architecture: How We Do the Magic We Do
Understanding the Salesforce Architecture: How We Do the Magic We Do
Salesforce Developers
 
Real-Time Data Feeds Using the Streaming API
Real-Time Data Feeds Using the Streaming APIReal-Time Data Feeds Using the Streaming API
Real-Time Data Feeds Using the Streaming API
Salesforce Developers
 
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
 
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
Salesforce Developers
 
Building einstein analytics apps uk-compressed
Building einstein analytics apps   uk-compressedBuilding einstein analytics apps   uk-compressed
Building einstein analytics apps uk-compressed
rikkehovgaard
 
Bug Hunting with the Salesforce Developer Console
Bug Hunting with the Salesforce Developer ConsoleBug Hunting with the Salesforce Developer Console
Bug Hunting with the Salesforce Developer Console
Matthew Poe
 
Understanding Multitenancy and the Architecture of the Salesforce Platform
Understanding Multitenancy and the Architecture of the Salesforce PlatformUnderstanding Multitenancy and the Architecture of the Salesforce Platform
Understanding Multitenancy and the Architecture of the Salesforce Platform
Salesforce Developers
 
How to Launch Your AppExchange App at Dreamforce
How to Launch Your AppExchange App at DreamforceHow to Launch Your AppExchange App at Dreamforce
How to Launch Your AppExchange App at Dreamforce
CodeScience
 
Org Merge Best Practices
Org Merge Best PracticesOrg Merge Best Practices
Org Merge Best Practices
Salesforce Developers
 
Designing custom REST and SOAP interfaces on Force.com
Designing custom REST and SOAP interfaces on Force.comDesigning custom REST and SOAP interfaces on Force.com
Designing custom REST and SOAP interfaces on Force.com
Steven Herod
 
Sandboxes: The Future of App Development by Evan Barnet & Pam Barnet
Sandboxes: The Future of App Development by Evan Barnet & Pam BarnetSandboxes: The Future of App Development by Evan Barnet & Pam Barnet
Sandboxes: The Future of App Development by Evan Barnet & Pam Barnet
Salesforce Admins
 
DevOps in Salesforce AppCloud
DevOps in Salesforce AppCloudDevOps in Salesforce AppCloud
DevOps in Salesforce AppCloud
rsg00usa
 
San Diego Salesforce User Group - Lightning Overview
San Diego Salesforce User Group - Lightning OverviewSan Diego Salesforce User Group - Lightning Overview
San Diego Salesforce User Group - Lightning Overview
Vivek Chawla
 
Building Command-line Tools with the Tooling API
Building Command-line Tools with the Tooling APIBuilding Command-line Tools with the Tooling API
Building Command-line Tools with the Tooling API
Jeff Douglas
 
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
 
Apply the Salesforce CLI To Everyday Problems
Apply the Salesforce CLI To Everyday ProblemsApply the Salesforce CLI To Everyday Problems
Apply the Salesforce CLI To Everyday Problems
Peter Chittum
 
Continuous Performance Testing and Monitoring in Agile Development
Continuous Performance Testing and Monitoring in Agile DevelopmentContinuous Performance Testing and Monitoring in Agile Development
Continuous Performance Testing and Monitoring in Agile Development
Dynatrace
 

Similar to Performance Testing ISV Apps to Scale 11/9/2016 (20)

Coding in the App Cloud
Coding in the App CloudCoding in the App Cloud
Coding in the App Cloud
 
Manage Development in Your Org with Salesforce Governance Framework
Manage Development in Your Org with Salesforce Governance FrameworkManage Development in Your Org with Salesforce Governance Framework
Manage Development in Your Org with Salesforce Governance Framework
 
Understanding the Salesforce Architecture: How We Do the Magic We Do
Understanding the Salesforce Architecture: How We Do the Magic We DoUnderstanding the Salesforce Architecture: How We Do the Magic We Do
Understanding the Salesforce Architecture: How We Do the Magic We Do
 
Real-Time Data Feeds Using the Streaming API
Real-Time Data Feeds Using the Streaming APIReal-Time Data Feeds Using the Streaming API
Real-Time Data Feeds Using the Streaming API
 
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 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
 
Building einstein analytics apps uk-compressed
Building einstein analytics apps   uk-compressedBuilding einstein analytics apps   uk-compressed
Building einstein analytics apps uk-compressed
 
Bug Hunting with the Salesforce Developer Console
Bug Hunting with the Salesforce Developer ConsoleBug Hunting with the Salesforce Developer Console
Bug Hunting with the Salesforce Developer Console
 
Rajesh_Dhanuskodi
Rajesh_DhanuskodiRajesh_Dhanuskodi
Rajesh_Dhanuskodi
 
Understanding Multitenancy and the Architecture of the Salesforce Platform
Understanding Multitenancy and the Architecture of the Salesforce PlatformUnderstanding Multitenancy and the Architecture of the Salesforce Platform
Understanding Multitenancy and the Architecture of the Salesforce Platform
 
How to Launch Your AppExchange App at Dreamforce
How to Launch Your AppExchange App at DreamforceHow to Launch Your AppExchange App at Dreamforce
How to Launch Your AppExchange App at Dreamforce
 
Org Merge Best Practices
Org Merge Best PracticesOrg Merge Best Practices
Org Merge Best Practices
 
Designing custom REST and SOAP interfaces on Force.com
Designing custom REST and SOAP interfaces on Force.comDesigning custom REST and SOAP interfaces on Force.com
Designing custom REST and SOAP interfaces on Force.com
 
Sandboxes: The Future of App Development by Evan Barnet & Pam Barnet
Sandboxes: The Future of App Development by Evan Barnet & Pam BarnetSandboxes: The Future of App Development by Evan Barnet & Pam Barnet
Sandboxes: The Future of App Development by Evan Barnet & Pam Barnet
 
DevOps in Salesforce AppCloud
DevOps in Salesforce AppCloudDevOps in Salesforce AppCloud
DevOps in Salesforce AppCloud
 
San Diego Salesforce User Group - Lightning Overview
San Diego Salesforce User Group - Lightning OverviewSan Diego Salesforce User Group - Lightning Overview
San Diego Salesforce User Group - Lightning Overview
 
Building Command-line Tools with the Tooling API
Building Command-line Tools with the Tooling APIBuilding Command-line Tools with the Tooling API
Building Command-line Tools with the Tooling API
 
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]
 
Apply the Salesforce CLI To Everyday Problems
Apply the Salesforce CLI To Everyday ProblemsApply the Salesforce CLI To Everyday Problems
Apply the Salesforce CLI To Everyday Problems
 
Continuous Performance Testing and Monitoring in Agile Development
Continuous Performance Testing and Monitoring in Agile DevelopmentContinuous Performance Testing and Monitoring in Agile Development
Continuous Performance Testing and Monitoring in Agile Development
 

More from Salesforce Partners

Lightning Now for Consulting Partners
Lightning Now for Consulting PartnersLightning Now for Consulting Partners
Lightning Now for Consulting Partners
Salesforce Partners
 
Salesforce University - Guide to Certification Paths
Salesforce University - Guide to Certification PathsSalesforce University - Guide to Certification Paths
Salesforce University - Guide to Certification Paths
Salesforce Partners
 
Salesforce Proficiency Pack for Administrators
Salesforce Proficiency Pack for AdministratorsSalesforce Proficiency Pack for Administrators
Salesforce Proficiency Pack for Administrators
Salesforce Partners
 
Environment Hub Fundamentals (Salesforce Partners)
Environment Hub Fundamentals (Salesforce Partners)Environment Hub Fundamentals (Salesforce Partners)
Environment Hub Fundamentals (Salesforce Partners)
Salesforce Partners
 
Demo Environment Best Practices (Salesforce Partners)
Demo Environment Best Practices (Salesforce Partners)Demo Environment Best Practices (Salesforce Partners)
Demo Environment Best Practices (Salesforce Partners)
Salesforce Partners
 
Choosing the Right Demo Environment (Salesforce Partners)
Choosing the Right Demo Environment (Salesforce Partners)Choosing the Right Demo Environment (Salesforce Partners)
Choosing the Right Demo Environment (Salesforce Partners)
Salesforce Partners
 
Salesforce Sales Professional Exam Prep
Salesforce Sales Professional Exam PrepSalesforce Sales Professional Exam Prep
Salesforce Sales Professional Exam Prep
Salesforce Partners
 
Einstein Analytics for Partners
Einstein Analytics for PartnersEinstein Analytics for Partners
Einstein Analytics for Partners
Salesforce Partners
 
Sales Cloud Lightning Migration Best Practices
Sales Cloud Lightning Migration Best PracticesSales Cloud Lightning Migration Best Practices
Sales Cloud Lightning Migration Best Practices
Salesforce Partners
 
FSL Implementation Guidance Part 1 (May 10, 2017)
FSL Implementation Guidance Part 1 (May 10, 2017)FSL Implementation Guidance Part 1 (May 10, 2017)
FSL Implementation Guidance Part 1 (May 10, 2017)
Salesforce Partners
 
AMP Fall & Winter '17 Packages
AMP Fall & Winter '17 Packages AMP Fall & Winter '17 Packages
AMP Fall & Winter '17 Packages
Salesforce Partners
 
Sales Cloud Lightning Migration Best Practices (May 12, 2017)
Sales Cloud Lightning Migration Best Practices (May 12, 2017)Sales Cloud Lightning Migration Best Practices (May 12, 2017)
Sales Cloud Lightning Migration Best Practices (May 12, 2017)
Salesforce Partners
 
FSL Implementation Guidance Part 1
FSL Implementation Guidance Part 1FSL Implementation Guidance Part 1
FSL Implementation Guidance Part 1
Salesforce Partners
 
Partner Forums Guide
Partner Forums GuidePartner Forums Guide
Partner Forums Guide
Salesforce Partners
 
Difficult Conversations and Delivering Bad News
Difficult Conversations and Delivering Bad NewsDifficult Conversations and Delivering Bad News
Difficult Conversations and Delivering Bad News
Salesforce Partners
 
How to Position Lightning
How to Position LightningHow to Position Lightning
How to Position Lightning
Salesforce Partners
 
Storytelling
StorytellingStorytelling
Storytelling
Salesforce Partners
 
Partner Roadmap (May 04, 2017)
Partner Roadmap (May 04, 2017)Partner Roadmap (May 04, 2017)
Partner Roadmap (May 04, 2017)
Salesforce Partners
 
Release and Enviromental Management
Release and Enviromental ManagementRelease and Enviromental Management
Release and Enviromental Management
Salesforce Partners
 
Introduction to A.I in Sales Cloud and Sales Cloud Einstein (April 27, 2017)
Introduction to A.I in Sales Cloud and Sales Cloud Einstein (April 27, 2017)Introduction to A.I in Sales Cloud and Sales Cloud Einstein (April 27, 2017)
Introduction to A.I in Sales Cloud and Sales Cloud Einstein (April 27, 2017)
Salesforce Partners
 

More from Salesforce Partners (20)

Lightning Now for Consulting Partners
Lightning Now for Consulting PartnersLightning Now for Consulting Partners
Lightning Now for Consulting Partners
 
Salesforce University - Guide to Certification Paths
Salesforce University - Guide to Certification PathsSalesforce University - Guide to Certification Paths
Salesforce University - Guide to Certification Paths
 
Salesforce Proficiency Pack for Administrators
Salesforce Proficiency Pack for AdministratorsSalesforce Proficiency Pack for Administrators
Salesforce Proficiency Pack for Administrators
 
Environment Hub Fundamentals (Salesforce Partners)
Environment Hub Fundamentals (Salesforce Partners)Environment Hub Fundamentals (Salesforce Partners)
Environment Hub Fundamentals (Salesforce Partners)
 
Demo Environment Best Practices (Salesforce Partners)
Demo Environment Best Practices (Salesforce Partners)Demo Environment Best Practices (Salesforce Partners)
Demo Environment Best Practices (Salesforce Partners)
 
Choosing the Right Demo Environment (Salesforce Partners)
Choosing the Right Demo Environment (Salesforce Partners)Choosing the Right Demo Environment (Salesforce Partners)
Choosing the Right Demo Environment (Salesforce Partners)
 
Salesforce Sales Professional Exam Prep
Salesforce Sales Professional Exam PrepSalesforce Sales Professional Exam Prep
Salesforce Sales Professional Exam Prep
 
Einstein Analytics for Partners
Einstein Analytics for PartnersEinstein Analytics for Partners
Einstein Analytics for Partners
 
Sales Cloud Lightning Migration Best Practices
Sales Cloud Lightning Migration Best PracticesSales Cloud Lightning Migration Best Practices
Sales Cloud Lightning Migration Best Practices
 
FSL Implementation Guidance Part 1 (May 10, 2017)
FSL Implementation Guidance Part 1 (May 10, 2017)FSL Implementation Guidance Part 1 (May 10, 2017)
FSL Implementation Guidance Part 1 (May 10, 2017)
 
AMP Fall & Winter '17 Packages
AMP Fall & Winter '17 Packages AMP Fall & Winter '17 Packages
AMP Fall & Winter '17 Packages
 
Sales Cloud Lightning Migration Best Practices (May 12, 2017)
Sales Cloud Lightning Migration Best Practices (May 12, 2017)Sales Cloud Lightning Migration Best Practices (May 12, 2017)
Sales Cloud Lightning Migration Best Practices (May 12, 2017)
 
FSL Implementation Guidance Part 1
FSL Implementation Guidance Part 1FSL Implementation Guidance Part 1
FSL Implementation Guidance Part 1
 
Partner Forums Guide
Partner Forums GuidePartner Forums Guide
Partner Forums Guide
 
Difficult Conversations and Delivering Bad News
Difficult Conversations and Delivering Bad NewsDifficult Conversations and Delivering Bad News
Difficult Conversations and Delivering Bad News
 
How to Position Lightning
How to Position LightningHow to Position Lightning
How to Position Lightning
 
Storytelling
StorytellingStorytelling
Storytelling
 
Partner Roadmap (May 04, 2017)
Partner Roadmap (May 04, 2017)Partner Roadmap (May 04, 2017)
Partner Roadmap (May 04, 2017)
 
Release and Enviromental Management
Release and Enviromental ManagementRelease and Enviromental Management
Release and Enviromental Management
 
Introduction to A.I in Sales Cloud and Sales Cloud Einstein (April 27, 2017)
Introduction to A.I in Sales Cloud and Sales Cloud Einstein (April 27, 2017)Introduction to A.I in Sales Cloud and Sales Cloud Einstein (April 27, 2017)
Introduction to A.I in Sales Cloud and Sales Cloud Einstein (April 27, 2017)
 

Recently uploaded

Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns
 
Pro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp BookPro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp Book
abdulrafaychaudhry
 
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi ArabiaTop 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Yara Milbes
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Globus
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
informapgpstrackings
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
ShamsuddeenMuhammadA
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Globus
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
Boni García
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
AMB-Review
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
Fermin Galan
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
Enterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptxEnterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptx
QuickwayInfoSystems3
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 

Recently uploaded (20)

Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
 
Pro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp BookPro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp Book
 
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi ArabiaTop 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
Enterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptxEnterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptx
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 

Performance Testing ISV Apps to Scale 11/9/2016

  • 1. How To Performance Test Your Apps to Scale ​  Vydianath Iyer Jaswinder Rattanpal
  • 2. Vydianath Iyer Principal Technical Evangelist Salesforce.com viyer@salesforce.com /in/vydianath Jaswdiner Rattanpal Associate Technical Evangelist Salesforce.com jrattanpal@salesforce.com /in/jrattanpal 2
  • 3. 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 any litigation, risks associated with completed and any 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-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These 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. Safe Harbor 3
  • 4. Agenda 1 2 3 4 5 Scale Testing - What, Why & How How to get a Large Data Volume (LDV) Sandbox Org Tools and Techniques Demo Partner Resources & Related Offerings 6 Q & A 4
  • 5. What is Scale Testing ? 5
  • 6. What is Scale Testing (Salesforce) ? Testing for Large Data Volumes (LDV) Testing for Large Concurrent User Volumes 6
  • 7. Test for realistic customer sizes ​  Large Data Loads ​  Large User Loads (Concurrent) API Platform Stress Testing Platform Capacity Testing Network Latency Testing Testing 3rd Party Integrations Server Availability/Failover Test Web IN SCOPE OUT OF SCOPE What’s the scope? 7
  • 9. Increasing application complexity Increased customer expectations Minimize downtimes and disruption Competitive Differentiator User productivity & Satisfaction Better ROI Happy Customers = More Business. Why Test for Performance ?   9
  • 10. Where do we start ? 10
  • 11. https://goo.gl/2Rq8Yf Fill up the Data & API Consumption spreadsheet Rules of thumb Do significant objects have more than a few million records ? Do you anticipate a thousand concurrent users or more ? Seek your TE’s advise: Help determine the scope of required testing Help with tools, best practices and processes To begin with... 11
  • 12. High Level Steps - Test in your Developer Org 1 Single User Test in a Developer Org Pre-Requisite Why is step 1 a pre-requisite ? ●  Is your application designed well ? ●  Does it follow Salesforce coding best practices ? ●  Triggers Bulkified, Selective Queries, View State minimized ? Max 10 concurrent users in a Developer Org Prepare 2 12
  • 13. 3 4 5 Single User Test Performance/Load Testing - 100s of concurrent users Test with 10 Concurrent Users Critical Steps Know the rules High Level Steps - Test in a Large Data Volume (LDV) Org 13
  • 14. •  Open up a case 2 weeks before start of testing •  Mimic normal realistic “thinking time” •  Concurrent user test loads should be realistic •  Salesforce does not support stress testing •  Test only against sandbox instances TESTING LOAD EXAMPLE: 5K users * 5 processes/ hour =  25 K processes /hour 1 business process = 3 transactions 25K processes/hour = 75K transactions/hour Equates to 20 transactions per second (TPS) Average load< 40 TPS Moderately heavy load 40-100 TPS Extremely Heavy load> 100 TPS Salesforce will not provide back-end logs or results Step 4 - Rules & Requirements 14
  • 15. ​ Number of Atomic database actions* performed by a certain entity per second Page DB Save DB SaveTrigger WF update DB Save JS Query JS Page DML Single Transaction Transaction 1 Transaction 2 What is a Transaction (Force.com context) ? ​ * Atomic action = guaranteed isolation from concurrent processes 15
  • 16. How to get a LDV Org ? 16
  • 17. LDV Org Options 17 ​  Less than 100 GB { <50 million records } ​  Max 2 Orgs per calendar year ​  Max 60 days ​  Open up a case ​  Provisioned in 14 biz days ​  FREE !!! ​  Greater than 100 GB { >50 million records } ​  Unlimited number ​  Renewed Yearly (Can be cancelled/reduced) ​  Open up a case, Contact PAM (if you have) ​  Provisioned in 14-21 biz days ​  $96/GB/YEAR FREE LDV ORG PAID LDV ORG
  • 19. Grinder Gatling Tsung JMeter ** OS Any Any Linux/Unix Any GUI Console Only Recorder Only No Full Test Recorder TCP (including HTTP) HTTP HTTP, Postgres HTTP Test Language Python, Clojure Scala XML XML Extension Language Python, Clojure Scala Erlang Java, Beanshell, Javascript, Jexl Load Reports Console HTML HTML CSV, XML, Embedded Tables, Graphs, Plugins Protocols HTTP SOAP  JDBC POP3 SMTP  LDAP JMS HTTP JDBC JMS HTTP  WebDAV Postgres MySQL XMPP  WebSocket AMQP MQTT LDAP HTTP FTP JDBC SOAP LDAP TCP JMS SMTP POP3 IMAP Host Monitoring No No No Yes with PerfMon plugin Miscellaneous Python knowledge required, reports are basic Limited support for protocols, Scala knowledge required Supported only on Linux Reports are basic Performance Test Tools Matrix (free open source) Tool Feature ** All sample scripts in the partner community chatter group are based on JMeter 19
  • 20. 20 A Few Performance Analysis tools Lightning Inspector Plugin (Chrome) •  Google Chrome Dev Tools extension •  Navigate component tree, inspect components and the DOM elements •  Monitor and Modify server responses which help in debugging server interactions •  Inspect component attributes, and profile component performance. •  Understand the sequence of event firing and handling Apex Timeline •  SOQL queries used in the business transaction along with timings •  DMLs and objects and the cumulative time taken to update/insert/upsert the object •  A visual representation of the overall flow of events •  A JSON representation of the debug log for easier readability. •  Use the tooling API and automatically display the logs in your org Web Page Test •  Open source tool developed and supported by Google •  Used to test a website performance •  Perform a visual comparison of urls and also against industry pages
  • 21. ​  Some Other Tools .. Gatling – Load Testing Test Monitoring Test Reporting Event Log Analysis 21
  • 22. 22 A Few Free Bulk Data Load Tools Bulk Data Load Tool •  Reference architecture for creating mock data for Salesforce orgs using Ruby on Rails. •  Generates mock records and associations for any S object  •  Uses native Rails functionality to generate mock data •  Demo: https://partners.salesforce.com/0693A000005q6XR Salesforce Foundation data creation •  Test data generation and deployment ETL jobs Demo Data/Metadata creator  •  Heroku tool that uses Bulk API and MDAPI to create Data and Metadata
  • 26. 26
  • 27. 27
  • 29. 29
  • 30. 30
  • 31. Want to know more … ISV Partner Resources Partner Community Page - http://p.force.com/scaletesting JMeter Scripts (Lightning and Classic) Free Bulk Data Load Tools Demo Orgs and Videos LDV Org request process Best Practices for Performance Optimization - https://goo.gl/fUk7SE Partner Community Chatter Group - https://goo.gl/HPUlxX Talk to your TE/ PAM if you are an existing Partner Navigate to the Partner Community Chatter Group http://p.force.com/scaletesting 31
  • 33. https://goo.gl/8NLNPr Performance Hammer in a Nutshell .. •  Point in Time Performance Testing between Salesforce Releases •  Prevent Performance Regression Partner Release Salesforce Release •  Same version of package deployed in 2 different release sandboxes •  Partner provides JMeter Scripts to run tests •  Salesforce provides results (and stores summary of results) 33 FREE for App Innovation Partners
  • 35. Key to Success ◆  Performance Starts with Design ◆  Implement Best Practices Early ◆  Optimize Single User Transactions ◆  Loop back Customer Behavior patterns ◆  Collaborate with your Salesforce Team Incorporate Performance Testing in your App Life Cycle 35