Under the Hood of Sandbox Templates

46
Sandbox Templates Under The Hood Seth Tager, Salesforce, Lead Member of Technical Staff John Vogt, Salesforce, Senior Product Manager

description

Sandbox Templates allow you to create sandboxes with some, but not all, of your data. They work with both Full sandboxes (released Summer '13) and Partial Data sandboxes (released Winter '14). Sandbox Templates allow you to choose which objects and object data to copy into a new sandbox so you can control it's size and content.Join us to hear the details of how Sandbox Templates work with both Full and Partial Data sandboxes. We'll also discuss the algorithms used to determine what objects get copied when you create a sandbox using Sandbox Templates.

Transcript of Under the Hood of Sandbox Templates

Page 1: Under the Hood of Sandbox Templates

Sandbox TemplatesSandbox TemplatesUnder The Hood

Seth Tager, Salesforce, Lead Member of Technical Staff

John Vogt, Salesforce, Senior Product Manager

Page 2: Under the Hood of Sandbox Templates

Safe harborSafe 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.

Page 3: Under the Hood of Sandbox Templates

Seth TagerSeth Tager

Lead Member of Technical Staff

@sethtager

Lead Member of Technical Staff

@sethtager

Page 4: Under the Hood of Sandbox Templates

John VogtJohn Vogt

Product Manager, PlatformProduct Manager, Platform

Page 5: Under the Hood of Sandbox Templates

Before we get started…Before we get started…

Page 6: Under the Hood of Sandbox Templates

Why create Sandbox Templates?Why create Sandbox Templates?

Page 7: Under the Hood of Sandbox Templates

Developer Configuration*** Full

Refresh Interval 1 Day 1 Day 29 Days

Includes Setup Configuration

Yes Yes Yes

Copies Data Records

None None All

Sandbox Size10MB

(~5,000 records)500MB

(~250,000 records)Match Production

Sandbox Lineup as of Spring ‘12 Release

*** Configuration is now Developer Pro

Page 8: Under the Hood of Sandbox Templates

Sandbox Use Cases – Our Expectations

Use Case DeveloperConfiguratio

nFull

Build/ Develop ✔ ✔ ✖Quality Assurance ✔ ✔ ✖

Data Load/ Integration Tests ✖ ✔ ✖

Training ✖ ✔ ✖UAT ✖ ✔ ✔

Perf/Load Test ✖ ✖ ✔Staging ✖ ✖ ✔

Page 9: Under the Hood of Sandbox Templates

Sandbox Use Cases – Actual Usage

Use Case DeveloperConfiguratio

nFull

Build/ Develop ✔ ✔ ✖Quality Assurance ✔ ✔ ✔

Data Load/ Integration Tests ✖ ✖ ✔

Training ✖ ✖ ✔UAT ✖ ✖ ✔

Perf/Load Test ✖ ✖ ✔Staging ✖ ✖ ✔

Page 10: Under the Hood of Sandbox Templates

Reliance on Full Sandboxes can Decrease Productivity

• Drag on development agility• Project timelines can suffer• Customer ROI can degrade

• Full sandbox creation/refresh is slow • More full sandbox copies causes delays for all customers

• Post Refresh Tasks are Time Consuming

• Configuration Sandbox is too limited• Customers try to duplicate their on premise environments

Page 11: Under the Hood of Sandbox Templates

How do we increase Productivity with Sandboxes?

• Give the User Control over Sandbox Creation

• Improve Sandbox Copy Performance

• Decrease Refresh Interval

Page 12: Under the Hood of Sandbox Templates

Product Innovation: Sandbox Templates

• More Control Over Data Copied

• Potential to Improve Copy Performance

• Potential to Decrease Post Refresh Tasks

Page 13: Under the Hood of Sandbox Templates

Demonstration:Demonstration:Sandbox Templates with Full SandboxSandbox Templates with Full Sandbox

Page 14: Under the Hood of Sandbox Templates

““Custom All” Copy Strategy ExplainedCustom All” Copy Strategy Explained

Page 15: Under the Hood of Sandbox Templates

Templates with FULL sandbox

• Spidering

• Master/Detail and lookup relationships

• Feature groups

Page 16: Under the Hood of Sandbox Templates

Templates with FULL sandbox

• Spidering master/detail and required lookup relationships

Page 17: Under the Hood of Sandbox Templates

Templates with FULL sandbox

• Spidering master/detail and required lookup relationships

Page 18: Under the Hood of Sandbox Templates

Templates with FULL sandbox

• Spidering master/detail and required lookup relationships

Page 19: Under the Hood of Sandbox Templates

