This chapter covers two important aspects of developing an enterprise-level application on the Lightning 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. However, 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...