Splitting network traffic
App Engine provides a powerful mechanism for splitting traffic between different versions of a service. This makes it possible to easily implement canary testing, where traffic is gradually rolled over to a new version of a service. For example, a team may decide to allocate 5% of the total network traffic to a new version of a service, and gradually increase traffic allocation to 100%, assuming the service operates as expected. If at any time the service begins to display issues, traffic can be reduced or entirely removed.
To begin splitting network traffic, let's first deploy our Java implementation of the color service. Because our Java service uses the Maven App Engine plugin, we'll leverage that plugin for the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access