Asynchronous Processing and Big Data Volumes
This chapter covers two important aspects of developing an enterprise-level application on the Salesforce Platform. While asynchronous processing and big data volumes are not necessarily linked, greater scalability and processing power of the platform can be achieved when embracing async programming patterns. Of course, making sure that your interactive user experience is still responsive when querying large volumes of data is also very important.
In this chapter, we will first review how to ensure SOQL queries are as performant as possible by understanding how to interpret query performance information returned by the platform and make use of the standard and custom indexes. This will benefit both interactive and batch (or async) processes in your application, in addition to how they are leveraged through native platform features such as reporting.
We will then take a look at the options, best practices, design, and usability considerations...