Prepare for high traffic events
Stay organized with collections
Save and categorize content based on your preferences.
This document is intended to help you manage your Server-side Tag Manager
deployment when you're expecting spikes in cloud resource usage across cloud
providers. For example, this document can help you prepare for upcoming
Black Friday and Cyber Monday sales events.
Recommendations
While your server resources may not be affected, we recommend taking the
following actions to ensure that you don't experience server downtime in the
event of cloud provider outages or resource constraints, regardless of where
you deploy Server-side Tag Manager:
- Work with your cloud provider to reserve capacity for the upcoming event.
- 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.
- For VMs, Kubernetes, or other solutions, create reservations to ensure
resources during any burst in demand.
- Ensure your max instance limits are set appropriately. The limit should be
high enough to handle both expected and unexpected traffic.
- 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.
- Upgrade your Server-side Docker image version to the latest version before
the event so you can limit deployments and instance restarts during the
event.
Frequently asked questions
How does Google protect me during Black Friday and Cyber Monday?
By scaling for high traffic events, you ensure your site can handle increased
traffic. Without enough servers, hits will be lost and data won't be
retrievable.
Google Tag Manager freezes all code changes and infrastructure restarts during
the duration of Black Friday and Cyber Monday events.
Google Cloud pauses infrastructure updates, automated upgrades,
deployments, and lifecycle terminations during the duration of Black Friday and
Cyber Monday events. Instances that are running should continue to run
to their full lifetimes unless they crash or are interrupted by you.
What events should I prepare for?
- For Black Friday and Cyber Monday, we recommend preparing for one week
before Thanksgiving and two days after Cyber Monday.
- For end of year events, we recommend preparing for one week before Christmas
and one day after New Years.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[null,null,["Last updated 2024-10-09 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."]]