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

Database caching #4

Open
t-persson opened this issue Aug 31, 2021 · 0 comments
Open

Database caching #4

t-persson opened this issue Aug 31, 2021 · 0 comments

Comments

@t-persson
Copy link
Collaborator

Description

I would like to see some database caching so that events that are requested multiple times return faster and we don't hammer MongoDB as much.

Motivation

Faster lookups and a more efficient service.

Exemplification

Multiple users are interested in a specific Artifact event, instead of looking for that event in all collections for each user, it can be looked up once and returned to every user.

Benefits

Gotta go fast

Possible Drawbacks

The problem with caches is if the data goes stale, but since Eiffel does not allow modification of sent events this should never be a problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant