官术网_书友最值得收藏!

  • Learning Apache Apex
  • Thomas Weise Munagala V. Ramanath David Yan Kenneth Knowles
  • 225字
  • 2021-07-02 22:38:38

Performance

Even with big data scale out architectures on commodity hardware, efficiency matters. Better efficiency of the platform lowers cost. If the architecture can handle a given workload with a fraction of the hardware, it will result in reduced Total Cost of Ownership (TCO). Apex provides several advanced mechanisms to optimize efficiency, such as stream locality and parallel partitioning, which will be covered in Chapter 4Scalability, Low Latency, and Performance.

Apex is capable of very low latency processing (< 10 ms), and is well suited for use cases such as the real-time threat detection as discussed earlier. Apex can be used to deliver latency processing Service Level Agreement (SLA) in conjunction with speculative execution (processing the same event multiple times in parallel to prevent delay) due to a unique feature: the ability to recover a path or subset of operators without resetting the entire DAG.

Only a fraction of real-time use cases may have such low latency and SLA requirements. However, it is generally desirable to avoid unnecessary trade-offs. If a platform can deliver high throughput (millions of events per second) with low latency and everything else is equal, why not choose such a platform over one that forces a throughput/latency trade-off? Various benchmarking studies have shown Apex to be highly performant in providing high throughput while maintaining very low latency.

主站蜘蛛池模板: 都安| 鱼台县| 毕节市| 峨眉山市| 福安市| 蒙阴县| 定边县| 锡林郭勒盟| 若羌县| 内乡县| 棋牌| 博白县| 尖扎县| 平罗县| 鄂温| 平山县| 商水县| 湘阴县| 万源市| 遂宁市| 如皋市| 开封市| 红安县| 贡觉县| 九龙县| 赤城县| 青铜峡市| 布尔津县| 江华| 自贡市| 盐边县| 商水县| 鄂托克前旗| 东城区| 韶关市| 安化县| 宁安市| 伽师县| 大田县| 武安市| 麻城市|