مترجم البرنامج المساعد الموالية للادارة مخبأ الشاشه We have designed a new caching engine for Translator Plugin Pro 5.0 & Gold 1.0. لقد قمنا بتصميم محرك جديد التخزين المؤقت للمترجم البرنامج المساعد الموالية 5،0 و 1،0 الذهب. Previously we used WordPress’ Object Caching Engine (bundled with WordPress) which doesn’t work so well in resource constrained sites. في السابق كنا WordPress 'وجوه التخزين المؤقت لمحرك (المجمعه مع WordPress) الذي لا يعمل بشكل جيد في مواقع الموارد مقيده. Also it doesn’t serve our need to have semi-permanent cache for translated pages and provide infrastructure for Translator Pro & Gold moving forward. كما انها لا تخدم نحن بحاجة الى شبه دائمة مخبأ للصفحة مترجمة وتوفير البنية التحتية للمترجم الموالية & الذهب التحرك الى الامام. Our primary design objectives in designing the new caching engine are as follows: مدارسنا الابتداءيه اهداف التصميم الجديد في تصميم محرك التخزين المؤقت هى كما يلى :

Translation speedup is the primary goal of any caching effort but there is more. الترجمة التعجيل هي الهدف الرئيسي من استخدام الذاكرة الوسيطه اي جهد لكن هناك ما هو أكثر. Translating a page requires us to submit the content, after pre-processing, to a translation engine like Google, who then sends us the translated version of the page. ترجمة صفحة يتطلب منا ان يقدم المحتوى ، بعد المعالجه التمهيدية ، الى محرك الترجمة مثل غوغل ، من ثم ترسل لنا نسخة مترجمة من الصفحه. The content is then post-processed and delivered to the client / requester. المحتوى ثم بعد تجهيزها وتسليمها الى العميل / مطالب. This process involves database queries and network traffic, each of which can add up if your site becomes / is popular. وتنطوي هذه العملية على قاعدة البيانات والاستفسارات شبكة المرور ، كل واحدة منها يمكن ان تضاف اذا كان موقعك يصبح / هو الشعبي. The goal of caching is not only significantly speedup delivery of translated pages but also to reduce network traffic and database queries. والهدف من التخزين المؤقت الى حد كبير ليس فقط تسليم التعجيل صفحة مترجمة وانما ايضا للحد من قاعدة بيانات الشبكه والاتجار بها والاستفسارات.

Availability of service is a key goal. توافر الخدمة هدفا رئيسيا. Frequent queries to translation engines can cause overload of their services and they in turn can disable your site for a time period or more, which is clearly undesirable. لكثرة الاستفسارات التي يمكن ان تتسبب في محركات الترجمة الزائد من خدماتهم وهؤلاء بدورهم يمكن تعطيل موقعك لفترة زمنيه او اكثر ، التي من الواضح انها غير مرغوب فيها. So not only do we need to speedup translation on your site we also need to keep the translation engines happy by managing their load within their acceptable limits. وليس ذلك فقط هل نحن بحاجة الى التعجيل الترجمة على موقعك ونحن بحاجة ايضا الى ابقاء محركات الترجمة سعيده عن طريق ادارة حمولتها ضمن الحدود المقبولة. We have done extensive tests to understand and satisfy the limits of each translation engines we use. قمنا به على نطاق واسع التجارب على فهم وتلبية حدود كل محركات الترجمة التي نستخدمها. We also provide automatic failover support so if one engine fails we move over transparently to another and so on till we are able to satisfy the request or run out of engines (rarely). كما نقدم الدعم التلقائي Failover حتى اذا كان محرك واحد لا اكثر شفافية ونحن نتحرك الى اخر وذلك حتى نتمكن من تلبية الطلب أو نفاد محركات (نادرا). We have as much provided 4 translation engines for redundancy. لقد قدر بتوفير 4 التكرار لمحركات الترجمة. It is possible that they may change their limits down the road which is why we have made the engine very much configurable from the options panel. ومن المحتمل ان يقوموا يجوز تغيير حدود اسفل هذا الطريق هو السبب الذي جعلنا المحرك الى حد كبير من الخيارات للتهيئة الفريق.

