• Resolved banacan99

    (@banacan99)


    When I run the setup guide and test Object Cache, memcached is the slowest option at 4.06 ms (+177.59%) vs. None at 1.46 ms. Isn’t that the whole purpose of memcached, to cache persistent objects? Why is it so much slower than none? What do I need to do to improve this?

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

    (@vmarko)

    Hello @banacan99

    Thank you for reaching out.
    As you can see from the information you provided, with no caching the response time is 1.46 ms (millisecond)which is 0.00146 s (second)

    It’s very hard to improve this. A millisecond is?one-thousandth of a second.

    This just means that in your case, fetching objects from db is much faster than caching them and fetching them from the cache.
    4.06ms is still 0.00406 s
    In cases such as this, there is no need to cache objects. it can be beneficial to use if you are on a VPS or dedicated server, get a lot of traffic, and have a lot of comments. Also, if you know that the database is the bottleneck of your website performance, then an Object Cache is beneficial to use.?

    I hope this explains this and please note that you may want to revisit this later if the website is new and does not have a lot of traffic at the moment.

    I hope this helps!

    Thanks!

    Thread Starter banacan99

    (@banacan99)

    Thank you Marko. This is helpful.

    Currently the site is on a staging server, so it’s not getting the traffic it will when launched. I’m inclined to leave object cache as memcached since, as you point out, it’s still incredibly fast, and will likely perform better once the site is live. Since I’m concerned about too many DB hits, this would be a better choice, too.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @banacan99

    You are most welcome!

    We would really appreciate it if you could take a minute and post a review here. This will help us to continue offering a top-notch product to users.
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Object Cache Test shows memcached +177%’ is closed to new replies.