QuestionQ19

Optimizing performance and cost

A team is developing a service that performs compute-intensive processing on batches of data. Data is processed more quickly according to the machine's CPU speed and CPU count. These data batches vary in size and can arrive at any time from multiple third-party sources. You must ensure that third parties can upload their data securely. You want to minimize costs while ensuring the data is processed as quickly as possible. What should you do?

Explanation

Cloud Storage provides a secure upload destination controlled with IAM permissions. A Cloud Storage object-finalize event can initiate processing when a new batch is uploaded. Compute Engine managed instance groups can autoscale by adding VMs as demand increases and removing them as demand falls; an instance template can supply the preinstalled processing software. This matches an irregular, CPU-bound batch workload while avoiding continuously running processing capacity.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!