Wir haben die offizielle Docker-Image-Installation von Discourse in unserer AWS EC2. Was ist die Verwendung von Redis hier? Welche Art von Details speichert Redis?
Bitte helfen Sie uns bei unserer Anfrage bezüglich Redis.
Bestes Thema, das ich zu diesem Thema finden kann:
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 „Gefällt mir“