Intelligent caching makes caching more relevant and effective. ذكي التخزين المؤقت يجعل من التخزين المؤقت لاكثر اهمية وفعالية. In WordPress the traditional model of caching is as used in wp-cache 2 plugin. WordPress في النموذج التقليدي للالتخزين المؤقت هو كما هو مستخدم في رزمه العمل - مخبأ 2 البرنامج المساعد. It invalidates the cache on first sign of change and creates it from scratch again. انه يبطل أول علامة على مخبأ للتغيير وأنه يخلق من نقطة الصفر مرة اخرى. It is very inefficient and ineffective for sites with frequent changes and /or frequent comments. ومن للغاية وغير فعالة وغير فعالة للمواقع مع كثرة التغييرات و / او التعليقات المتكررة. Each new post / updated post / new comment / updated comment etc. will invalidate the cache and start all over again. كل وظيفة جديدة / تحديث وظيفة / تعليق جديد / تحديث التعليق الخ سوف تلغى جميع مخبأ والبدء من جديد. It is surely an overkill. ومن المؤكد ان وجود الاسراف. Most of the posts do not change at all when a new post is created or even modified. أغلب الوظائف التي لا تتغير على الاطلاق عندما يتم انشاء وظيفة جديدة او حتى تعديلها. We developed various ways for optimizing this scenario. ونحن بطرق مختلفة وضعت لتحقيق الأداء الامثل لهذا السيناريو. The primary objective is to ensure that translated pages are available for all requested content, either by translation (see availability issue above) or from cache, even if the translated page is not always from the latest revision. والهدف الرئيسي هو ضمان ان تترجم صفحات متاحة للجميع وطلب المحتوى ، سواء عن طريق الترجمة (انظر مسألة توافر اعلاه) او من ذاكرة التخزين المؤقت ، حتى لو كانت الصفحه المترجمه ليست دائما من التنقيح الاخير. Certain pages like index pages are prioritized for faster refresh. بعض الصفحات مثل الرقم القياسي للصفحات الاولوية لتحديث اسرع. The cache is continuously refreshed in the background. الذاكرة المخباه مجدد باستمرار في الخلفية. Our intelligent caching engine achieves over 90% cache hits on average as you can see from the sidebar of this blog. ونحن التخزين المؤقت لمحرك ذكي يحقق اكثر من 90 ٪ في المتوسط يصل إلى مخبأ كما ترون من هذا الشريط الجانبي للبلوق. There are other technologies in place to ensure higher priority is given for humans than for robots / spiders etc. وهناك غيرها من التكنولوجيات القائمة لضمان اعلى وتعطي الأولوية للانسان من لالروبوتات / العناكب الخ.

Manual Control is provided to individually delete the translated pages from cache or to delete the whole cache (not recommended). دليل الرقابة على حدة وتقدم الى حذف صفحة مترجمة من ذاكرة التخزين المؤقت او حذف كامل مخبأ (لم يوص).

The cached pages are compressed in database to minimize space requirements. الصفحات المخزنه في قاعدة بيانات مضغوط للتقليل الى أدنى حد الفضاء الاحتياجات. However since you will have a maximum of 14 times (you can reduce the number by reducing the number of translations you provide) the amount of content, compressed for space reduction, as the original number of pages you need to have space allocated for the database to hold it. ولكن بما انك سوف يكون لها الحد الاقصى من 14 مرة (يمكنك تقليل عدد من خلال خفض عدد الترجمات التي تقدمها) من المبلغ المضمون ، مضغوط للحد من الفضاء ، حيث إن العدد الأصلي للصفحات تحتاج ان يكون لديك المساحه المخصصه لقاعدة البيانات لاجراء ذلك. If you have limited space for the database then you should either switch hosting provider (I recommend اذا كان لديك الحيز المحدود لقاعدة بيانات فعليك اما التبديل استضافه مقدم (اوصى WestHost Westhost ) or you should reduce the number of translations your provide. (او يجب ان خفض عدد من توفير الترجمات الخاصة بك.