If this is your first visit, check our documentation. To post, register or login.
Forums / Code Collaboration / Adding Redis object cache to ZC for improved performance

Adding Redis object cache to ZC for improved performance

Started by oopsibrickedit on 5 Sep 2019, 10:08 PM · Views: 8,193

Results 1 to 4 of 4
5 Sep 2019, 10:08 PM
#1
oopsibrickedit avatar

oopsibrickedit

Zen Follower

Join Date:
Mar 2012
Posts:
132
Plugin Contributions:
0

Adding Redis object cache to ZC for improved performance

ZC 1.5.6 Php 7.0, Nginx, MariaDb 10.x]

Hi folks,

We are going to need every bit of speed we can get. We aim to Large shop with over 250K products. Fortunately the public site is possible to make fast enough with numinix disk cache and mariadb query cache but the real problem is how to make the admin interface usable. Currently I have on my testsite about 240K products and categorylisting for example takes 25 seconds to load which is way too slow for updaters.

My idea is to incorporate Redis object cache to Zencart.

Wordpress all ready has a ready made plugin for that: https://wordpress.org/plugins/redis-cache/

Do you think this would be a feasible idea and how much work would be needed to port this plugin to zencart?

6 Sep 2019, 12:06 AM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Adding Redis object cache to ZC for improved performance

What is you're breakdown of categories and product within categories? I've heard of stores having that many product and not having that much lag time and not so sure that they've needed so many caching utilities.

Also, what steps have been taken to speed up the cart as recommended in the FAQ?

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

6 Sep 2019, 1:36 AM
#3
oopsibrickedit avatar

oopsibrickedit

Zen Follower

Join Date:
Mar 2012
Posts:
132
Plugin Contributions:
0

Re: Adding Redis object cache to ZC for improved performance

Hi,

perhaps I was bit unclear. The admin side product category listing is very slow, the public site is very much faster. I have disabled admin&public side category counts.

9 Sep 2019, 9:34 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Adding Redis object cache to ZC for improved performance

Again, is it 240K products in just one category? What's the arrangement between prods/cats? Is the "product category listing" slowdown just in drawing the list? Is it the list of categories? or the list of products within a category?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.