เตรียมพร้อมสำหรับกิจกรรมที่มีการรับส่งข้อมูลจำนวนมาก
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เอกสารนี้มีไว้เพื่อช่วยคุณจัดการ Tag Manager ฝั่งเซิร์ฟเวอร์
การทำให้ใช้งานได้เมื่อคุณคาดว่าการใช้งานทรัพยากรระบบคลาวด์ทั่วทั้งระบบคลาวด์จะเพิ่มสูงขึ้นอย่างรวดเร็ว
ผู้ให้บริการเครือข่าย เช่น เอกสารฉบับนี้จะช่วยให้คุณสามารถเตรียมพร้อมสำหรับ
กิจกรรมลดราคาช่วงแบล็คฟรายเดย์และไซเบอร์มันเดย์
คำแนะนำ
แม้ว่าทรัพยากรของเซิร์ฟเวอร์ของคุณอาจไม่ได้รับผลกระทบ เราขอแนะนำให้คุณ
การดำเนินการต่อไปนี้เพื่อให้มั่นใจว่าคุณจะไม่พบปัญหาการหยุดทำงานของเซิร์ฟเวอร์ใน
เหตุการณ์การหยุดทำงานของผู้ให้บริการคลาวด์หรือข้อจำกัดด้านทรัพยากร ไม่ว่าในกรณีใดก็ตาม
ที่คุณทำให้ Tag Manager ฝั่งเซิร์ฟเวอร์ใช้งานได้ ดังนี้
- ติดต่อผู้ให้บริการคลาวด์เพื่อจองที่นั่งสำหรับกิจกรรมที่กำลังจะมาถึง
- สำหรับโซลูชันแบบ Serverless เช่น App Engine ของ Google Cloud Platform หรือ
Cloud Run เพิ่ม จำนวนอินสแตนซ์ขั้นต่ำให้กับ
การใช้งานที่คาดการณ์ไว้หรือที่คาดการณ์ไว้ระหว่างช่วงระยะของเหตุการณ์และช่วงพีค หากจะให้ดี ให้ตั้ง
จำนวนนี้ที่จุดสูงสุด แต่อย่างน้อยขอให้ลองใช้แนวทางของคุณ
- สำหรับ VM, Kubernetes หรือโซลูชันอื่นๆ ให้สร้างการจองเพื่อให้มั่นใจว่า
ทรัพยากรในช่วงที่มีความต้องการใช้งานพุ่งสูงขึ้น
- ตรวจสอบว่าได้ตั้งค่าขีดจำกัดอินสแตนซ์สูงสุดอย่างเหมาะสมแล้ว ขีดจำกัดควรเป็น
สูงพอที่จะรองรับทั้งการเข้าชมที่คาดหวังและการเข้าชมที่ไม่คาดคิด
- ตรวจสอบโควต้าและขีดจำกัด โปรดตรวจสอบว่าทรัพยากรที่บริการใช้และ
ได้กำหนดโควต้าอย่างเหมาะสมแล้ว หากคุณต้องการขีดจำกัดโควต้าที่มากขึ้น โปรด
คำขอเหล่านั้นก่อนเริ่มกิจกรรม
- อัปเกรดเวอร์ชันอิมเมจ Docker ฝั่งเซิร์ฟเวอร์เป็นเวอร์ชันล่าสุดก่อนวันที่
เพื่อให้คุณสามารถจำกัดการทำให้ใช้งานได้และการรีสตาร์ทอินสแตนซ์ระหว่าง
กิจกรรม
คำถามที่พบบ่อย
Google จะปกป้องฉันอย่างไรในช่วงแบล็คฟรายเดย์และไซเบอร์มันเดย์
การปรับขนาดกิจกรรมที่มีการเข้าชมสูงช่วยให้มั่นใจได้ว่าเว็บไซต์ของคุณจะรับมือกับการเพิ่มขึ้นของ
การเข้าชม หากมีเซิร์ฟเวอร์ไม่เพียงพอ Hit จะสูญหายและข้อมูลจะไม่สูญหาย
ข้อมูลที่เรียกคืนได้
Google Tag Manager จะหยุดการเปลี่ยนแปลงโค้ดและการรีสตาร์ทโครงสร้างพื้นฐานทั้งหมดในระหว่าง
ระยะเวลาของกิจกรรมแบล็คฟรายเดย์และไซเบอร์มันเดย์
Google Cloud จะหยุดการอัปเดตโครงสร้างพื้นฐาน การอัปเกรดอัตโนมัติ
การติดตั้งใช้งาน และการสิ้นสุดวงจรในช่วงแบล็คฟรายเดย์และ
กิจกรรมไซเบอร์มันเดย์ อินสแตนซ์ที่ทำงานอยู่ควรทำงานต่อไป
ตลอดอายุการใช้งาน เว้นแต่ว่าอุปกรณ์จะขัดข้องหรือขัดข้องจากคุณ
ฉันควรเตรียมการเข้าร่วมกิจกรรมใดบ้าง
- สำหรับแบล็คฟรายเดย์และไซเบอร์มันเดย์ เราขอแนะนำให้เตรียมการเป็นเวลา 1 สัปดาห์
ก่อนวันขอบคุณพระเจ้าและ 2 วันหลังไซเบอร์มันเดย์
- สำหรับกิจกรรมส่งท้ายปี เราขอแนะนำให้เตรียมพร้อมเป็นเวลา 1 สัปดาห์ก่อนวันคริสต์มาส
และ 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."]]