TOPIC: memcache setup questions

memcache setup questions 28 Aug 2017 15:16 #2017

Hi
My server supports memcache(d),and I am going to enable it. I have below questions:

1. how much faster memcache(d) vs file cache?
2. Should I enable memcache in both joomla config system page and jotcache plugin?
3. joomla config system page, should I enable memcache(d) for Session Handler? What it improves?
4. When should I choose Persistent Memcache(d) VS non Persistent?
5. I am running shopping cart extension, if a product has 5 qty, and cached. then all sold out, will memcache wrongly still showing 5 qty?

www.screencast.com/t/GaMrLjBQQky
www.screencast.com/t/5BS3IpYNUwpI

Joomla version : 3.7
JotCache version : 6.0.2
site template:
system plugins :
The administrator has disabled public write access.

memcache setup questions 29 Aug 2017 09:05 #2018

#1 It depends on memcached server and its load. Generally is evaluated memcached connected with memcached.php faster as the cache file system. Do not use memcache.php - it is no more used as stable solution on live sites.

#2 Yes. These two functions are independent.

#3 Yes you can but time improvement is negligible.

#4 It depend on memcached server load. In most cases use persistent connection because it is faster.

#5 When you use memcached server outside JotCache then the page with cart shows wrong quatity (value cached before the change). In JotCache you must exclude cart modul from caching and cart modul have to be excluded from system cache when used (most cart modules have this behavior set inside the module).
The administrator has disabled public write access.

memcache setup questions 29 Aug 2017 10:17 #2019

thanks for the great feedback.

I just want to share one fact that I found:
Memcached as cache storage works on php7.
Memcached as session storage have problem, can not login backend. so don't use this.
The administrator has disabled public write access.
Time to create page: 0.237 seconds
We have 107 guests and no members online
Copyright © 2015 JotComponents
We have 107 guests and no members online
Copyright © 2017 JotComponents