Managing long-term performance of an application
Throughout this book, we have covered a number of different patterns, practices, and pieces of functionality to help you build better Salesforce applications that will scale as the use of your application scales over time. We started looking at how we can remove common Apex mistakes, and worked through trigger patterns, exceptions, testing, and secure programming, before diving into the many asynchronous options that were available to us in Apex to help the application scale. After understanding our toolset, we then reviewed how to correctly profile our applications and some of the various methods we can employ to improve our use of resources.
All of these items, along with the discussions we have had in this chapter, come together to culminate in helping us understand how we should think about managing the performance of an application in the long term. Very few applications start off with a high volume of data, but over time almost...