インスタンスを実行していない状態でトラフィックを直ちに新しいバージョンに移行すると、インスタンスの作成中にアプリのレイテンシが急増します。App Engine Admin API を使用して、トラフィックを移行する前に新しいアプリのバージョンのインスタンスを十分な数だけプロビジョニングすることで、レイテンシの急増を避けることができます。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-03-06 UTC。"],[[["Traffic migration in the flexible environment allows you to immediately switch request routing from one or more versions of your application to a single new version."],["To prevent latency spikes, provision sufficient instances of the new version using the App Engine Admin API before migrating traffic, and set `minTotalInstances` accordingly."],["Traffic can be migrated using the Google Cloud console, the `gcloud app services set-traffic` command, or programmatically through the Admin API."],["Gradual traffic migration is an option through the use of the `migrate` flag or the enabling of warmup requests, and can be configured from the console or through the `gcloud` command."],["Ensure your user account has the necessary privileges to configure traffic before you begin migrating traffic to a new version."]]],[]]