Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
sychn Posted June 27, 2016 Posted June 27, 2016 Hi, Does anyone know which caching method is better? apc memcached redis wincache xcache ps: my site is running on win2k8 r2 + iis7.5 + php Thanks!
tjk Posted July 10, 2016 Posted July 10, 2016 In general, redis is faster, as for IPB? I have no clue, have asked, no one has given details other than just saying memcached. Anyone know a way to test redis vs memcached on IPB? I'd be happy to test both of them if someone can point out a good testing example.
ASTRAPI Posted July 10, 2016 Posted July 10, 2016 I had my own benchmark that i did and decide to go with Memcached but i am not sure that i keep that. But the truth is that for some platforms Redis may work better than Memcached but not for IPB....at least for my tests Don't forget about security also http://news.softpedia.com/news/over-6-000-redis-database-servers-ready-for-the-taking-506056.shtml You ca try both of them and see what works better for you.
tjk Posted July 10, 2016 Posted July 10, 2016 34 minutes ago, ASTRAPI said: I had my own benchmark that i did and decide to go with Memcached but i am not sure that i keep that. Too bad, I would have loved to duplicate your testing and see how they compared. 35 minutes ago, ASTRAPI said: Don't forget about security also http://news.softpedia.com/news/over-6-000-redis-database-servers-ready-for-the-taking-506056.shtml In all fairness, that's a user error, you should bind it to the loopback, or if you are doing clustered, firewall off stuff. Same with memcached. bind 127.0.0.1 is your friend in redis.conf. I use redis for php session caching, and memcached for IPB db caching.
AlexJ Posted July 10, 2016 Posted July 10, 2016 I use Xcache and it works fine. I don't have multi server set up. For caching on single machine, is xcache slower then memcache?
m@t Posted July 18, 2016 Posted July 18, 2016 On 10.7.2016 at 7:09 AM, tjk said: In all fairness, that's a user error, you should bind it to the loopback, or if you are doing clustered, firewall off stuff. Same with memcached. bind 127.0.0.1 is your friend in redis.conf. I use redis for php session caching, and memcached for IPB db caching. how you use with IPS redis for session caching and memcached for DB ? how you set this ? in ACP you can only use one for the DB - or i have not seen it where to have something for session caching ? Thanks in advance
m@t Posted July 27, 2016 Posted July 27, 2016 Can anybody help here how to config this: redis for php session caching, and memcached for IPB db caching Thanks
ASTRAPI Posted July 27, 2016 Posted July 27, 2016 I don't use Redis but you can do both with Memcached
m@t Posted July 27, 2016 Posted July 27, 2016 1 hour ago, ASTRAPI said: I don't use Redis but you can do both with Memcached i have at the moment memcached in use - but maybe redis brings some more performance (sometimes it helps to use two systems) ? as @tjk has written that he splitted this - maybe he can tell me how he has done and what is his experience
ASTRAPI Posted July 27, 2016 Posted July 27, 2016 Most users prefer to use Memcached than Redis but it's ok you can try it with both systems if you want... In any case the speed improvement can't be big between them at least according to my benchmarks. But if you don't have very high traffic forum you will not notice any speed improvements from passing php sessions from Memcached to Redis and the opposite
m@t Posted July 28, 2016 Posted July 28, 2016 @ASTRAPI thanks for your feedback - i never used redis before, it is a new system for me - i had at php5.x always apc but this does not work anymore at php7, i don't get it working - now i have memcached - i have at owncloud for example a split with two cacher and it works better - but maybe at IPS it is other - i don't know, but i don't know how to set the config to get a split for one system for php session caching, and the other for db caching at IPS4 ... i think in most situation the improvment is not really much - i get a big speed boost with php7, that was great all other is cosmetically
Recommended Posts
Archived
This topic is now archived and is closed to further replies.