Asynchronous Processing and Big Data Volumes

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 such as reporting.

We will then take a look at the options, best practices, design, and usability considerations to move your application processing into the async mode and event-driven architecture (EDA) patterns, once again leveraging the Service layer as the shared backbone of your application. Finally, we will be exploring some thoughts and considerations when it comes to volume testing your application. We will cover the following topics in this chapter:

  • Creating test data for volume testing
  • Indexes, being selective, and query optimization
  • Using big data storage to store and query millions to billions of records
  • Asynchronous execution and event-driven architecture patterns for scale
  • Volume testing
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.116.36.71