
Answer-first summary for fast verification
Answer: Implement autoscaling and dynamic resource allocation based on real-time metrics to optimize both cost and latency.
Implementing autoscaling and dynamic resource allocation allows the system to adapt to varying workloads, ensuring optimal use of resources and minimizing both cost and latency. This approach helps in maintaining performance while keeping operational costs under control.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are tasked with designing a system for a production streaming job that must adhere to strict cost and latency SLAs. How would you approach designing such a system to ensure it meets these requirements?
A
Use a high number of small, inexpensive clusters to distribute the load and reduce costs.
B
Implement autoscaling and dynamic resource allocation based on real-time metrics to optimize both cost and latency.
C
Run the streaming job on a single, large cluster to minimize latency.
D
Increase the batch interval of the streaming job to reduce processing costs.
No comments yet.