The request flow is the ordered path that user and application traffic follows from the edge inward to the database. Each hop can add latency, especially when tiers sit in different zones or regions:
- Regional external load balancer receives user requests: Traffic flows from users to the regional external load balancer, which distributes requests to the web-tier VMs.
- Zonal or regional managed instance group (MIG) runs the web tier: Traffic flows from the external load balancer to VMs in the web-tier MIG, where each VM hosts an independent web-tier instance.
- Regional internal load balancer distributes tier-to-tier traffic: Traffic flows from the web-tier VMs to the regional internal load balancer, which forwards it to the application tier.
- Application-tier MIG processes business logic: Traffic flows from the internal load balancer to VMs in the application-tier MIG, where each VM hosts an independent application-tier instance.
- Application tier reads and writes the database: Traffic flows from the application-tier VMs to the database VM or to the managed database endpoint.