Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
I need some advice
Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Mar 1, 2016 - 3:36 am

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.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 1, 2016 - 3:51 am

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.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Mar 3, 2016 - 7:56 am

Thanks for the reply Andy, much appricated.

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Mar 3, 2016 - 8:40 am

Glad we could help!

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620