Title: Performance Issues
Last modified: July 28, 2023

---

# Performance Issues

 *  [LWD](https://wordpress.org/support/users/kieranbarnes/)
 * (@kieranbarnes)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/performance-issues-52/)
 * We’ve got an interesting performance issue with one customer’s store.
 * With Redis enabled, it adds around 20 seconds per page load. This is confirmed
   in New Relic. Disabling the object cache, page time reduces.
 * The Redis database is only 20Mb-ish when warm. The site is quite large, 100,000
   users, 7,000 products, 159,000 orders. (8,800,000 rows in postmeta)
 * We have another similar site on the same server (different Redis DB) and that’s
   perfect.
 * I can’t spot anything obvious that would cause Redis to behave poorly on this
   site only.
 * Any suggestions?
 * ![](https://wordpress.org/70d25770-d50b-49e2-8f8f-8df975b925d6)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [LWD](https://wordpress.org/support/users/kieranbarnes/)
 * (@kieranbarnes)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/performance-issues-52/#post-16929627)
 * ![](https://i0.wp.com/i.imgur.com/GUFh832.png?ssl=1)
 * New Relic screenshot (Orange is the Redis time, blue is the PHP time)
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/performance-issues-52/#post-16931280)
 * Can you post the breakdown of Redis commands per page load from New Relic? I’d
   like to see which commands are called, how often and how long they take.
 *  Thread Starter [LWD](https://wordpress.org/support/users/kieranbarnes/)
 * (@kieranbarnes)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/performance-issues-52/#post-16932413)
 * ![](https://i0.wp.com/i.imgur.com/CasUEyS.png?ssl=1)
 * Is this any use Till?
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/performance-issues-52/#post-16936138)
 * It somewhat is. 93% of your Redis operations are writes, which is bad. Typically
   you’d see less than 1% of the page load being writes to Redis.
 * You gotta trace what keys are being written, I think New Relic will show you 
   that too. Feel free to post more screenshots after drilling down.
 *  Thread Starter [LWD](https://wordpress.org/support/users/kieranbarnes/)
 * (@kieranbarnes)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/performance-issues-52/#post-17185689)
 * Apologises for the delay here, just coming back round to this issue. With Redis
   disabled on this site, I don’t see many MySQL writes
 * ![](https://i0.wp.com/i.imgur.com/XHwesg2.png?ssl=1)
 *     ```wp-block-code
       /* LWD CUSTOM REDIS */
       define( 'WP_REDIS_HOST', '127.0.0.1' );
       define( 'WP_REDIS_PORT', 6379 );
       define( 'WP_REDIS_DATABASE', 1 );
       define( 'WP_REDIS_TIMEOUT', 1 );
       define( 'WP_REDIS_READ_TIMEOUT', 1 );
       define( 'WP_REDIS_DISABLE_BANNERS', true );
       define( 'WP_REDIS_PREFIX', 'zzz_');
       ```
   
 * The client has an almost identical site that works perfectly.
 * I don’t see what would cause so many writes when the plugin is enabled.
 * Anything that could be wrong in the redis.conf?
 * PS: The client would be happy to pay for your time assisting on this. Let me 
   know if you’re able to do this
 *  Plugin Support [Julie](https://wordpress.org/support/users/julieadrienne/)
 * (@julieadrienne)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/performance-issues-52/#post-17185919)
 * Hey Kieran! When you say almost identical site, can you list the plugins that
   are present on the worse performing site, that aren’t active on the well performing
   one?

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Performance Issues’ is closed to new replies.

 * ![](https://ps.w.org/redis-cache/assets/icon-256x256.gif?rev=2568513)
 * [Redis Object Cache](https://wordpress.org/plugins/redis-cache/)
 * [Support Threads](https://wordpress.org/support/plugin/redis-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/redis-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redis-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redis-cache/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Julie](https://wordpress.org/support/users/julieadrienne/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/performance-issues-52/#post-17185919)
 * Status: not resolved