Topic 1 Question 331
You are designing a microservices architecture for a new application that will be deployed on Cloud Run. The application requires high-throughput communication between the internal microservices. You want to use the most effective, lowest latency communication protocol for this application. What should you do?
Configure the Cloud Run service to use HTTP/2. Implement gRPC for communication between the microservices. Use streaming gRPCs when a large amount of data has to be sent.
Implement the microservices with the REST API communication protocol. Use Apigee with rate-limiting to provide the best QoS for high-priority services.
Use SOAP to build the microservices API, and use XML as the data format for communication across the microservices. Define SOAP data contracts for each microservice.
Use HTTP REST to communicate across the microservices. Implement pagination and add indexing to your database.
ユーザの投票
コメント(1)
- 正解だと思う選択肢: A
gRPC is designed for high-throughput, low-latency communication. It uses HTTP/2 as its underlying protocol, which allows for features like multiplexing and bidirectional streaming—ideal for internal microservices communication. This approach minimizes latency and overhead compared to traditional REST APIs over HTTP/1.1. Additionally, using streaming gRPCs can further optimize performance when large amounts of data need to be sent.
👍 1Sandesh242025/03/01
シャッフルモード