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

Add cache in DoctrineOrmStorage #14

Closed
wants to merge 1 commit into from
Closed

Add cache in DoctrineOrmStorage #14

wants to merge 1 commit into from

Conversation

gaetan-petit
Copy link

Add cache to reduce queries made to DB when checking multiple times the same feature within the same process.

Fix #13

Add cache to reduce queries made to DB when checking multiple times the same feature within the same process.
@gaetan-petit
Copy link
Author

Hi @richardfullmer, I still think it's a nice addition.

I think it's normal tu assume that a feature flag won't flip within a single request.
Of course request to database are fast as lightining (0.5ms on our architecture) but there are many of them that can be spared (our application consume 50req/s to the rollout table).

What do you think?

@gaetan-petit gaetan-petit closed this by deleting the head repository Mar 7, 2024
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

Successfully merging this pull request may close these issues.

Caching doctrine storage
1 participant