Conversation
Avis
-
Statut de Guillaume (postblue@herds.eu) sur Saturday, 14-Jul-2018 12:53:19 CEST
Guillaume
Avis au !troupeau, j'ai activé le plugin expériemental de @chimo ajoutant un cache #Redis à notre instance !gnusocial. N'hésitez pas à me rapporter le moindre bug que cela pourrait occasionner. - piks3l 🏳️🌈🏴☠️ a repris ceci.
-
Statut de Guillaume (postblue@herds.eu) sur Saturday, 14-Jul-2018 13:00:02 CEST
Guillaume
Par contre @chimo, est-il possible d'utiliser une connexion socket plutôt que tcp? -
Statut de aeris 🏳️🌈 (aeris@social.imirhil.fr) sur Saturday, 14-Jul-2018 13:03:21 CEST
aeris 🏳️🌈
@postblue @chimo Ben une connexion TCP, c’est un socket hein… 🤔
-
Statut de Guillaume (postblue@herds.eu) sur Saturday, 14-Jul-2018 13:42:20 CEST
Guillaume
@aeris Ma question c'est comment écrire $config['rediscache']['connection'] = [ 'tcp://127.0.0.1:6379' ]; si je voudrais plutôt me connecter à /var/run/redis/redis.sock @chimo -
Statut de aeris 🏳️🌈 (aeris@social.imirhil.fr) sur Saturday, 14-Jul-2018 14:11:21 CEST
aeris 🏳️🌈
-
Statut de aeris 🏳️🌈 (aeris@social.imirhil.fr) sur Saturday, 14-Jul-2018 14:11:43 CEST
aeris 🏳️🌈
@postblue @chimo Ou peut-être directement le fichier, sans scheme devant.
-
Statut de Guillaume (postblue@herds.eu) sur Saturday, 14-Jul-2018 14:17:02 CEST
Guillaume
@chimo I have this issue with !qvitter, https://herds.eu/postblue/all displayed notice when I surf around is the first one I ever loaded with the plugin enabled https://code.chromic.org/chimo/gs-rediscache/issues/1 -
Statut de Guillaume (postblue@herds.eu) sur Saturday, 14-Jul-2018 14:23:18 CEST
Guillaume
@chimo (Disabling RedisCache for now as it's quite frustrating) -
Statut de Chimo (chimo@sn.chromic.org) sur Saturday, 14-Jul-2018 14:27:29 CEST
Chimo
@postblue Thanks for trying it out. I'll have a look at the socket option, and test it with qvitter as well, later this evening (I never tried it with qvitter before) -
Statut de Guillaume (postblue@herds.eu) sur Saturday, 14-Jul-2018 14:28:01 CEST
Guillaume
@chimo Thanks for providing support :) -
Statut de Guillaume (postblue@herds.eu) sur Saturday, 14-Jul-2018 14:29:08 CEST
Guillaume
@chimo Thinking of it, I remember when we used Memcache(d) we were also using InProcessCache https://git.gnu.io/gnu/gnu-social/tree/nightly/plugins/InProcessCache Is RedisCache compatible? -
Statut de Guillaume (postblue@herds.eu) sur Saturday, 14-Jul-2018 15:10:00 CEST
Guillaume
@chimo In fact, I'm getting the same error with the Memcached plugin with !qvitter -
Statut de Chimo (chimo@sn.chromic.org) sur Sunday, 15-Jul-2018 04:29:15 CEST
Chimo
@postblue Tu devrais pouvoir utiliser $config['rediscache']['connection'] = [ 'unix:/var/run/redis/redis.sock' ]; comme configuration -
Statut de Guillaume (postblue@herds.eu) sur Sunday, 15-Jul-2018 19:55:16 CEST
Guillaume
@chimo Yeah, thanks! -
Statut de Chimo (chimo@sn.chromic.org) sur Monday, 16-Jul-2018 23:21:26 CEST
Chimo
@postblue RedisCache should be compatible with InProcessCache, yes. BUT I think both InProcessCache and Memcache(d) are susceptible to the "frozen user timeline" bug. RedisCache by itself should behave properly (I'm still looking at the Qvitter aspect though). -
Statut de Chimo (chimo@sn.chromic.org) sur Monday, 16-Jul-2018 23:23:12 CEST
Chimo
@postblue speaking of which, I'm trying to reproduce the Qvitter+RedisCache behaviour you mentioned. Do you remember which timeline(s) were affected? -
Statut de Guillaume (postblue@herds.eu) sur Tuesday, 17-Jul-2018 10:53:55 CEST
Guillaume
@chimo OK, I will try it once again soon, I'm travelling for now and southern France seems to struggle to serve a decent connection. -
Statut de Guillaume (postblue@herds.eu) sur Tuesday, 17-Jul-2018 10:54:18 CEST
Guillaume
@chimo It was on instance.tld/user/all