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

Soloseng/add-combiner-db #10491

Closed
wants to merge 30 commits into from

Conversation

soloseng
Copy link
Contributor

@soloseng soloseng commented Aug 15, 2023

Description

Added a database to the combiner to keep a cache of the DEK issuers used to authenticate. This avoids a mandatory call to fullnode to get the DEK.

This implementation uses a SQL database to cache the user accounts, as cloud function are stateless, and there is no guarantee that the cached state will be shared across invocations. More on the topic here...

One alternative option would be to use MemoryStore/Redis to cache the account data.

Tested

Adapted integration test to use the DB

Related issues

alecps and others added 11 commits August 2, 2023 20:27
* bump firebase version

* format `minInstances` to number

* updated peer dependecy
* enable optional quota bypass during load test.

* moved log to better track failed signers

* increase the range test sessionID
* add option to use DEK in loadtest

* Added monitoring counter for AuthenticationMethod

* randomized phonenumber to avoid replay attempts
@soloseng soloseng marked this pull request as ready for review August 18, 2023 14:44
@soloseng soloseng requested review from a team August 18, 2023 14:44
@soloseng soloseng self-assigned this Aug 18, 2023
@soloseng soloseng requested a review from alecps August 18, 2023 14:44
@soloseng soloseng requested review from a team as code owners August 25, 2023 21:12
@soloseng soloseng requested a review from a team August 25, 2023 21:12
@soloseng soloseng requested a review from a team as a code owner August 25, 2023 21:12
@soloseng soloseng changed the base branch from master to alecps/odisRelease3.0.0 August 29, 2023 15:39
@soloseng
Copy link
Contributor Author

closing in favor of #10511 that includes mem Cache

@soloseng soloseng closed this Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Combiner DEK Cache
2 participants