You are load testing your server application. During the first 30 seconds, you observe that a previously inactive Cloud Storage bucket is now servicing 2000 write requests per second and 7500 read requests per second. Your application is now receiving intermittent 5xx and 429 HTTP responses from the Cloud Storage
JSON API as the demand escalates. You want to decrease the failed responses from the Cloud Storage API.
What should you do?
- Distribute the uploads across a large number of individual storage buckets.
- Use the XML API instead of the JSON API for interfacing with Cloud Storage.
- Pass the HTTP response codes back to clients that are invoking the uploads from your application.
- Limit the upload rate from your application clients so that the dormant bucket's peak request rate is reached more gradually.
Answer(s): D
Reference:
https://cloud.google.com/storage/docs/request-rate
Reveal Solution Next Question