About Scratch Orgs in brief vs Sandboxes
The scratch org is a source-driven and disposable deployment of Salesforce code and metadata. Scratch Orgs are driven by source. Sandboxes are copies of production.
Scratch Orgs do not replace sandboxes.
Scratch Orgs are temporary and they don't include any production data.
Scratch Orgs are great for temporary deployments and we can use them for peer review and a way to get enhanced test coverage and automation.
Sandboxes are critical for staging, performance testing, licensing, UAT etc.
In Sandbox - Edition and licenses are same as that of the production org (as sandbox's source of truth is production) but In Scratch Orgs, Edition and licenses can be configured and are based upon configuration file.
Disadvantage of Scratch Orgs:
- We can have up to 25 active scratch orgs.
- These are automatically deleted after 7 days but Sandboxes don't expire unless manually recycled.
- We can create up to 50/day per Dev Hub but in Sandbox, there's no Limit on creating per day (As long as you have sandboxes available)
Advantages of Scratch Orgs:
- Increased Developer Productivity
- Better Team Collaboration
- DevOps Automation (Continuous Integration / Continuous Delivery)
Resource(s) : https://help.salesforce.com/
Comments
Post a Comment