A fintech company is designing the architecture for a multi-tenant payment platform on Google Cloud. The application architecture consists of two distinct workloads:
1. A stateless HTTP microservice that receives incoming webhook events from payment gateways, experiences unpredictable bursty traffic patterns, and must automatically scale down to zero when idle to minimize costs.
2. A stateful financial transaction streaming engine that maintains persistent TCP/WebSocket connections, requires low-level Linux kernel parameter tuning (`sysctl`), and relies on local state storage across connections.
Which TWO compute platform architectural choices should the cloud architect recommend to satisfy the technical requirements of both workloads while minimizing operational overhead?
- Deploy the stateless webhook service to Cloud Run to leverage serverless autoscaling to zero and eliminate infrastructure management.Answer
- BDeploy the stateless webhook service to a Google Kubernetes Engine (GKE) Standard cluster with a dedicated node pool to manage HTTP traffic.
- Deploy the stateful transaction streaming engine to Compute Engine virtual machines in a Managed Instance Group (MIG) to allow custom Linux kernel parameter modifications.Answer
- DDeploy the stateful transaction streaming engine to Cloud Run by enabling session affinity and maximum instance limits.
- EConfigure 3-year Committed Use Discounts (CUDs) on baseline capacity for the stateless webhook microservice to minimize compute costs during traffic spikes.