QuestionQ321

Ensuring solution and operations excellence

For this question, refer to the EHR Healthcare case study. You are a developer on the EHR customer portal team. Your team recently migrated the customer portal application to Google Cloud. Load on the application servers has increased, and the application is now logging many timeout errors. You recently incorporated Pub/Sub into the application architecture, and the application is not logging any Pub/Sub publishing errors. You want to improve publishing latency.

What should you do?

  • A Increase the Pub/Sub Total Timeout retry value.
  • B Move from a Pub/Sub subscriber pull model to a push model.
  • C Turn off Pub/Sub message batching.
  • D Create a backup Pub/Sub message queue.
Explanation

Pub/Sub publisher batching improves throughput and efficiency, but it can add latency to individual messages because they wait for a batch to fill. Turning off message batching removes that batching wait. Increasing the total retry timeout is intended to reduce publish timeout failures, while subscription delivery mode and an additional queue do not reduce publisher latency.

Learn more

Community Discussion

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