• Resolved Castor

    (@castoruk)


    Hi

    Sorry if this has been covered before.

    Im using the plugin on a server which has Memcached enabled.

    When I use the setup wizard, and I often get different speeds on the Database and Object cache screens. Keep pressing the Test button comes back with different speeds each time. Sometimes disk and/or memcached quicker than None, sometimes they are not. Sometimes it’s just by a percentage of two, while other times it can be in the 10s or 20s.

    I’m aware the speeds won’t be exactly the same each time, but it varies so much.

    Is there a hard and fast rule when it comes to these settings? If Memcached is available should it always be enabled for DB and Object caching for instance?

    Thanka for any advice.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @castoruk

    Thank you for reaching out and I am happy to assist you with this.

    As a general rule, it’s not recommended to use DB caching and Object Caching to Disk.
    Disk-based caching is not that efficient. In other words, it’s recommended not to use database caching with it

    Moreover, using disk-database caching can make your site slower. This is so because getting data from the database can be faster than getting cached data from the disk.
    If you know that database is the bottleneck of your website performance, then Object Cache (like Database Cache) is beneficial to use. But in this case, it’s recommended to use Opcode, Memcached, or Redis options (Memcached in your case)

    I hope this helps!

    Thanks!


    Thread Starter Castor

    (@castoruk)

    Thanks for replying.

    I wasn’t thinking on using disk caching for these. My question was is there a reason why the memcached speed results could display as slower and faster randomly?

    And should I use memcached anyway, even if it shows slower?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @castoruk

    If the database is the bottleneck of your website performance you should use Memcached. Disk is never recommended. So the answer is yes, and the testing results may wary depending on the server resources and the resources allocated to memcached.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Setup Wizard – different results’ is closed to new replies.