Open robrap opened 1 year ago
Questions:
This is mostly a duplicate of the new issue in edx-platform: https://github.com/openedx/edx-platform/issues/32984
However, this ticket could address 2U specific issues, like Memcached vs Redis, or other environment specific questions.
Update:
On May 29, 2024, the question arose about flushing parts of a cache, and it was determined that memcached only has flush_all
. Another reason to switch to Redis.
At this time, when we lose our caches in Production (outage or restart), we lose all user sessions and everyone is logged out. This is probably a frustrating experience for users, and also hammers our servers with logins until the event is over.
There are a number of ways this might be solved.
For more details on using a db-backed cache: See Using database-backed sessions and see cached_db details in Using cached sessions.
Regarding timing: