How Translator Plugin Pro Improves Performance By Dual Caching

By Angsuman Chakraborty, Gaea News Network
Monday, January 1, 2007

Translator plugin Pro uses dual caching to speed up your access time. The first level cache doesn’t use the WordPress object cache and will improve your performance even with standard caching disabled. It simply caches frequently used data.

The second level cache uses WordPress Object cache which allows us to serve your translated pages much faster because here we cache the entire translated page. The first level cache works independently of second level cache. Both caches can be used in conjunction with external optimization schemes involving caching or compression.

We had reports on performance of WordPress object cache in one or two sites running Linux. So we did extensive testing with the WordPress object cache pn Linux to identify performance bottlenecks, if any. We couldn’t find any inherent problem.

We found that it can cause performance penalty only when the available memory is low and too many Apache processes are allowed. With caching enabled each Apache process (or Thread), serving a WordPress page request, caches at most 125 php objects (we only contribute one of them) which can increase memory consumption. With too many simultaneous access they can add up to memory requirements on the server.
As a result kswapd (swap manager) comes into play and at high loads it tends to swap too often and ends up consuming most of the CPU cycles itself instead of allowing actual processing.
So if you are on a low end machine with low RAM or if you are sharing the machine with lots of other users then you can experience performance issues. However you can easily solve it by either increasing the memory or reducing the maximum number of Apache processes you serve.

In our tests I could repeatedly run 50 simultaneous full site crawl on a big website with over 20, 000 pages (copy of my Simple Thoughts blog and all the translated versions) without delay (using wget in recursive mode) with only 512 MB RAM without breaking a sweat in low end Intel Pentium (1.8 Ghz) running Fedora Core 4. I was using the Translator plugin in cache mode. The pages were not cached when we started. If that is not good performance I don’t know what is.

Note: Angsuman’s Translator Plugin Pro Version provides automatic machine translation of your blog in thirteen different languages. It is search engine optimized, supports WordPress widgets, uses nice permalinks, super-fast (cacheable), scalable and lots more. Read more about its features, customer testimonials and more here.

January 17, 2007: 11:23 am

[...] Translator Plugin Pro 4.0 achieved enviable benchmark results in performance tests with average response time of 151 milliseconds serving 5 concurrent users, serving 759 KB/sec. This proves the value of Translator Plugin Pro’s dual-caching technology. Read the details of Translator Plugin Pro’s performance test here. [...]

will not be displayed