Preparati a eventi di traffico elevato
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Questo documento ha lo scopo di aiutarti a gestire Tag Manager lato server
del deployment quando si prevedono picchi nell'utilizzo delle risorse cloud nel cloud
di Google Cloud. Ad esempio, questo documento può aiutarti a prepararti ad affrontare
Eventi di vendita del Black Friday e del Cyber Monday.
Consigli
Anche se le risorse del server potrebbero non essere interessate, ti consigliamo di utilizzare
le seguenti azioni per assicurarti di non riscontrare tempi di inattività del server
di interruzioni del servizio o di vincoli di risorse del cloud provider, indipendentemente da dove
esegui il deployment di Tag Manager lato server:
- Collabora con il tuo cloud provider per prenotare capacità per il prossimo evento.
- Per le soluzioni serverless, come App Engine della piattaforma Google Cloud
Cloud Run, aumenta il numero minimo di istanze
utilizzo previsto o previsto tra la temperatura di picco e quella di picco. Idealmente, imposta
questo numero è il picco, ma come minimo, si consiglia di usare il trogolo.
- Per VM, Kubernetes o altre soluzioni, crea prenotazioni per garantire
delle risorse durante qualsiasi burst in demand.
- Assicurati che i limiti massimi di istanze siano impostati correttamente. Il limite dovrebbe essere
abbastanza elevata da poter gestire il traffico previsto
e inaspettato.
- Esamina quote e limiti. Assicurati che le risorse utilizzate dal servizio
di avere quote impostate in modo appropriato. Se vuoi limiti di quota più elevati, imposta
a queste richieste prima dell'evento.
- Esegui l'upgrade della versione dell'immagine Docker lato server alla versione più recente prima del giorno
per limitare i deployment e i riavvii delle istanze durante
.
Domande frequenti
In che modo Google mi protegge durante il Black Friday e il Cyber Monday?
Applicando il ridimensionamento per gli eventi di traffico elevato, ti assicuri che il tuo sito possa gestire una
per via del traffico. Se il numero di server è insufficiente, gli hit andranno persi e i dati non saranno
recuperabile.
Google Tag Manager blocca tutte le modifiche al codice e i riavvii dell'infrastruttura durante
la durata degli eventi del Black Friday e del Cyber Monday.
Google Cloud mette in pausa gli aggiornamenti
dell'infrastruttura, gli upgrade automatici
deployment e terminazioni del ciclo di vita durante il Black Friday
Eventi del Cyber Monday. Le istanze in esecuzione dovrebbero continuare a essere eseguite
al loro intero ciclo di vita, a meno che non si arrestino in modo anomalo o vengano interrotti da te.
A quali eventi dovrei prepararmi?
- Per il Black Friday e il Cyber Monday, ti consigliamo di prepararti per una settimana
prima del Ringraziamento e due giorni dopo il Cyber Monday.
- Per gli eventi di fine anno, consigliamo di prepararsi una settimana prima di Natale
e un giorno dopo Capodanno.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-07-25 UTC.
[null,null,["Ultimo aggiornamento 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."]]