Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reset RequestCache between message processing #235

Closed
2 tasks done
robrap opened this issue Jun 12, 2023 · 0 comments
Closed
2 tasks done

Reset RequestCache between message processing #235

robrap opened this issue Jun 12, 2023 · 0 comments
Assignees
Labels
event-bus Work related to the Event Bus.

Comments

@robrap
Copy link
Contributor

robrap commented Jun 12, 2023

A/C:

Notes:

The RequestCache should be cleared between processing of each message to treat message processing like a request. In case any code is shared between message processing and the service itself, the RequestCache should have a common interpretation. Basically, we will be replacing this call that is currently in the RequestCacheMiddleware.

Note that for now the only cache between messages would be the shared Django cache (e.g. Memcached). We do not support a consumer level cache, and will leave that for when and if it becomes a priority.

@robrap robrap added the event-bus Work related to the Event Bus. label Jun 12, 2023
@robrap robrap added this to Arch-BOM Jun 12, 2023
@jmbowman jmbowman moved this to Prioritized in Arch-BOM Jun 15, 2023
@rgraber rgraber moved this from Prioritized to Groomed in Arch-BOM Jul 13, 2023
@timmc-edx timmc-edx self-assigned this Sep 20, 2023
@timmc-edx timmc-edx moved this from Groomed to In Progress in Arch-BOM Sep 20, 2023
timmc-edx added a commit to openedx/event-bus-kafka that referenced this issue Sep 20, 2023
This is a just-in-case measure -- we don't know of any specific code that
handles events and relies on the cache. But it's likely to come up at some
point.

Ticket: openedx/openedx-events#235
timmc-edx added a commit to openedx/event-bus-kafka that referenced this issue Sep 21, 2023
This is a just-in-case measure -- we don't know of any specific code that
handles events and relies on the cache. But it's likely to come up at some
point.

Ticket: openedx/openedx-events#235
@github-project-automation github-project-automation bot moved this from In Progress to Done in Arch-BOM Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
event-bus Work related to the Event Bus.
Projects
None yet
Development

No branches or pull requests

2 participants