• Resolved Imageyapredko

    (@yapredko)


    Hello!

    I read all these positive reviews and decided to try it on my store with 20,000 products in 2 languages. Before that, I was using Redis and the cache was up to 900 MB. Since the plugin defaults to 16 MB, how much should I set as a maximum for higher efficiency? Is it possible to adjust additional settings in the wp-config like in Redis? We often import goods and update prices, will it affect this?
    P.S. off-topic) I also have a question about your plugin – Index WP MySQL For Speed. We use a similar paid plugin – Scalability Pro. It seems to me, but it’s not for sure, that it does the same thing but for money)) Since we are now optimizing the budget – could you help with information for this plugin for the acceleration functions of the Database.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author ImageOllieJones

    (@olliejones)

    Try giving this plugin 512Mib. Let it run for a couple of days and look at the statistics to see how much space it actually uses. (Please let me know!)

    By default on Ubuntu, Redis isn’t configured with any limit on RAM size or any cache eviction policy. So that 900 MiB size could include a lot of stale entries (depending on how you have configured it).

    This cache’s eviction policy for old entries is least-recently-updated. I can’t use a least-recently-used policy because I would have to write to the cache every time an entry was used, and that would kill performance.

    If you use the APCu accelerator, it may make sense to set php’s apc.shmem_size parameter to something like 256M .

    Thread Starter Imageyapredko

    (@yapredko)

    Thanks for your answer! I have next statistics: https://prnt.sc/XJEaPkG3-MJg https://prnt.sc/Gp0fnKL9WhV1

    I set cache size to 600mb

    Plugin Author ImageOllieJones

    (@olliejones)

    Thanks for this! It looks like things are functioning correctly for you.

    Thread Starter Imageyapredko

    (@yapredko)

    thanks for great work! Can u answer about scalability?

    Plugin Author ImageOllieJones

    (@olliejones)

    Thread Starter Imageyapredko

    (@yapredko)

    to continue the conversation: I have the following parameters of my hosting – https://prnt.sc/VSnraU1G7UWK, maybe i can increase apc.shmem_size to 512 for better performance?)

    Plugin Author ImageOllieJones

    (@olliejones)

    According to that resource-use list you showed, you certainly have enough RAM to expand apc.shmem_size . So, go for it.

    But the gains will probably be small at this point. The APCu is a basically a cache of a cache. And it gets flushed whenever you use wp-cli, as explained in the FAQ. (The SQLite cache doesn’t get flushed in this situation, only the APCu.)

    I mention this because I hope you won’t be too disappointed.

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

The topic ‘Optimal Cached data size for Woo shop’ is closed to new replies.