مناقشة موضوع خاصية Throttle Policy في مشاكل وحلول الـ مواقع; اقتباس: Throttle Module Throttle Module was developed to to reduce the load on your bandwidth by delaying or refusing requests to your sites. There are eight 'throttling policies' (each expecting two ...
Throttle Module Throttle Module was developed to to reduce the load on your bandwidth by delaying or refusing requests to your sites.
There are eight 'throttling policies' (each expecting two parameters: a limit and a time period):
Concurrent - impose a limit on the number of concurrent requests at any one time. The period specifies how long data is accumulated before the counters are reset.
Document - excluding requests for HTML page elements such as images and style sheets, impose a limit on the number of requests per period. When this limit is exceeded all further requests are refused, until the elapsed time exceeds the period length, at which point the elapsed time and the counters are reset. Note that the requests (hits) column of the throttle status display does not include the requests for page elements.
Idle - impose a mimimum idle time between requests. When the miminum is not reached, then the request incurs a calculated delay penalty or is refused. First, whenever the elapsed time exceeds the period length, then the counters are reset. Second, if the idle time between requests exceeds the minimum, then the the request proceeds without delay. Otherwise the request is delayed between one and 60 seconds. If the delay would exceed 60 seconds, then the request is refused entirely to avoid occupying servers unnecessarily. The delay is computed as the policy minimum less the idle time between requests.
Original - impose a limit on the volume (kbytes sent) per period, which when exceeded the request incurs a counter-based delay penalty or is refused. First, whenever the elapsed time exceeds the period length, then the volume and elapsed time are halved. Second, if the volume is below the limit, then the delay counter is decreased by one second if it is not yet zero. Otherwise, when the limit is exeeded, the delay counter is increased by one second. The delay can be between zero and 60 seconds, after which the request will be refused to avoid occupying servers unnecessarily.
Random - randomly accept a percentage (limit) of the requests. If the percentage is zero (0), then every request is refused; if the percentage is 100, then all requests are accepted. The period specifies how long data is accumulated before the counters are reset.
Request - impose a limit on the number of requests per period. When this limit is exceeded all further requests are refused until the elapsed time exceeds the period length, at which point the elapsed time and counters are reset.
Speed - impose a limit on the volume (kbytes sent) per period, which when exceeded the request incurs a calculated delay penalty or is refused. First, whenever the elapsed time exceeds the period length, then the limit (allowance) is deducted from the volume, which cannot be a negative result; also the period length is deducted from the elapse time. Second, if the volume is below the limit, in which case the request proceeds without delay. Otherwise the request is delayed between one and 60 seconds. If the delay would exceed 60 seconds then we refuse the request entirely to avoid occupying servers unnecessarily. The delay is computed as one plus the integer result of the volume times 10 divided by the limit.
Volume - impose a limit on the volume (kbytes sent) per period. When this limit is exceeded all further requests are refused, until the end of the period at which point the elapsed time and counters are reset.
You can also set throttle policy to None which imposes no restrictions on a request and used as a place holder to allow monitoring. The limit currently serves no purpose. The period specifies how long data is accumulated before the counters are reset.
هذه خاصية عندي في السيرفر ممكن لو حد عارفها يقولي عليها لاني انا فاهم الانجليزي ده بس ياريت شرح مفصل ليها
__________________
اقتباس:
اللهم أشكو إليك ضعف قوتي وقلة حيلتي وهواني على الناس, يا رب العالمين أنت رب المستضعفين وأنت ربي إلى من تكلني يا رب، إلى بعيد يتجهمني أم إلى قريب ملكته أمري إن لم يكن بك على غضب فلا أبالي، ولكن رحمتك هي أوسع لي أعوذ بنور وجهك الذي أشرقت له الظلمات، وصلح عليه أمر الدنيا والآخرة من أن تنزل بي غضبك، أو تحل عليّ سخطك لك العتبى حتى ترضى، ولا حول ولا قوة إلا بك".
عبارة عن خاصيه لتخفيف الحمل الزائد والكلام المكتوب دا شرح بيقولك طريقه عمل الخاصيه وانت مو مجبر على استخدامها بيشرحلك تحدد كام كيلو بايت فى الثانيه ولو حمل زائد يتفادى ولا يلغى العمليه دا القدر اوصلهولك والله اعلم
مشكور أخي العزيز أنا عارف ده أنا عاوز واحد يكون أستخدم كل نوع policy فيها أو أستخدم الخاصية ده الكلام ده مفهوم لكن أية الاحسن لمنتدي أظن أختيار صعب عاوز واحد أو موضوع يكون شارحها بالتفصيل شكرا لتعاونك
و علي فكرة ده بتسبب في فصل الموقع لو أتعدي عدد معين من الطلبات علي الموقع بتاعي أو عدد الكيلو بايتس و ده سبب أني عاوز شرح مفصل ليها
__________________
اقتباس:
اللهم أشكو إليك ضعف قوتي وقلة حيلتي وهواني على الناس, يا رب العالمين أنت رب المستضعفين وأنت ربي إلى من تكلني يا رب، إلى بعيد يتجهمني أم إلى قريب ملكته أمري إن لم يكن بك على غضب فلا أبالي، ولكن رحمتك هي أوسع لي أعوذ بنور وجهك الذي أشرقت له الظلمات، وصلح عليه أمر الدنيا والآخرة من أن تنزل بي غضبك، أو تحل عليّ سخطك لك العتبى حتى ترضى، ولا حول ولا قوة إلا بك".
و بالنسبة لجملة مو مجبر علي استخدامها لو مستخدمتهاش السيرفر بيحددلي حوالي كل 120 request للموقع بتاعي بيسقط حوالي 3 ثواني يعني لازم علي الاقل أشغلها من عندي من لوحة التحكم ^-^
بجد خاصية جميلة لو أحسنت أستخدامها و محيرة و مشكور أخي بجد علي مشاركتك مشكلتي و لو لقيت شرح كامل ليها هاتلنا الرابط أو الشرح هنا
__________________
اقتباس:
اللهم أشكو إليك ضعف قوتي وقلة حيلتي وهواني على الناس, يا رب العالمين أنت رب المستضعفين وأنت ربي إلى من تكلني يا رب، إلى بعيد يتجهمني أم إلى قريب ملكته أمري إن لم يكن بك على غضب فلا أبالي، ولكن رحمتك هي أوسع لي أعوذ بنور وجهك الذي أشرقت له الظلمات، وصلح عليه أمر الدنيا والآخرة من أن تنزل بي غضبك، أو تحل عليّ سخطك لك العتبى حتى ترضى، ولا حول ولا قوة إلا بك".