Templates with FULL sandbox

• Feature groups (Predefined for standard objects)

• e.g. Opportunity• OpportunityLineItem

• OpportunityLineItemSchedule

• OpportunityCompetitor

• OpportunityTeamMember

• OpportunityAlert

• OpportunityUpdateReminder

• (OpportunityHistory)

Page 20: Under the Hood of Sandbox Templates

Product Innovation: Data Sampling

10Krecords

Sample up to 10k records per object

Random samples reflect true testing needs to find edge case issues

Page 21: Under the Hood of Sandbox Templates

Demonstration:Demonstration:Sandbox Templates with Partial Copy SandboxSandbox Templates with Partial Copy Sandbox

Page 22: Under the Hood of Sandbox Templates

““Custom Sampled” Copy Strategy ExplainedCustom Sampled” Copy Strategy Explained

Page 23: Under the Hood of Sandbox Templates

Templates with partial copy

• Custom Sampled

• Spidering

• And Sampling

Page 24: Under the Hood of Sandbox Templates

Sampling

• Max rows for all entities

• (Small) Metadata is fully copied

• Cycles not allowed

• Parents first vs children first

• Non-required relationships (e.g. Contact/Acct, Opp/Acct)

• Helper entities (e.g. notes and attachments)

• Handling multiple non-required relationships

Page 25: Under the Hood of Sandbox Templates

Sampling

• Cycles

Page 26: Under the Hood of Sandbox Templates

Sampling: Parents First vs Children First

• Parents First

Page 27: Under the Hood of Sandbox Templates

Sampling: Parents First vs Children First

• Children First

Page 28: Under the Hood of Sandbox Templates

Sampling

• Parents First – Select parents

Page 29: Under the Hood of Sandbox Templates

Sampling

• Parents First – Narrow the field

Page 30: Under the Hood of Sandbox Templates

Sampling

• Parents First – Sample children

Page 31: Under the Hood of Sandbox Templates

Sampling

• Parents First – Copy rows

Page 32: Under the Hood of Sandbox Templates

Sampling

• Non-required relationships

Page 33: Under the Hood of Sandbox Templates

Sampling

• Non-required relationships

Page 34: Under the Hood of Sandbox Templates

Sampling

• Non-required relationships

Page 35: Under the Hood of Sandbox Templates

Sampling

• Non-required relationships

Page 36: Under the Hood of Sandbox Templates

Sampling

• Helper entities

Page 37: Under the Hood of Sandbox Templates

Sampling

• Helper entities

Page 38: Under the Hood of Sandbox Templates

Sampling

• Multiple Non-Required Relationships

Page 39: Under the Hood of Sandbox Templates

Sampling

• Multiple Non-Required Relationships

Page 40: Under the Hood of Sandbox Templates

Sampling

• Multiple Non-Required Relationships

Page 41: Under the Hood of Sandbox Templates

Product Line EvolutionProduct Line Evolution

Page 42: Under the Hood of Sandbox Templates

New Sandbox Lineup & Bundles

Developer Developer Pro Partial Copy*** Full

Refresh Interval 1 Day 1 Day 5 Days 29 Days

Includes Setup Configuration

Yes Yes Yes Yes

Copies Data Records No No Yes Yes

Sandbox Templates/ Sampling

No & No No & NoYes & Yes (10,000

records/object)Yes & No (Full Data /

Object)

Bundled Developer Sandboxes

None 5 10 15

Sandbox Size 200MB1GB

(~500K records)5GB

(2.5M records)Match production

***New Product Available in Winter ‘14

Page 43: Under the Hood of Sandbox Templates

Sandbox Use Cases

Use Case DeveloperDeveloper

ProPartial Data Full

Build / Develop ✔ ✔ ✔ ✖Quality Assurance ✔ ✔ ✔ ✖

Data Load / Integration Tests ✖ ✔ ✔ ✔

Training ✖ ✔ ✔ ✔UAT ✖ ✖ ✔ ✔

Performance / Load Test ✖ ✖ ✖ ✔Staging ✖ ✖ ✖ ✔

Page 44: Under the Hood of Sandbox Templates

Top Feature Requests & Roadmap

• Partial Copy

• Criteria Based Sampling

• Customer Driven Data Requirements

• Sandbox Copy Service

• New Sandbox Copy Architecture – Pilot

• Multi-Instance Queuing Support

Page 45: Under the Hood of Sandbox Templates

John VogtJohn Vogt

Senior Product Manager

Seth TagerSeth Tager

Lead Member of Tech Staff,@sethtager

Page 46: Under the Hood of Sandbox Templates