
Answer-first summary for fast verification
Answer: Increase the frequency of checkpoints and set aggressive watermarking thresholds to minimize latency.
Option A is the most suitable approach for optimizing a stream processing pipeline for transactional purposes. Increasing the frequency of checkpoints ensures that the system frequently saves its state, reducing the risk of data loss and minimizing latency. Aggressive watermarking thresholds help in processing data more efficiently, which is crucial for maintaining high throughput in transactional workloads.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are tasked with optimizing a stream processing pipeline for transactional purposes. Describe the steps you would take to achieve this, including the configurations you would adjust and the mechanisms you would put in place to ensure low latency and high throughput.
A
Increase the frequency of checkpoints and set aggressive watermarking thresholds to minimize latency.
B
Decrease the frequency of checkpoints and set moderate watermarking thresholds to balance latency and throughput.
C
Maintain the current checkpoint and watermarking settings but optimize the data processing logic for transactional workloads.
D
Rely on the system's built-in optimizations and manually adjust the resource allocation based on observed performance metrics.
No comments yet.