
Answer-first summary for fast verification
Answer: Use a hybrid approach with dynamic resource allocation and adaptive scaling.
A hybrid approach allows for dynamic resource allocation based on current load and latency requirements, ensuring that resources are not over-provisioned (which would increase costs) and that latency remains within acceptable limits. This approach requires careful monitoring and adjustment based on real-time data, and it includes strategies for fault tolerance and high availability.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
In a high-throughput streaming application, how would you design the system to control for cost and latency SLAs while ensuring high availability and fault tolerance? Discuss the strategies you would employ to balance these factors and ensure that the system remains operational under various failure scenarios.
A
Optimize for latency at all costs.
B
Optimize for cost at all times.
C
Use a hybrid approach with dynamic resource allocation and adaptive scaling.
D
Ignore both cost and latency.
No comments yet.