SlideShare una empresa de Scribd logo
1 de 36
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

Más contenido relacionado

La actualidad más candente

AppExchange Tech Enablement June 2017
AppExchange Tech Enablement June 2017AppExchange Tech Enablement June 2017
AppExchange Tech Enablement June 2017Salesforce 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 TutorialSalesforce 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 SalesforceCoforge (Erstwhile WHISHWORKS)
 
ISV Tech Talk: Distributing Lightning Components
ISV Tech Talk: Distributing Lightning ComponentsISV Tech Talk: Distributing Lightning Components
ISV Tech Talk: Distributing Lightning ComponentsCodeScience
 
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) slidesSalesforce 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
 
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 LessCodeScience
 
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 2017Salesforce 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/18Salesforce Partners
 

La actualidad más candente (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 a Performance Testing ISV Apps to Scale 11/9/2016

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 FrameworkSalesforce 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 DoSalesforce 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 APISalesforce 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 DoSalesforce Developers
 
Building einstein analytics apps uk-compressed
Building einstein analytics apps   uk-compressedBuilding einstein analytics apps   uk-compressed
Building einstein analytics apps uk-compressedrikkehovgaard
 
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 ConsoleMatthew 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 PlatformSalesforce 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 DreamforceCodeScience
 
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.comSteven 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 BarnetSalesforce Admins
 
DevOps in Salesforce AppCloud
DevOps in Salesforce AppCloudDevOps in Salesforce AppCloud
DevOps in Salesforce AppCloudrsg00usa
 
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 OverviewVivek 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 APIJeff 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 ProblemsPeter 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 DevelopmentDynatrace
 

Similar a 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
 

Más de Salesforce Partners

Lightning Now for Consulting Partners
Lightning Now for Consulting PartnersLightning Now for Consulting Partners
Lightning Now for Consulting PartnersSalesforce Partners
 
Salesforce University - Guide to Certification Paths
Salesforce University - Guide to Certification PathsSalesforce University - Guide to Certification Paths
Salesforce University - Guide to Certification PathsSalesforce Partners
 
Salesforce Proficiency Pack for Administrators
Salesforce Proficiency Pack for AdministratorsSalesforce Proficiency Pack for Administrators
Salesforce Proficiency Pack for AdministratorsSalesforce 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 PrepSalesforce Partners
 
Sales Cloud Lightning Migration Best Practices
Sales Cloud Lightning Migration Best PracticesSales Cloud Lightning Migration Best Practices
Sales Cloud Lightning Migration Best PracticesSalesforce 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
 
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 1Salesforce Partners
 
Difficult Conversations and Delivering Bad News
Difficult Conversations and Delivering Bad NewsDifficult Conversations and Delivering Bad News
Difficult Conversations and Delivering Bad NewsSalesforce Partners
 
Release and Enviromental Management
Release and Enviromental ManagementRelease and Enviromental Management
Release and Enviromental ManagementSalesforce 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
 

Más de 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)
 

Último

call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 

Último (20)

call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 

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