Checking your account

You can read the lesson while its saved answers and constructions load. Learning controls will open once that work is ready.

A Shadow Answer Must Not Book a Second Inspection

Trying a New Service Before Sending Everyone to It

BOTIE

A new service version can pass tests and still behave differently under real traffic. Gradual deployment lets a limited share of requests use the new version while the rest keep using the established one. That trial version is often called a canary. Kubernetes documents this approach for services; the same deployment question arises when the version being changed is a model. The selected users receive real candidate responses.

Another approach copies requests to a comparison service while returning only the primary service’s answer. This is traffic mirroring, also called shadowing. Envoy’s routing documentation describes a mirror response that stays off the primary response path. Hiding that response does not stop the copied request from calling another service. Our booking example follows this consequence: deciding which answer to display cannot also serve as permission to create a booking.

Sources for this history