Low-latency versus throughput
As mentioned in Chapter 1, Introduction to Apex, Apex is capable of very low-latency processing while also delivering high throughput and fault-tolerance. Processing latency evaluation ultimately depends on the specific use case and end-to-end pipeline functionality. It is nevertheless important to know the platform limits and what is theoretically possible. Resource consumption translates to cost. It is essential that a platform can scale to meet current and future needs at reasonable cost. Complex streaming analytics applications can run on hundreds of processes and consume TBs of memory. At such a scale, it is essential to understand how future growth of business and data volume will translate into cost for the solution.
The Apex user does not have to trade latency for throughput as would be the case in batch systems or a micro-batch architecture. Performance benchmark results and production deployments have shown that Apex can process millions of events per...