QuestionQ103

VerifiedDeploying applications

You are developing a new API that creates requests on an asynchronous messaging service. Different services will consume the requests. You need to expose the API through a gRPC interface while minimizing infrastructure-management overhead. How should you deploy the API?

Explanation

Cloud Run is fully managed and supports gRPC end-to-end, making it appropriate for hosting the API without managing servers or a cluster. Publishing requests to a Pub/Sub topic decouples the API from the services that consume the messages and provides managed asynchronous messaging.

Learn more

Community Discussion

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