What this book covers
Chapter 1, Understanding the Vlocity OmniStudio Platform, starts with the 1,000-foot view of Vlocity OmniStudio, which will drive home the overall vision behind the platform and how the components are designed to work together. This knowledge will make it easier to diagnose problems and improve the performance of your OmniStudio apps.
Chapter 2, A Sample Application, offers a quick hands-on refresher, where you will be able to touch a lot of the OmniStudio moving parts so that you are better prepared for the chapters ahead.
Chapter 3, Evaluating the Performance of an OmniStudio Implementation, provides a hands-on overview of the key tools and techniques for measuring the performance of OmniStudio components. These tools will come in handy before, during, and after the improvements are implemented.
Chapter 4, An Introduction to Load Testing, continues where the previous chapter left off by looking at load testing and exploring the tools, tips, and best practices available for simulating real-life load on the system. This will help you measure the capacity, performance, and scalability of your OmniStudio apps and get ready to handle the expected customer demands.
Chapter 5, Tracking Code Changes and Deployment, presents the tools and techniques that will make it easy to see, track, and reverse code and configuration changes in your system. These tools will allow you to adjust to better performance with complete peace of mind.
Chapter 6, Options for Async Execution, discusses the best place to start by focusing on the area where a simple configuration change could produce massive performance improvement with just a few clicks. This chapter provides several options and step-by-step guidance for applying them.
Chapter 7, Understanding Caching, reviews the second tool that can produce large performance gains quickly. In this chapter, we will explore the caching architecture of OmniStudio and the underlying Salesforce platform and how it can be applied to speed things up.
Chapter 8, Non-Selective Queries and Data Skew, reviews a frequent reason for sub-standard performance in DataRaptors and Integration Procedures. While the first instinct usually is to blame OmniStudio, the issue may often originate in the underlying queries we’re running. In this chapter, you will find an example query on an indexed field that may run slower than one on a non-indexed field. We will then explore the reasons and look at the tools we can use to improve performance and prepare our apps for increasing data volumes.
Chapter 9, Improving the Performance of the Service Layer, offers a few quick, sure-fire ways to spot and improve sub-standard performance in the OmniStudio Service layer: Integration Procedures and DataRaptors.
Chapter 10, Improving the Performance of the Presentation Layer, explores the ways to spot and improve sub-standard performance in the OmniStudio Presentation layer: OmniScripts and FlexCards. This chapter also looks at the impact that some of the recommended Presentation layer best practices may have on our applications.
Chapter 11, DataRaptor Formula Performance Considerations, reviews the out-of-the-box and custom Apex-based formula performance considerations and different options available to improve the performance of formulas in our DataRaptors and Integration Procedures.
Chapter 12, OmniStudio Performance Anti-Patterns, introduces the concept of OmniStudio anti-patterns and reviews three common anti-patterns, the negative performance and scalability effects they may have on your apps, and ways to avoid them.