Nous avons une installation officielle de l’image Docker Discourse sur notre AWS EC2. Quelle est l’utilisation de Redis ici ? Quel type de détails Redis stocke-t-il ?
Veuillez nous aider dans notre requête concernant Redis.
Meilleur sujet que je puisse trouver sur ce sujet :
This is the main thing here. The most aggressive cache happens for anonymous requests, so I’d suggest retrying the load test with some anon robots.
There are a handful of grepable methods, like Discourse.cache.fetch and DistributedCache.new.
We do cache some infrequent config blobs, but the approach to topics is mostly caching the whole response for the anons, allowing the app to craft a response while barely touching the DB.
Redis is heavily used for Sidekiq and MessageBus.
1 « J'aime »