トラフィックの多いイベントに備える
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
このドキュメントでは、サーバーサイド タグ マネージャーの管理に役立つ情報を提供します。
クラウド全体でクラウド リソース使用量の急増が予想される場合に、
接続できますたとえば、このドキュメントは、今後の
ブラック フライデーとサイバー マンデーのセール イベント。
推奨事項
サーバー リソースに影響はありませんが、
サーバーでダウンタイムが発生しないようにするために、
クラウド プロバイダの停止やリソースの制約が生じた場合に、
サーバーサイド タグ マネージャーを導入する手順は以下のとおりです。
- クラウド プロバイダにご相談のうえ、開催予定のイベント用の容量を予約してください。
- サーバーレス ソリューション(Google Cloud Platform の App Engine や
Cloud Run を使用する場合は、インスタンスの最小数を
イベントの山とピークの間の予想使用量。理想的には、
ピーク時にはこの数値を使用しますが、少なくとも、トラフを使用することを検討してください。
- VM、Kubernetes、その他のソリューションの場合は、予約を作成して
リソースをプロビジョニングできます
- 最大インスタンス数の上限が適切に設定されていることを確認します。上限は
予想されるトラフィックと予期しないトラフィックの両方を処理できる十分な容量を確保します。
- 割り当てと上限を確認します。サービスが使用し、管理するリソースが
適切に設定されているかによって変わります。割り当て上限を引き上げる場合は、
リクエストを送ります
- これより前に、サーバーサイドの Docker イメージのバージョンを最新バージョンにアップグレードしてください。
イベントをリッスンし、イベント発生時のデプロイとインスタンスの再起動を
イベントです。
よくある質問
ブラック フライデーとサイバー マンデーの間、Google はユーザーをどのように保護しますか?
トラフィックの多いイベントに合わせてスケーリングすることで、
トラフィックです。十分なサーバーがないと、ヒットが失われ、データが
取得できます。
Google タグ マネージャーは、アップデート中にコードの変更をすべて停止し、インフラストラクチャが再起動される
ブラック フライデーとサイバー マンデーのイベントの期間。
Google Cloud は、インフラストラクチャの更新、自動アップグレード、
デプロイ、ライフサイクルの終了などの対策を
サイバー マンデー イベント。実行中のインスタンスは引き続き実行されます
クラッシュしたり中断されたりしない限り
ずっと継続されます
どのようなイベントの準備をすればよいですか?
- ブラック フライデーとサイバー マンデーに向けて 1 週間の準備をおすすめします
サイバー マンデーの 2 日後。
- 年末イベントでは、クリスマスの 1 週間前に備えることをおすすめします
あるとします
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-07-25 UTC。
[null,null,["最終更新日 2024-07-25 UTC。"],[[["\u003cp\u003eThis guide helps you prepare your Server-side Tag Manager deployment for high-traffic events like Black Friday and Cyber Monday to avoid downtime.\u003c/p\u003e\n"],["\u003cp\u003eReserve cloud resources with your provider by increasing minimum instances for serverless solutions or creating reservations for VMs and Kubernetes.\u003c/p\u003e\n"],["\u003cp\u003eSet appropriate max instance limits and review quotas to handle expected and unexpected traffic, requesting quota increases beforehand if needed.\u003c/p\u003e\n"],["\u003cp\u003eUpgrade to the latest Server-side Tag Manager Docker image before the event to minimize deployments and restarts during the peak period.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Tag Manager and Google Cloud implement safeguards during peak shopping events, such as freezing code changes and pausing infrastructure updates to ensure stability.\u003c/p\u003e\n"]]],["To prepare for traffic spikes, like Black Friday and Cyber Monday, reserve cloud capacity with your provider, setting minimum instances for serverless solutions to match forecasted usage. Ensure maximum instance limits are high enough, and review/increase resource quotas. Upgrade to the latest Server-side Tag Manager Docker image version beforehand. Google freezes code changes and infrastructure restarts during these key events, while also pausing infrastructure updates, ensuring running instances remain operational. Preparation is recommended for at least a week before and a couple days after major events.\n"],null,["# Prepare for high traffic events\n\nThis document is intended to help you manage your [Server-side Tag Manager](https://developers.google.com/tag-platform/tag-manager/server-side)\ndeployment when you're expecting spikes in cloud resource usage across cloud\nproviders. For example, this document can help you prepare for upcoming\nBlack Friday and Cyber Monday sales events.\n\nRecommendations\n---------------\n\nWhile your server resources may not be affected, we recommend taking the\nfollowing actions to ensure that you don't experience server downtime in the\nevent of cloud provider outages or resource constraints, regardless of where\nyou deploy Server-side Tag Manager:\n\n- Work with your cloud provider to reserve capacity for the upcoming event.\n - For serverless solutions, such as Google Cloud Platform's App Engine or Cloud Run, increase your minimum number of instances to your expected or forecasted usage between the event trough and peak. Ideally, set this number at the peak, but at a minimum, consider using your trough.\n - For VMs, Kubernetes, or other solutions, create reservations to ensure resources during any burst in demand.\n- Ensure your max instance limits are set appropriately. The limit should be high enough to handle both expected and unexpected traffic.\n- Review quotas and limits. Make sure that the resources your service uses and relies on have appropriately set quotas. If you want larger quota limits, make those requests before the event.\n- Upgrade your Server-side [Docker image version](https://developers.google.com/tag-platform/tag-manager/server-side/release-notes) to the latest version before the event so you can limit deployments and instance restarts during the event.\n\nFrequently asked questions\n--------------------------\n\n**How does Google protect me during Black Friday and Cyber Monday?**\n\nBy scaling for high traffic events, you ensure your site can handle increased\ntraffic. Without enough servers, hits will be lost and data won't be\nretrievable.\n\nGoogle Tag Manager freezes all code changes and infrastructure restarts during\nthe duration of Black Friday and Cyber Monday events.\n\nGoogle Cloud pauses infrastructure updates, automated upgrades,\ndeployments, and lifecycle terminations during the duration of Black Friday and\nCyber Monday events. Instances that are running should continue to run\nto their full lifetimes unless they crash or are interrupted by you.\n\n**What events should I prepare for?**\n\n- For Black Friday and Cyber Monday, we recommend preparing for one week before Thanksgiving and two days after Cyber Monday.\n- For end of year events, we recommend preparing for one week before Christmas and one day after New Years."]]