In this chapter, we have learned that understanding not just the volume of records, but also how the data within them is dispersed, can affect the need for indexes to ensure that queries perform without having to resort to expensive table scans or, in the case of Apex Trigger, runtime exceptions. Ensuring that you and your customers understand the best way to apply indexes is critical to both interactive and batch performance. Big objects provide a means to access the benefits of NoSQL databases to manage billions of records using specialized Salesforce APIs and Apex programming patterns using platform events to ingest data.
Asynchronous execution contexts and platform events open up extended and flexible control over the governors available in the interactive context, but need to be designed from the beginning with careful consideration for the user experience, so that...