concept traffic in category cloud

This is an excerpt from Manning's book Google Cloud Platform in Action.
Compare this with figure 1.2, which shows a more typical company of the internet age, where growth is spiky and unpredictable and tends to drop without much notice. In this case, the company bought enough computing capacity (the top line) to handle a spike, which was needed up front, but then when traffic fell (the bottom line), it was stuck with quite a bit of excess capacity.
The App Engine Standard Environment, released in early 2008, offers a fully managed computing environment complete with storage, caching, computing, scheduling, and more. But it’s limited to a few programming languages. In this type of environment, your application tends to be tailored to App Engine, but it benefits from living in an environment that’s always autoscaling. App Engine handles sudden spikes of traffic sent to your application gracefully, and periods when your application is inactive don’t cost you any money.
This might look like you’ve accidentally blasted out the previous version, but if you inspect the list of versions again, you’ll see that the previous version is still there and serving traffic:
$ gcloud app versions list --service=default SERVICE VERSION TRAFFIC_SPLIT SERVING_STATUS default 20171001t160741 0.00 SERVING default 20171002t072939 1.00 SERVINGNotice that the traffic split between the two versions has shifted, and all traffic is pointing to the later version, with zero traffic being routed to the previous version. I’ll discuss this in more detail later on. If the version is still there, how can you talk to it? It turns out that just as you can access a specific service directly, you can access the previous version by addressing it directly in the format of <version>.<service>.your-project-id-here.appspot.com (or using -dot- separators for HTTPS):
As you saw, when deploying new versions of services, it’s possible to trigger a deployment without making the new version live yet. This arrangement allows you to run multiple versions side by side and then do hot switch-overs between versions. Switching over immediately is great, but what if you wanted to slowly test out new versions, shifting traffic from one version to another over the course of the day?
For example, in figure 11.17, you can see a hard switch-over from version A to version B, where 100% of the traffic originally sent toward version A immediately jumps over toward version B.
With traffic splitting, you can control what percentage of traffic goes to which version. You could be in a state where 100% of traffic is sent to version A and transition to a state where 50% remains on version A and 50% is migrated to version B (figure 11.18).