Support Forum
Hi guys,
I am thinking on starting to use Redis on my webhost server to boost the wordpress performance. However after reading about Redis i am not sure if Simple:Press forum will continue to work or not.
I am not a native english speaker, so if you could read the text below about Redis and tell me what you think, it would be greatly appricated.
Thanks in advance!
Thomas
What is Redis?
Redis is an open-source advanced key-value cache and store. It is usually referred as a data structure server and it is know for its outstanding performance as it works with in-memory dataset.
How does the caching work?
Every time a WordPress page is accessed a query is executed towards the WordPress database to fetch the content of the page. By implementing a Redis caching, the results of the query will be stored into the memory block managed by Redis.
Upon future requests of the same page the information will be retrieved from the Redis cache eliminating the need to execute the MySQL query. This can be very beneficial even if you have just a few visitors as on your website as retrieving the data directly from the memory via the Redis can reduce the page load time in half.
Still, this solution is most beneficial for WordPress websites with a large number of simultaneous requests as reducing the number of simultaneous queries to your website database greatly improves the performance, eliminates MySQL bottleneck and provides better utilization of the server resources so you can handle more traffic, faster and cheaper eliminating the need of a more powerful hardware.
Additionally, caching with Redis eliminates the need to manually flush the cache when new content is published. If a page is edited or a new content is posted on your website, the Redis cache for that content will be invalidated to avoid dirty cache and will be updated after the next page load.
The problem with any caching of this type (which includes plugins like 'W3 Total Cache' and 'WP Super Cache') is that they are excellent when dealing with static data. So WordPress blog posts, pages etc., - that do not change - but are unable to handle dynamic data. And all forums are, by their nature, dynamic.
The cache plugin will see the forum page as a single, WordPress page object and save it for re-display at the next request. But the forum page is constantly changing as new topics and posts are added. It has an infinite number of different views as Simple:Press also serves individual data to each user (i.e., their unread post list). It is about as dynamic and constantly changing as it can get.
The two plugins mentioned above both have the ability to exclude specific WP pages which they will then never cache. If Redis has this ability (based on a url component) then there is no reason not to use it for the rest of your static website data.
YELLOW
SWORDFISH
|
1 Guest(s)