الاستعداد للأحداث التي تشهد كثافة مرورية عالية
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
يهدف هذا المستند إلى مساعدتك في إدارة أداة إدارة العلامات من جهة الخادم.
المستخدم عندما تتوقع حدوث زيادات مفاجئة في استخدام الموارد على السحابة الإلكترونية
التطبيقات. على سبيل المثال، يمكن أن يساعدك هذا المستند في الاستعداد
أحداث تخفيضات "الجمعة البيضاء" و"اثنين الإنترنت"
الاقتراحات
وعلى الرغم من احتمال عدم تأثر موارد الخادم، ننصحك بأخذ
للتأكد من عدم توقف الخادم عن العمل
حدوث انقطاعات في الخدمة لدى مزوّد الخدمات السحابية أو قيود على الموارد، بصرف النظر عن
تفعيل أداة "إدارة العلامات من جهة الخادم":
- ننصحك بالتعاون مع مقدّم خدمات السحابة الإلكترونية لحجز سعة تخزين للفعالية القادمة.
- بالنسبة إلى الحلول بدون خادم، مثل App Engine في Google Cloud Platform أو
في Cloud Run، عليك زيادة الحد الأدنى لعدد الحالات
الاستخدام المتوقّع أو المتوقّع بين فترة الحدث وذروته من الناحية المثالية، قم بتعيين
هذا الرقم في ذروته، ولكن على الأقل، فكِّر في استخدام الانخفاض.
- يجب إنشاء حجوزات للأجهزة الافتراضية (VM) أو Kubernetes أو غيرها من الحلول، وذلك لضمان
الموارد أثناء أي ذروة من الطلب.
- تأكّد من ضبط الحدود القصوى للمثيلات بشكل مناسب. يجب أن يكون الحد
مرتفعًا بما يكفي للتعامل مع عدد الزيارات المتوقع وغير المتوقع.
- راجِع الحصص والحدود. تأكد من أن الموارد التي تستخدمها خدمتك
أن تعتمد عليها حصصًا محددة بشكل مناسب. إذا كنت تريد حدودًا أكبر للحصة،
هذه الطلبات قبل الحدث.
- عليك ترقية نسخة صورة Docker من جهة الخادم إلى أحدث إصدار قبل
الحدث لكي تتمكّن من الحدّ من عمليات النشر وعمليات إعادة تشغيل المثيل أثناء
فعالية.
الأسئلة الشائعة
كيف تحميني Google خلال الجمعة البيضاء وإثنين الإنترنت؟
من خلال توسيع نطاق الوصول إلى الأحداث التي تجذب عددًا كبيرًا من الزيارات، تضمن إمكانية تعامل موقعك الإلكتروني مع
حركة المرور. بدون خوادم كافية، سيتم فقدان النتائج ولن يتم فقدان البيانات
قابلة للاسترداد.
تجتاح أداة "إدارة العلامات من Google" جميع تغييرات الرمز وعمليات إعادة تشغيل البنية الأساسية أثناء
لمدة أحداث الجمعة البيضاء واثنين الإنترنت.
توقف خدمة Google Cloud مؤقتًا تحديثات البنية الأساسية والترقيات الآلية
وعمليات النشر وإنهاء مراحل النشاط خلال فترة الجمعة البيضاء
فعاليات إثنين الإنترنت يجب أن يستمر تشغيل المثيلات قيد التشغيل
إلى عمرها الكامل ما لم تتعطل أو توقفها أنت.
ما هي الفعاليات التي يجب أن أستعد لها؟
- بمناسبة الجمعة البيضاء واثنين الإنترنت، ننصحك بالاستعداد لأسبوع واحد
قبل عيد الشكر وبعد يومين من إثنين الإنترنت.
- بالنسبة إلى أحداث نهاية العام، ننصحك بالاستعداد قبل أسبوع واحد من عيد الميلاد.
ويوم بعد رأس السنة.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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."]]